hit counter script

Cisco Catalyst 4500 Series Command Reference Manual page 1116

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

switchport port-security
Switch(config)# interface fastethernet 5/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security mac-address sticky
Switch(config-if)# switchport port-security maximum 1 vlan voice
Switch(config-if)# switchport port-security maximum 1 vlan access
Switch(config-if)# end
This example shows how to configure a port to shut down only the VLAN if a violation occurs:
Switch(config)# interface gigabitethernet 5/1
Switch(config)# switchport port-security violation shutdown vlan
Sending traffic to the ports causes the system to configure the port with sticky secure addresses.
Note
You can verify your settings by using the show port-security address privileged EXEC command.
Related Commands
Command
show interfaces switchport
show port-security
switchport block
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-1058
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
Description
Displays the administrative and operational status of a
switching (nonrouting) port.
Displays the port security settings for an interface or for the
switch.
Prevents the unknown multicast or unicast packets from
being forwarded.
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF