User's Manual
200
27.3.2 Configuring the Static MAC Address of the Secure Port
After you configure the static MAC address of the secure port, In accept mode, the flow whose source address
is same to the local MAC address can be received by the port for communication. In reject mode, the flow
whose source address is different to the local MAC address can be received by the port.
Run the following commands in EXEC modeto configure the static MAC address of the secure port:
Command Purpose
configure
Enters the global configuration mode.
interface g0/1
Enters the to-be-configured port.
[no] switchport port-security static
mac-address mac-addr
Adds or deletes the static MAC address of the secure
port.
●
mac-addr
is the configured MAC address.
exit
Goes back to the global configuration mode.
exit
Goes back to the EXEC mode.
write
Saves the configuration.