Verifying the MAC Address Configuration
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.
Command
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:
Command
switch# show mac-address-table aging-time
switch# show mac-address-table
This example shows how to display the MAC address table:
switch# show mac-address-table
VLAN
---------+-----------------+-------+---------+------------------------------
1
1
Total MAC Addresses: 2
This example shows how to display the current aging time:
switch# show mac-address-table aging-time
Vlan
----- ----------
1
13
42
OL-16597-01
MAC Address
Type
0018.b967.3cd0
dynamic 10
001c.b05a.5380
dynamic 200
Aging Time
300
300
300
Clearing Dynamic Addresses from the MAC Table
Purpose
Clears the dynamic address entries from the MAC
address table.
Purpose
Displays the MAC address aging time for all VLANs
defined in the switch.
Displays the contents of the MAC address table.
Age
Port
Eth1/3
Eth1/3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
213
Need help?
Do you have a question about the AP775A - Nexus Converged Network Switch 5010 and is the answer not in the manual?
Questions and answers