Cisco Catalyst 2960-XR Security Configuration Manual page 363

Ios release 15.0 2 ex1
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Configuring Port-Based Traffic Control
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. switchport mode {access | trunk}
4. switchport voice vlan vlan-id
5. switchport port-security
6. switchport port-security [maximum value [vlan {vlan-list | {access | voice}}]]
7. switchport port-security violation {protect | restrict | shutdown | shutdown vlan}
8. switchport port-security [mac-address mac-address [vlan {vlan-id | {access | voice}}]
9. switchport port-security mac-address sticky
10. switchport port-security mac-address sticky [mac-address | vlan {vlan-id | {access | voice}}]
11. end
12. show port-security
13. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface-id
Example:
Switch(config)# interface
gigabitethernet1/0/1
Step 3
switchport mode {access | trunk}
Example:
Switch(config-if)# switchport
mode access
Step 4
switchport voice vlan vlan-id
Example:
Switch(config-if)# switchport
voice vlan 22
OL-29434-01
Purpose
Enters global configuration mode.
Specifies the interface to be configured, and enter interface configuration mode.
Sets the interface switchport mode as access or trunk; an interface in the default
mode (dynamic auto) cannot be configured as a secure port.
Enables voice VLAN on a port.
vlan-id—Specifies the VLAN to be used for voice traffic.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
Enabling and Configuring Port Security
341

Advertisement

Table of Contents
loading

Table of Contents