116
CHAPTER 3
CLI CONFIGURATION
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.26.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.27 (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.28 (config-if)# mtu
Syntax:
(config-if)# mtu <max_length>
Explanation:
Configure the maximum transmission unit for this specific interface.
Summary of Contents for IFS-1604GSM Series
Page 385: ......