EasyManua.ls Logo

Cisco CATALYST 2960 - Page 580

Cisco CATALYST 2960
800 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...
2-708
Catalyst 2960 Switch Command Reference
OL-8604-03
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
switchport mode
Examples This example shows how to configure a port for access mode:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport mode access
This example shows how set the port to dynamic desirable mode:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport mode dynamic desirable
This example shows how to configure a port for trunk mode:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport mode trunk
You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC
command and examining information in the Administrative Mode and Operational Mode rows.
Related Commands Command Description
show interfaces switchport Displays the administrative and operational status of a switching
port, including port blocking and port protection settings.
switchport access Configures a port as a static-access or dynamic-access port.
switchport trunk Configures the trunk characteristics when an interface is in trunking
mode.

Table of Contents

Other manuals for Cisco CATALYST 2960

Related product manuals