2 mac address binding configuration task list – PLANET WGSW-52040 User Manual

Page 190

Advertising
background image

Most switches support MAC address learning, each port can dynamically learn several MAC

addresses, so that forwarding data streams between known MAC addresses within the ports

can be achieved. If a MAC address is aged, the packet destined for that entry will be

broadcasted. In other words, a MAC address learned in a port will be used for forwarding in

that port, if the connection is changed to another port, the switch will learn the MAC address

again to forward data in the new port.

However, in some cases, security or management policy may require MAC addresses to be

bound with the ports, only data stream from the binding MAC are allowed to be forwarded in

the ports. That is to say, after a MAC address is bound to a port, only the data stream destined

for that MAC address can flow in from the binding port, data stream destined for the other MAC

addresses that not bound to the port will not be allowed to pass through the port.

21.5.1.2 MAC Address Binding Configuration Task List

1. Enable MAC address binding function for the ports

2. Lock the MAC addresses for a port

3. MAC address binding property configuration

1. Enable MAC address binding function for the ports

Command Explanation

Port Mode

switchport port-security

no switchport port-security

Enable MAC address binding function for

the port and lock the port. When a port is

locked, the MAC address learning function

for the port will be disabled: the “no

switchport port-security command

disables the MAC address binding function

for the port, and restores the MAC address

learning function for the port.

2. Lock the MAC addresses for a port

Command Explanation

Port Mode

21-112

Advertising