Connectivity Guide

Table Of Contents
Command Mode CONFIGURATION
Usage Information Set the aging timer to zero (0) to disable MAC address aging for all dynamic entries. The aging time counts from
the last time that the device detected the MAC address.
Example
OS10(config)# mac address-table aging-time 3600
Supported Releases 10.2.0E or later
mac address-table static
Congures a static entry for the L2 MAC address table.
Syntax
mac address-table static mac-address vlan vlan-id interface {ethernet node/
slot/port[:subport] | port-channel number}
Parameters
mac-address — Enter the MAC address to add to the table in nn:nn:nn:nn:nn:nn format.
vlan vlan-id — Enter the VLAN to apply the static MAC address to, from 1 to 4093.
interface — Enter the interface type:
ethernet node/slot/port[:subport] — Enter the Ethernet information.
port-channel channel-number — Enter a port-channel interface number, from 1 to 128.
Default Not congured
Command Mode CONFIGURATION
Usage Information The no version of this command resets the value to the default.
Example (VLAN)
OS10(config)# mac address-table static 34:17:eb:f2:ab:c6 vlan 1 interface
ethernet 1/1/30
Example (Port-
Channel)
OS10(config)# mac address-table static 34:17:eb:02:8c:33 vlan 10 interface
port-channel 1
Supported Releases 10.2.0E or later
show mac address-table
Displays information about the MAC address table.
Syntax
show mac address-table [address mac-address | aging-time | [count [vlan vlan-
id] | dynamic | interface {ethernet node/slot/port[:subport] | port-channel
number}]| static [address mac-address] | vlan vlan-id
Parameters
address mac-address — (Optional) Displays MAC address table information.
aging-time — (Optional) Displays MAC address table aging-time information.
count — (Optional) Displays the number of dynamic and static MAC address entries.
dynamic — (Optional) Displays dynamic MAC address table entries only.
interface — Set the interface type:
ethernet node/slot/port[:subport] — Displays MAC address table information for a physical
interface.
Layer 2 217