Configuring The Aging Time For The Mac Table - Cisco Nexus 3000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring MAC Address Tables
This example shows how to put a static entry in the MAC address table:
switch# configure terminal
switch(config) # mac address-table static 12ab.47dd.ff89 vlan 3 interface ethernet 1/4
switch(config) #

Configuring the Aging Time for the MAC Table

You can configure the amount of time that an entry (the packet source MAC address and port that packet
ingresses) remains in the MAC table. MAC aging time can be configured in either interface configuration
mode or in VLAN configuration mode.
If the Cisco Nexus device is used as a Layer 2 or Layer 3 termination switch, Cisco recommends that you
Note
set the mac-address-table aging-time to 1800 (higher than the default ARP aging time of 1500 seconds)
on all VLANs.
The Cisco Nexus 3000 series switches do not support per-VLAN CAM aging timers.
Procedure
Step 1
Step 2
This example shows how to set the aging time for entries in the MAC address table to 300 seconds:
switch# configure terminal
switch(config) # mac-address-table aging-time 300
switch(config) # show mac address-table
Legend:
VLAN
OL-29545-03
Command or Action
Command or Action
switch# configure terminal
switch(config)#
mac-address-table
aging-time seconds
* - primary entry, G - Gateway MAC, (R) - Routed MAC, O - Overlay MAC
age - seconds since last seen,+ - primary entry using vPC Peer-Link,
(T) - True, (F) - False
MAC Address
Type
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
Configuring the Aging Time for the MAC Table
Purpose
Use the mac address-table static command to assign
a static MAC address to a virtual interface.
Purpose
Enters global configuration mode.
Specifies the time before an entry ages out and is discarded from
the MAC address table.
Starting with Release 7.0(3)I2(1), the aging of the
Note
mac-address is not incrementing in the output of the show
mac address-table CLI command. Therefore, the proper
age of the mac-address cannot be determined.
The seconds range is from 0 to 1000000. The default is 300 seconds
for Cisco NX-OS 5500 and 1800 for Cisco NX-OS 5600 and 6000
series. Entering the value 0 disables the MAC aging.
age
Secure NTFY Ports
129

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents