Command: mac-address-table

Home | Command modes | Alphabetical listing

mac-address-table

Configures the MAC address table.

Syntax

Default

None

Command mode

Global Configuration

Command parameters

ParameterDescription

<1-4094>

Specifies a VLAN ID.

<H.H.H>

Specifies the static MAC address to add or remove from the MAC address table.

aging-time <10-1000000>

Configures the time during which the switch retains unseen MAC addresses. The default is 300 seconds.

interface Ethernet <port>

Identifies the MAC address is on an Ethernet port.

interface mlt <1-64>

Identifies the MAC address is on an MLT trunk.

learning [<port>]

Enables or disables MAC address learning on all ports or specific ports. The default is enabled.

static

Adds or removes a static MAC address from the forwarding database table.