Configuring A Trunk Port; Cli: Disabling A Trunk Port - Cisco Catalyst 2950 Software Manual

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

How VLAN Trunks Work

Configuring a Trunk Port

For information on trunk port interactions with other features, see the
Features" section on page
Note
Because trunk ports send and receive VTP advertisements, you must ensure that at least one trunk port
is configured on the switch and that this trunk port is connected to the trunk port of a second switch.
Otherwise, the switch cannot receive any VTP advertisements.
Beginning in privileged EXEC mode, follow these steps to configure a port as a 802.1Q trunk port:
Command
Step 1
configure terminal
Step 2
interface interface_id
Step 3
switchport mode trunk
Step 4
end
Step 5
show interface interface-id
switchport
Step 6
copy running-config
startup-config

CLI: Disabling a Trunk Port

You can disable trunking on a port by returning it to the static-access mode.
Beginning in privileged EXEC mode, follow these steps to disable trunking on a port:
Command
Step 1
configure terminal
Step 2
interface interface_id
Step 3
switchport mode access
Step 4
end
Step 5
show interface interface-id switchport
Catalyst 2950 Desktop Switch Software Configuration Guide
8-22
8-21.
Purpose
Enter global configuration mode.
Enter the interface configuration mode and the port to be
configured for trunking.
Configure the port as a VLAN trunk.
Return to privileged EXEC mode.
Verify your entries.
In the display, check the Operational Mode and the Operational
Trunking Encapsulation fields.
Save the configuration.
Purpose
Enter global configuration mode.
Enter the interface configuration mode and the port is
configured as a trunk.
Set the port to static-access mode.
Return to privileged EXEC.
Verify your entries.
In the display, check the Negotiation of Trunking field.
Chapter 8
Configuring VLANs
"Trunks Interacting with Other
78-11380-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents