hit counter script

Cisco ME 3400G-2CS - Ethernet Access Switch Software Configuration Manual page 418

Ethernet access switch
Hide thumbs Also See for ME 3400G-2CS - Ethernet Access Switch:
Table of Contents

Advertisement

Chapter 21
Configuring Port-Based Traffic Control
Command
Step 8
switchport port-security
[mac-address mac-address [vlan
{vlan-id | {access}}]
Step 9
switchport port-security
mac-address sticky
Step 10
switchport port-security
mac-address sticky [mac-address |
vlan {vlan-id | {access}]
Step 11
end
Step 12
show port-security
Step 13
copy running-config
startup-config
78-17058-01
Purpose
(Optional) Enter a secure MAC address for the interface. You can use this
command to enter the maximum number of secure MAC addresses. If you
configure fewer secure MAC addresses than the maximum, the remaining
MAC addresses are dynamically learned.
If you enable sticky learning after you enter this command, the secure
Note
addresses that were dynamically learned are converted to sticky
secure MAC addresses and are added to the running configuration.
(Optional) vlan—set a per-VLAN maximum value.
Enter one of these options after you enter the vlan keyword:
vlan-id—On a trunk port, you can specify 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, specify the VLAN as an access VLAN.
(Optional) Enable sticky learning on the interface.
(Optional) Enter 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.
If you do not enable sticky learning before this command is entered,
Note
an error message appears, and you cannot enter a sticky secure MAC
address.
(Optional) vlan—set a per-VLAN maximum value.
Enter one of these options after you enter the vlan keyword:
vlan-id—On a trunk port, you can specify 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, specify the VLAN as an access VLAN.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Configuring Port Security
21-13

Advertisement

Table of Contents
loading

Table of Contents