Configuration Guide Vol. 1


23.2.3 Configuring static entries

Because address learning is not performed for a specified MAC address, static entries can be registered to avoid flooding due to MAC address aging. When static entries are set, frames are always forwarded according to the registered entries. This functionality is useful for high-traffic terminals whose ports do not move, such as servers connected directly to the Switch.

A MAC address, VLAN, and output destination are specified for a static entry. The output destination can be specified as a port or channel group, or for discarding.

<Structure of this section>

(1) Static entry that specifies the port as the destination

Points to note

The example below shows how to specify a port as the output destination.

Command examples

  1. (config)# mac-address-table static 0012.e200.1122 vlan 10 interface gigabitethernet 1/0/1

    Sets the destination for frames for the destination MAC address 0012.e200.1122 to port 1/0/1 on VLAN 10.

Notes

On VLAN 10, any frames from source MAC address 0012.e200.1122 received by a means other than port 1/0/1 are discarded.

(2) Static entry that specifies link aggregation as the destination

Points to note

The example below shows how to specify a link aggregation as the output destination.

Command examples

  1. (config)# mac-address-table static 0012.e200.1122 vlan 10 interface port-channel 5

    Sets the output destination for frames for the destination MAC address 0012.e200.1122 to channel group 5 on VLAN 10.

Notes

On VLAN 10, any frames from source MAC address 0012.e200.1122 received by a means other than channel group 5 are discarded.

(3) Static entry specifying discard

Points to note

The example below shows how to specify a MAC address so that the frames sent to or from the MAC address are to be discarded.

Command examples

  1. (config)# mac-address-table static 0012.e200.1122 vlan 10 drop

    For VLAN 10, sets the MAC address 0012.e200.1122 so that the frames sent to or from the MAC address are to be discarded.