121
CHAPTER 3
INTRODUCTION TO CLI
Negation:
(config)# no mac address-table static <v_mac_addr> vlan <v_vlan_id> interface ( <port_type>
[ <v_port_type_list> ] )
Show:
> show mac address-table [ conf | static | aging-time | { { learning | count } [ interface ( <port_type>
[ <v_port_type_list> ] ) ] } | { address <v_mac_addr> [ vlan <v_vlan_id> ] } | vlan <v_vlan_id_1> | interface
( <port_type> [ <v_port_type_list_1> ] ) ]
# show mac address-table [ conf | static | aging-time | { { learning | count } [ interface ( <port_type>
[ <v_port_type_list> ] ) ] } | { address <v_mac_addr> [ vlan <v_vlan_id> ] } | vlan <v_vlan_id_1> | interface
( <port_type> [ <v_port_type_list_1> ] ) ]
Clear:
# clear mac address-table
3.9.29.3 (config-if)# mac address-table learning
Syntax:
(config)# mac address-table learning [ secure ]
Explanation:
Set this interface to secure mode.
Parameters:
[ secure ]: Only static MAC entries listed in “Static MAC Table Configuration” are learned. Others will be dropped.
NOTE:
Make sure that the link used for managing the switch is added to the Static Mac Table before changing to
secure learning mode, otherwise the management link is lost and can only be restored by using another non-secure
port or by connecting to the switch via the serial interface.
Negation:
(config-if)# no mac address-table learning [ secure ]
Show:
> show mac address-table [ conf | static | aging-time | { { learning | count } [ interface ( <port_type>
[ <v_port_type_list> ] ) ] } | { address <v_mac_addr> [ vlan <v_vlan_id> ] } | vlan <v_vlan_id_1> | interface
( <port_type> [ <v_port_type_list_1> ] ) ]
# show mac address-table [ conf | static | aging-time | { { learning | count } [ interface ( <port_type>
[ <v_port_type_list> ] ) ] } | { address <v_mac_addr> [ vlan <v_vlan_id> ] } | vlan <v_vlan_id_1> | interface
( <port_type> [ <v_port_type_list_1> ] ) ]
Clear:
# clear mac address-table
3.9.30 (config-if)# media-type
Syntax:
(config-if)# media-type { rj45 | sfp | dual }
Explanation:
Configure the media type supported for this specific interface.
Parameters:
{ rj45 | sfp | dual }: The options are RJ-45, SFP, or dual (both RJ-45 & SFP are supported.).
Negation:
(config-if)# no media-type
3.9.31 (config-if)# mtu
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......