Configuring The Aging Time For The Mac Table - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring the Aging Time for the MAC Table

You can also configure a static MAC address in interface configuration mode or VLAN configuration
Note
mode.
Procedure
Step 1
Step 2
Step 3
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 2/1
You can use the mac-address-table static command to assign a static MAC address to a virtual interface.
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) remain in the MAC table.
Note
You can also configure MAC aging time in interface configuration mode or VLAN configuration mode.
Procedure
Step 1
Step 2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
212
Command or Action
switch# configure terminal
switch(config-)# mac-address-table static
mac_address vlan vlan-id {drop | interface
{type slot/port} | port-channel number}
[auto-learn]
switch(config-)# no mac-address-table static
mac_address vlan vlan-id
Command or Action
switch# configure terminal
switch(config)# mac-address-table
aging-time seconds [vlan vlan_id]
Purpose
Enters configuration mode.
Specifies a static address to add to the MAC
address table.
If you enable the auto-learn option, the switch
will update the entry if the same MAC address
is seen on a different port.
(Optional)
Deletes the static entry from the MAC address
table.
Purpose
Enters configuration mode.
Specifies the time before an entry ages out and is discarded
from the MAC address table. The 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.
Configuring MAC Addresses
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents