Cisco Systems N3KC3064TFAL3 Manual De Usuario

Descargar
Página de 164
Purpose
Command or Action
The seconds 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.
This example shows how to set the aging time for entries in the MAC address table to 1800 seconds (30
minutes):
switch#
configure terminal
switch(config) #
mac-address-table aging-time 1800
switch(config) #
Clearing Dynamic Addresses from the MAC Table
You can clear all dynamic entries in the MAC address table.
Purpose
Command
Clears the dynamic address entries from the MAC
address table.
switch(config)# clear mac-address-table dynamic
{address mac-addr} {interface [type slot/port |
port-channel number} {vlan vlan-id}
This example shows how to clear the dynamic entries in the MAC address table:
switch#
clear mac-address-table dynamic
Verifying the MAC Address Configuration
To display MAC address configuration information, perform one of these tasks:
Purpose
Command
Displays the MAC address aging time for all VLANs
defined in the switch.
switch# show mac-address-table aging-time
Displays the contents of the MAC address table.
switch# show mac-address-table
Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)    
   OL-26590-01
133
Configuring the MAC Address Table
Clearing Dynamic Addresses from the MAC Table