EasyManua.ls Logo

Cisco Catalyst 2960-X - Page 436

Cisco Catalyst 2960-X
498 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
Loading...
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the interface to be configured, and enter interface configuration mode.
interface interface-id
Example:
Switch(config)# interface
Step 3
gigabitethernet1/0/1
Sets the interface switchport mode as access or trunk; an interface in the default
mode (dynamic auto) cannot be configured as a secure port.
switchport mode {access | trunk}
Example:
Switch(config-if)# switchport
Step 4
mode access
Enables voice VLAN on a port.
switchport voice vlan vlan-id
Step 5
Example:
Switch(config-if)# switchport
vlan-idSpecifies the VLAN to be used for voice traffic.
voice vlan 22
Enable port security on the interface.switchport port-security
Example:
Switch(config-if)# switchport
Step 6
port-security
(Optional) Sets the maximum number of secure MAC addresses for the interface.
The maximum number of secure MAC addresses that you can configure on a
switchport port-security [maximum
value [vlan {vlan-list | {access |
voice}}]]
Step 7
switch or switch stack is set by the maximum number of available MAC addresses
allowed in the system. This number is set by the active Switch Database
Example:
Switch(config-if)# switchport
Management (SDM) template. This number is the total of available MAC
addresses, including those used for other Layer 2 functions and any other secure
MAC addresses configured on interfaces.
port-security maximum 20
(Optional) vlansets a per-VLAN maximum value
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
412 OL-29048-01
Configuring Port-Based Traffic Control
Enabling and Configuring Port Security

Table of Contents

Other manuals for Cisco Catalyst 2960-X

Related product manuals