Clearing Dynamic Addresses From The Mac Table - Cisco Nexus 3000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for Nexus 3000 series:
Table of Contents

Advertisement

Configuring the MAC Address Table
If the Cisco Nexus 3000 switch is used as a Layer 2 or Layer 3 termination switch, Cisco recommends
Note
that you set the mac-address-table aging-time to 1800 (higher than the default ARP aging time of 1500
seconds) on all VLANs.
Cisco Nexus 3000 switch does not support per-VLAN cam aging timers.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# mac-address-table aging-time seconds [vlan vlan_id]
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# mac-address-table
aging-time seconds [vlan vlan_id]
This example shows how to set the aging time for entries in the MAC address table to 1800 seconds (30
minutes):
switch# configure terminal
switch(config) # mac-address-table aging-time 1800
switch(config) #

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
Purpose
Enters global configuration mode.
Specifies the time before an entry ages out and is discarded from the
MAC address table.
The seconds range is from 0 to 1000000. The default is 300 seconds.
Entering the value 0 disables the MAC aging. If a VLAN is not specified,
the aging specification applies to all VLANs.
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
Clearing Dynamic Addresses from the MAC Table
Purpose
Clears the dynamic address entries from the MAC
address table.
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents