Configuring The Aging Time For The Mac Table - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring the Aging Time for the MAC Table

SUMMARY STEPS
1. switch# configure terminal
2. switch(config) # mac-address-table static mac_address vlan vlan-id {drop | interface {type slot/port}
| port-channel number} [auto-learn]
3. (Optional) switch(config)# no mac address-table static mac_address vlan vlan-id
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config) # mac-address-table static
mac_address vlan vlan-id {drop | interface {type
slot/port} | port-channel number} [auto-learn]
Step 3
switch(config)# no mac address-table static
mac_address vlan vlan-id
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.
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]
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
244
Purpose
Enters global 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.
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.
Configuring MAC Address Tables
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents