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

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

Advertisement

Configuring the Aging Time for the MAC Table

Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
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 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 table, which contains the Layer 2 information.
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
12
Command or Action
config t
Example:
switch# config t
switch(config)#
interface [ethernet slot/port | ethernet
slot/port.number | port-channel number | vlan
vlan-id]
Example:
switch(config)# interface ethernet 7/3
mac-address mac-address
Example:
switch(config-if)# mac-address
22ab.47dd.ff89
switch(config-if)#
exit
Example:
switch(config-if)# exit
switch(config)#
show interface [ethernet slot/port | ethernet
slot/port.number | port-channel number | vlan
vlan-id]
Example:
switch# show interface ethernet 7/3
copy running-config startup-config
Example:
switch# copy running-config startup-config
Configuring Layer 2 Switching
Purpose
Enters configuration mode.
Specifies the Layer 3 interface and enters
the interface configuration mode.
You must create the Layer 3
Note
interface before you can assign the
static MAC address.
Specified a static MAC address to add to the
Layer 3 interface.
Exits the interface mode.
(Optional)
Displays information about the Layer 3
interface.
(Optional)
Copies the running configuration to the
startup configuration.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents