Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
This example shows how to set the aging time for entries in the MAC address table to 600 seconds (10 minutes):
switch# configure terminal
switch(config)# mac-address-table aging-time 600
Clearing Dynamic Addresses from the MAC Table
You can clear all dynamic entries in the MAC address table.
PurposeCommand
Clears the dynamic address entries from the MAC
address table.
switch(config)# clear mac-address-table dynamic
{address mac-addr} {interface [type slot/port |
port-channel number} {vlan vlan-id}
This example shows how to clear the dynamic entries in the MAC address table:
switch# clear mac-address-table dynamic
Verifying the MAC Address Configuration
To display MAC address configuration information, perform one of these tasks:
PurposeCommand
Displays the MAC address aging time for all VLANs
defined in the switch.
switch# show mac-address-table aging-time
Displays the contents of the MAC address table.switch# show mac-address-table
This example shows how to display the MAC address table:
switch# show mac-address-table
VLAN MAC Address Type Age Port
---------+-----------------+-------+---------+------------------------------
1 0018.b967.3cd0 dynamic 10 Eth1/3
1 001c.b05a.5380 dynamic 200 Eth1/3
Total MAC Addresses: 2
This example shows how to display the current aging time:
switch# show mac-address-table aging-time
Vlan Aging Time
----- ----------
1 300
13 300
42 300
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 213
Verifying the MAC Address Configuration
Clearing Dynamic Addresses from the MAC Table