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

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

Advertisement

Configuring Layer 2 Switching
This example shows how to configure the Layer 3 interface on slot 7, port 3 with a static MAC address:
switch# config t
switch(config)# interface ethernet 7/3
switch(config-if)# mac-address 22ab.47dd.ff89
switch(config-if)#

Configuring the Aging Time for the MAC Address Table

You can configure the amount of time that a MAC address entry (the packet source MAC address and port
on which that packet was learned) remains in the MAC address table, which contains the Layer 2 information.
Note
You can also configure the MAC aging time in interface configuration mode or VLAN configuration
mode.
Before You Begin
Before you configure the aging time for the MAC address table, ensure that you are in the correct VDC (or
enter the switchto vdc command).
SUMMARY STEPS
1. config t
2. mac address-table aging-time seconds [vlan vlan_id]
3. exit
4. (Optional) show mac address-table aging-time
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
mac address-table aging-time seconds [vlan vlan_id]
Example:
switch(config)# mac address-table aging-time
600
Step 3
exit
Example:
switch(config)# exit
switch#
Purpose
Enters global configuration mode.
Specifies the time before an entry ages out and is discarded
from the Layer 2 MAC address table. The range is from 120
to 918000; the default is 1800 seconds. Entering the value
0 disables the MAC aging.
Exits global configuration mode.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Configuring the Aging Time for the MAC Address Table
17

Advertisement

Table of Contents
loading

Table of Contents