Disabling A Trunk Port - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 5
Configuring Ethernet VLAN Trunks
In software releases prior to software release 8.3(1), to define the allowed VLANs list for a trunk port,
perform this task in privileged mode:
Task
Step 1
Remove VLANs from the allowed VLANs list for
a trunk.
Step 2
(Optional) Add specific VLANs to the allowed
VLANs list for a trunk.
Step 3
Verify the allowed VLANs list for the trunk.
This example shows how to define the allowed VLANs list to allow VLANs 1–100, VLANs 500–1005,
and VLAN 2500 on trunk port 1/1 and verify the allowed VLAN list for the trunk:
Console> (enable) clear trunk 1/1 101-499
Removing Vlan(s) 101-499 from allowed list.
Port 1/1 allowed vlans modified to 1-100,500-1005.
Console> (enable) set trunk 1/1 2500
Adding vlans 2500 to allowed list.
Port(s) 1/1 allowed vlans modified to 1-100,500-1005,2500.
Console> (enable) show trunk 1/1
Port
--------
1/1
Port
--------
1/1
Port
--------
1/1
Port
--------
1/1
Console> (enable)
In software release 8.3(1) and later releases, if you want to configure a trunk but do not want to allow
any VLANs on the trunk, enter the none keyword as follows:
Console> (enable) set trunk 7/1 on none dot1q
Removing Vlan(s) 1-4094 from allowed list.
Port 7/1 allowed vlans modified to none.
Port(s) 7/1 trunk mode set to on.
Port(s) 7/1 trunk type set to dot1q.
Console> (enable)

Disabling a Trunk Port

To turn off trunking on a port, perform this task in privileged mode:
Task
Step 1
Turn off trunking on a port.
Step 2
Verify the trunking configuration.
OL-8978-04
Mode
Encapsulation
-----------
-------------
desirable
isl
Vlans allowed on trunk
---------------------------------------------------------------------
1-100, 500-1005,2500
Vlans allowed and active in management domain
---------------------------------------------------------------------
1,521-524
Vlans in spanning tree forwarding state and not pruned
---------------------------------------------------------------------
1,521-524
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Command
clear trunk mod/port vlans
set trunk mod/port vlans
show trunk [mod/port]
Status
Native vlan
------------
-----------
trunking
1
Command
set trunk mod/port off
show trunk [mod/port]
Configuring a Trunk Link
5-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents