Clearing Dynamic Addresses From The Mac Table; Verifying The Mac Address Configuration - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 13
Configuring the MAC Address Table
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
To configure the aging time for all MAC addresses, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# mac-address-table
aging-time seconds [vlan vlan_id]
This example shows how to set the aging time for entries in the MAC address table to 600 seconds (10
minutes):
switch# configure terminal
switch(config)# mac-address-table aging-time 600

Clearing Dynamic Addresses from the MAC Table

You can clear all dynamic entries in the MAC address table.
To clear the MAC address table, perform this task:
Command
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:
Command
switch# show mac-address-table
aging-time
switch# show mac-address-table
This example shows how to display the MAC address table:
switch# show mac-address-table
VLAN
---------+-----------------+-------+---------+------------------------------
1
1
OL-16597-01
MAC Address
Type
0018.b967.3cd0
dynamic 10
001c.b05a.5380
dynamic 200
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.
Purpose
Clears the dynamic address entries from the MAC
address table.
Purpose
Displays the MAC address aging time for all VLANs
defined in the switch.
Displays the contents of the MAC address table.
Age
Port
Eth1/3
Eth1/3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Verifying the MAC Address Configuration
13-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents