115
CHAPTER 3
CLI CONFIGURATION
3.9.26 (config)# mac
3.9.26.1 (config)# mac address-table aging-time
Syntax:
(config)# mac address-table aging-time <v_0_10_to_1000000>
Explanation:
Configure the aging time for a learned MAC to be appeared in MAC learning table.
Parameters:
<v_0_10_to_1000000>:
Specify an aging time value for MAC address table. The valid values are from 10 to
1000000 (seconds). Using “0” to disable aging time function.
Example:
Set the aging time to 600 seconds.
Example:
Set the holdtime to 5.
Negation:
(config)# no mac address-table aging-time
(config)# no mac address-table aging-time <v_0_10_to_1000000>
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> ] ) ]
# show mac address-table aging-time
3.9.26.2 (config)# mac address-table static
Syntax:
(config)# mac address-table static <v_mac_addr> vlan <v_vlan_id> interface ( <port_type>
[ <v_port_type_list> ] )
Explanation:
Configure the static MAC address mapping table.
Parameters:
<v_mac_addr>: Specify MAC address in “xx:xx:xx:xx:xx:xx” format.
vlan <v_vlan_id>: Specify the VLAN ID for this entry.
interface ( <port_type> [ <v_port_type_list> ] ):
Specify the interface port type and the port number.
Example:
Add a static MAC address “11:11:22:22:33:33” to MAC address table.
Example:
Set the holdtime to 5.
Negation:
(config)# no mac address-table static <v_mac_addr> vlan <v_vlan_id> interface ( <port_type>
[ <v_port_type_list> ] )
# config t
(config)# mac address-table static 11:11:22:22:33:33 vlan 1 interface
GigabitEthernet 1/1-10
# config t
(config)# mac address-table aging-time 600
Summary of Contents for IFS-1604GSM Series
Page 385: ......