Configuring Mac Addresses; Configuring Static Mac Addresses; Configuring The Aging Time For The Mac Table - Cisco Nexus 6000 Series Configuration Manual

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

Advertisement

Configuring MAC Addresses

Configuring MAC Addresses

Configuring Static MAC Addresses

You can configure static MAC addresses for the switch. These addresses can be configured in interface
configuration mode or in VLAN configuration 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 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.
Procedure
Step 1
Step 2
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
112
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 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.
If this is a 10G breakout port, the slot/port
Note
syntax is QSFP-module/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

Advertisement

Table of Contents
loading

Table of Contents