December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to connect an InterSwitch Link (ISL) VLAN trunk to your router.
The following set of commands allows you to connect an ISL trunk to your router:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#interface FastEthernet0/0Router1(config-if)#no ip addressRouter1(config-if)#speed 100Router1(config-if)#full-duplexRouter1(config-if)#exitRouter1(config)#interface FastEthernet0/0.1Router1(config-subif)#encapsulation isl 1Router1(config-subif)#ip addressRouter1(config-subif)#172.25.1.5 255.255.255.0exitRouter1(config)#interface FastEthernet0/0.2Router1(config-subif)#encapsulation isl 2Router1(config-subif)#ip addressRouter1(config-subif)#172.16.2.1 255.255.255.0exitRouter1(config)#interface FastEthernet0/0.3Router1(config-subif)#encapsulation isl 574Router1(config-subif)#ip addressRouter1(config-subif)#10.22.1.2 255.255.255.0exitRouter1(config)#endRouter1#
A trunk is a point-to-point link containing one ore more Virtual LANs (VLANs). The main purpose of a trunk is to save physical interfaces. Without VLANs, if you wanted to connect two LAN segments into a router, you would need two Ethernet interfaces. Unfortunately, this does not scale well. It is relatively common for a switch to support many VLANs. So there is a clear advantage to using trunks to bundle the VLANs together into a single link.
While trunks carry traffic for many different VLANs, they ...