Clearing Dynamic Addresses From The Mac Address Table; Verifying The Layer 2 Switching Configuration - Cisco Nexus 7000 Series Configuration Manual

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Clearing Dynamic Addresses from the MAC Address Table

Clearing Dynamic Addresses from the MAC Address Table
You can clear all dynamic Layer 2 entries in the MAC address table.
Before You Begin
Before you clear the dynamic MAC address table, ensure that you are in the correct VDC (or enter the switchto
vdc command).
SUMMARY STEPS
1. clear mac address-table dynamic {address mac_addr} {interface [ethernet slot/port | loopback
number | port-channel channel-number]} {vlan vlan_id}
2. (Optional) show mac address-table
DETAILED STEPS
Command or Action
Step 1
clear mac address-table dynamic {address mac_addr} {interface
[ethernet slot/port | loopback number | port-channel
channel-number]} {vlan vlan_id}
Example:
switch# clear mac address-table dynamic
Step 2
show mac address-table
Example:
switch# show mac address-table
This example shows how to clear the dynamic entries in the Layer 2 MAC address table:
switch# clear mac address-table dynamic
switch#

Verifying the Layer 2 Switching Configuration

To display Layer 2 switching configuration information, perform one of the following tasks:
Command
show mac address-table
show mac address-table aging-time
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
20
Configuring Layer 2 Switching
Purpose
Clears the dynamic address entries from the
MAC address table in Layer 2.
(Optional)
Displays the MAC address table.
Purpose
Displays information about the MAC address table.
Displays information about the aging time set for the
MAC address entries.

Advertisement

Table of Contents
loading

Table of Contents