Trunking
117
Configuring Trunk Ports
This section will show you how to configure trunked links on both the 5000
series and 1900 series switches.
5000 Switch
To configure a trunk on a 5000 series switch, use the set trunk command,
and on the IOS-based switch, use the trunk on command:
Console> (enable) set trunk 2/12 ?
Usage: set trunk <mod_num/port_num>
[on|off|desirable|auto|nonegotiate] [vlans] [trunk_type]
(vlans = 1..1005 An example of vlans is 2-10,1005)
(trunk_type = isl,dot1q,dot10,lane,negotiate)
Console> (enable) set trunk 2/12 on isl
Port(s) 2/12 trunk mode set to on.
Port(s) 2/12 trunk type set to isl.
Console> (enable) 1997 Mar 21 06:31:54
%DTP-5-TRUNKPORTON:Port 2/12 has become k
Port 2/12 has become a trunk port using ISL encapsulation. Notice that
we did not specify the VLANs to trunk. By default, all VLANs would be
trunked. Take a look at a configuration in which we specified the VLANs
to use:
Console> (enable) set trunk 2/12 on 1-5 isl
Adding vlans 1-5 to allowed list.
Please use the 'clear trunk' command to remove
vlans from allowed list.
Port(s) 2/12 allowed vlans modified to 1-1005.
Port(s) 2/12 trunk mode set to on.
Port(s) 2/12 trunk type set to isl.
Notice that, even though we told the switch to just use VLANs 15, it added
11005 by default. To remove VLANs from a trunk port, use the clear
VLAN
command. We'll do that in a minute.
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com