EasyManuals Logo

Cisco Catalyst 3550 User Manual

Cisco Catalyst 3550
794 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #618 background imageLoading...
Page #618 background image
2-592
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-01
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
switchport port-security
When you configure sticky secure MAC addresses by using the switchport port-security
mac-address sticky mac-address interface configuration command, these addresses are added to
the address table and the running configuration. If port security is disabled, the sticky secure MAC
addresses remain in the running configuration.
If you save the sticky secure MAC addresses in the configuration file, when the switch restarts or
the interface shuts down, the interface does not need to relearn these addresses. If you do not save
the sticky secure addresses, they are lost. If sticky learning is disabled, the sticky secure MAC
addresses are converted to dynamic secure addresses and are removed from the running
configuration.
If you disable sticky learning and enter the switchport port-security mac-address sticky
mac-address interface configuration command, an error message appears, and the sticky secure
MAC address is not added to the running configuration.
Examples This example shows how to enable port security on a port and to set the maximum number of secure
addresses to 5. The violation mode is the default, and no secure MAC addresses are configured.
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security maximum 5
This example shows how to configure a secure MAC address on a port:
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security mac-address 1000.2000.3000
This example shows how to enable sticky learning:
Switch(config-if)# switchport port-security mac-address sticky
This example shows how to configure a secure MAC address on a trunk port:
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security mac-address 1000.2000.3000 vlan 9
This example shows how to configure a maximum of 5 secure MAC addresses on VLAN 9:
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport port-security maximum 5 vlan 9
You can verify the settings for all secure ports or the specified port by using the show port-security
privileged EXEC command.
Related Commands Command Description
clear port-security Deletes from the MAC address table a specific secure address or all
the secure addresses on an interface.

Table of Contents

Other manuals for Cisco Catalyst 3550

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 3550 and is the answer not in the manual?

Cisco Catalyst 3550 Specifications

General IconGeneral
CategorySwitch
QoSYes
Form FactorRack-mountable
ManageableYes
RAM64 MB
ModelCatalyst 3550
Uplink Ports2 x GBIC (Gigabit Interface Converter) or SFP (Small Form-factor Pluggable)
Layer SupportLayer 3
VLAN SupportYes
MAC Address Table Size12000 entries
Routing ProtocolEIGRP
FeaturesQoS
Operating Temperature32 to 113°F (0 to 45°C)
Operating Humidity10 - 95% (non-condensing)
Ports24 or 48 10/100 ports

Related product manuals