Clearing Dynamic Addresses from the MAC Table
Alternatively, you can also use the show consistency-checker l2 {module_number} command to check
Note
the consistency of the MAC address table.
Example:
switch# show consistency-checker l2 module 1
switch#
Procedure
Step 1
This example shows how to display discrepant, missing, and extra entries in the MAC address tables between
the supervisor and the specified module:
switch# show forwarding consistency l2 7
switch#
Clearing Dynamic Addresses from the MAC Table
You can clear all dynamic Layer 2 entries in the MAC address table. (You can also clear entries by designated
interface or VLAN.)
Procedure
Step 1
Step 2
This example shows how to clear the dynamic entries in the Layer 2 MAC address table:
switch# clear mac address-table dynamic
switch#
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
14
Command or Action
show forwarding consistency l2
{module_number}
Example:
switch# show forwarding consistency l2 7
switch#
Command or Action
clear mac address-table dynamic {address
mac_addr} {interface [ethernet slot/port | port-channel
channel-number]} {vlan vlan_id}
Example:
switch# clear mac address-table dynamic
show mac address-table
Example:
switch# show mac address-table
Configuring Layer 2 Switching
Purpose
Displays the discrepant, missing, and extra MAC
addresses between the supervisor and the
specified module.
Purpose
Clears the dynamic address entries from
the MAC address table in Layer 2.
(Optional)
Displays the MAC address table.