Configuring Port-Based Traffic Control
How to Configure Port-Based Traffic Control
Command
9.
switchport port-security
mac-address sticky
10.
switchport port-security
mac-address sticky [mac-address
| vlan {vlan-id | {access | voice}}]
11.
end
Enabling and Configuring Port Security Aging
Command
1.
configure terminal
Purpose
(Optional) Enables sticky learning on the interface.
(Optional) Enters a sticky secure MAC address, repeating the command as
many times as necessary. If you configure fewer secure MAC addresses than
the maximum, the remaining MAC addresses are dynamically learned, are
converted to sticky secure MAC addresses, and are added to the running
configuration.
Note:
If you do not enable sticky learning before this command is entered, an
error message appears, and you cannot enter a sticky secure MAC address.
(Optional) vlan—Sets a per-VLAN maximum value.
Enter one of these options after you enter the vlan keyword:
vlan-id—On a trunk port, specifies the VLAN ID and the MAC address. If
you do not specify a VLAN ID, the native VLAN is used.
access—On an access port, specifies the VLAN as an access VLAN.
voice—On an access port, specifies the VLAN as a voice VLAN.
Note:
The voice keyword is available only if a voice VLAN is configured on a
port and if that port is not the access VLAN.
Returns to privileged EXEC mode.
Purpose
Enters global configuration mode.
459
Need help?
Do you have a question about the IE-4000 and is the answer not in the manual?
Questions and answers