GSWB

CHAPTER 8 CLI Operations

zUp to 128 definitions can be registered. However, if the MAC address table has no free space because of dynamic learning, defining the maximum number (128) of static addresses may not be possible.

zNo MAC address can be set for a broadcast address or multicast address, and no ALL 0 MAC address or ALL F MAC address can be specified.

zStatic MAC address entries have priority over dynamic ones.

zIf the specified port-channel does not exist, no error occurs, but it is invalid. Each item is enabled when it is created.

(1)Synopsis

Adds a static address to the MAC address table

mac address-table static <mac-address> vlan <vlan-id> {forward interface <interface-id> discard}

• Deletes a static address from the MAC address table

no mac address-table static <mac-address> vlan <vlan-id>

(2) Options

z<mac-address>

Station MAC address. A MAC address for a broadcast address or multicast address, an ALL 0 MAC address, and an ALL F MAC address cannot be registered.

z<vlan-id>: Specifies the VLAN ID (1 to 4094) of the output port.

z{forward discard}

-forward: Transfers frames to their destinations.

-discard: Discards frames of the specified destination.

z<interface-id>: Specifies the output port number.

-GigabitEthernet 0/1 to 0/8

-IOU 00 to 71

-TenGigabitEthernet 1/1 to 1/2

-port-channels 1 to 7

-ports 1 to 33

(3)Command mode

Global

8-50

C122-E003-02EN