API Guide

Supported
Releases
10.2.0E or later
Media Access Control
All Ethernet switching ports maintain media access control (MAC) address tables. Each physical device in your network contains
a MAC address. OS10 devices automatically enter learned MAC addresses as dynamic entries in the MAC address table.
Learned MAC address entries are subject to aging. Set the aging timer to zero (0) to disable MAC aging. For any dynamic entry,
if no packet arrives on the device with the MAC address as the source or destination address within the timer period, the
address is removed from the table.
Enter an aging time (in seconds) in CONFIGURATION mode, from 0 to 1000000, default 1800.
mac address-table aging-time seconds
Configure Aging Time
OS10(config)# mac address-table aging-time 900
Disable Aging Time
OS10(config)# mac address-table aging-time 0
Static MAC Address
You manually configure a static MAC address entry. A static entry is not subject to aging.
Create a static MAC address entry in the MAC address table in CONFIGURATION mode.
mac-address-table static nn:nn:nn:nn:nn vlan vlan-id interface [ethernet node/slot/
port[:subport] | port-channel channel-number]
NOTE:
Before using the mac-address-table static command, create the required VLANs. If you do not create a
VLAN before configuring a static MAC address entry, the system displays an error message.
Set Static MAC Address
OS10(config)# interface vlan 10
OS10(conf-if-vl-11)# exit
OS10(config)# mac address-table static 34:17:eb:f2:ab:c6 vlan 10 interface ethernet 1/1/5
MAC Address Table
OS10 maintains a list of MAC address table entries.
View the contents of the MAC address table in EXEC mode.
show mac address-table {dynamic | static} [address mac-address | vlan vlan-id |
interface {ethernet node/slot/port[:subport] | port-channel number}] [count [vlan
vlan-id] [interface {type node/slot/port[:subport] | port-channel number}]
dynamic (Optional) Displays dynamic MAC address table entry information.
static (Optional) Displays static MAC address table entry information.
address mac-address (Optional) Displays MAC address information.
interface ethernet node/slot/port[:subport] (Optional) Displays a list of dynamic and static MAC
address entries.
interface port-channel number (Optional) Displays port channel information, from 1 to 128.
462
Layer 2