Disabling A Trunk Port; Defining The Allowed Vlans On A Trunk - Cisco WS-C2950-24 Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C2950-24:
Table of Contents

Advertisement

How VLAN Trunks Work

Disabling a Trunk Port

Command
Step 1
configure terminal
Step 2
interface interface_id
Step 3
no switchport mode
Step 4
end
Step 5
show interface interface-id
switchport

Defining the Allowed VLANs on a Trunk

Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
8-40
You can disable trunking on a port by returning it to its default static-access mode.
Beginning in privileged EXEC mode, follow these steps to disable trunking on a
port:
Purpose
Enter global configuration mode.
Enter the interface configuration mode and the port to be
added to the VLAN.
Return the port to its default static-access mode.
Return to privileged EXEC.
Verify your entries.
In the display, check the Negotiation of Trunking field.
By default, a trunk port sends to and receives traffic from all VLANs in the VLAN
database. All VLANs, 1 to 1005, are allowed on each trunk. However, you can
remove VLANs from the allowed list, preventing traffic from those VLANs from
passing over the trunk. To restrict the traffic a trunk carries, use the remove
vlan-list parameter to remove specific VLANs from the allowed list.
A trunk port can become a member of a VLAN if the VLAN is enabled, if VTP
knows of the VLAN, and if the VLAN is in the allowed list for the port. When
VTP detects a newly enabled VLAN and the VLAN is in the allowed list for a
trunk port, the trunk port automatically becomes a member of the enabled VLAN.
When VTP detects a new VLAN and the VLAN is not in the allowed list for a
trunk port, the trunk port does not become a member of the new VLAN.
Chapter 8
Configuring VLANs
78-6511-05

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960g-8tc-l

Table of Contents