To remove VLAN 2 from a trunked port use the following command:
1912(config−if)#no trunk−vlan 2
1912(config−if)#
Note No command is available to clear more then one VLAN at a time on the 1900.
Verifying a Trunk Link Configuration on a 5000 Series
To verify your trunk ports on a Catalyst 5000 series, use the show trunk command as follows:
Console> (enable) show trunk 2/1
The following shows the results:
Port Mode Encapsulation Status Native vlan
———— ————— ——————————— —————— —————————————
2/1 on isl trunking 1
Port Vlans allowed on trunk
———— —————————————————————————————————————————————
2/1 1−3
Port Vlans allowed and active in management domain
———— —————————————————————————————————————————————
2/1 1
Port Vlans in spanning tree forwarding state and not pruned
———— ————————————————————————————————————————————————————————————
2/1 1
Console> (enable)
Verifying a Trunk Link Configuration on a 1900EN Series
The 1900EN series uses the show trunk command just as the 5000 series does, but can view only the two
Fast Ethernet ports 26 and 27. The IOS on the 1900EN identifies these ports as Port A and Port B. To verify
the trunk link configuration, do the following:
First, look at the syntaxes available for the show trunk command:
1912#show trunk ?
A Trunk A
B Trunk B
1.
Now, look at the syntaxes available for the Fast Ethernet port 26, which is identified by an “a”:
1912#sh trunk a ?
allowed−vlans Display allowed vlans
joined−vlans Display joined vlans
joining−vlans Display joining vlans
prune−eligible Display pruning eligible vlans
2.
Configuring the VTP Version on a Catalyst 5000 Switch
To configure VTP version 2, use the set vtp v2 enable command. Let’s look at an example:
108