129
4.13.7 CLI Commands of the Monitor and Diag
Command Lines of the Monitor and Diag configuration
Feature
Command Line
MAC Address Table
Ageing Time
Switch(config)# mac-address-table aging-time 350
mac-address-table aging-time set ok!
Note: 350 is the new ageing timeout value.
Add Static Unicast MAC
address
Switch(config)# mac-address-table static 0012.7701.0101
vlan 1 interface fastethernet7
mac-address-table ucast static set ok!
Note: rule: mac-address-table static MAC_address VLAN
VID interface interface_name
Add Multicast MAC
address
Switch(config)# mac-address-table multicast 0100.5e01.0101
vlan 1 interface fa6-7
Adds an entry in the multicast table ok!
Note: rule: mac-address-table multicast MAC_address
VLAN VID interface_list interface_name/range
Show MAC Address
Table – All types
Switch# show mac-address-table
***** UNICAST MAC ADDRESS *****
Destination Address Address Type Vlan Destination Port
------------------- --------------- ------- ------------------------
000f.b079.ca3b Dynamic 1 fa4