1、Lab 42 InterVLAN Routing with an Internal Route Processor andLab 4-2 Inter-VLAN Routing with an Internal Route Processor andMonitoring CEF FunctionsTopology DiagramObjectiveThis lab routes between VLANs using a 3560 switch with an internal routeprocessor using Cisco Express Forwarding (CEF).Scenario
2、The current network equipment includes a 3560 distribution layer switch andtwo 2960 access layer switches. The network is segmented into three functionalsubnets using VLANs for better network management. The VLANs includeFinance, Engineering, and a subnet for equipment management, which is thedefaul
3、t management VLAN, VLAN 1. After VTP and trunking have beenconfigured for the switches, Switched Virtual Interfaces (SVI) are used on thedistribution layer switch to route between these VLANs, giving full connectivityto the internal network.2 - 13 CCNP: Building Multilayer Switched Networks v5.0 - L
4、ab 4-2 Copyright 2006, Cisco Systems, IncStep 1Power up the switches and use the standard process for establishing aHyperTerminal console connection from a workstation to each switch in yourpod. If you are remotely accessing your equipment, follow your teachersinstructions.Remove all VLAN informatio
5、n and configurations that were previously enteredinto your switches. (Refer to Lab 2.0a or 2.0b if needed.)Step 2Cable the lab according to the diagram. Configure the hostname, password,and telnet access on each switch.The following is a sample configuration for the 2960 switch ALS1:Switch# configur
6、e terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)# hostname ALS1ALS1(config)# enable secret ciscoALS1(config)# line vty 0 15ALS1(config-line)# password ciscoALS1(config-line)# loginALS1(config-line)# endThe following is a sample configuration for the 2960 switch AL
7、S2:Switch# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)# hostname ALS2ALS2(config)# enable secret ciscoALS2(config)# line vty 0 15ALS2(config-line)# password ciscoALS2(config-line)# loginALS2(config-line)# endThe following is a sample configuration for
8、 the 3560 switch DLS1:Switch# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)# hostname DLS1DLS1(config)# enable secret ciscoDLS1(config)# line vty 0 15DLS1(config-line)#password ciscoDLS1(config-line)# loginDLS1(config-line)# endConfigure management IP a
9、ddresses on VLAN 1 for all three switchesaccording to the diagram.The following is a sample configuration for the 2960 switch ALS1:ALS1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.ALS1(config)# interface vlan 13 - 13 CCNP: Building Multilayer Switched Networks v5.0
10、 - Lab 4-2 Copyright 2006, Cisco Systems, IncALS1(config-if)# ip address 172.16.1.101 255.255.255.0ALS1(config-if)# no shutdownALS1(config-if)# exitThe following is a sample configuration for the 2960 switch ALS2:ALS2# configure terminalEnter configuration commands, one per line. End with CNTL/Z.ALS
11、2(config)# interface vlan 1ALS2(config-if)# ip address 172.16.1.102 255.255.255.0ALS2(config-if)# no shutdownALS2(config-if)# exitThe following is a sample configuration for the 3560 switch DLS1:DLS1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.DLS1(config)# interfa
12、ce vlan 1DLS1(config-if)# ip address 172.16.1.1 255.255.255.0DLS1(config-if)# no shutdownDLS1(config-if)# exitConfigure default gateways on the access layer switches. The distribution layerswitch will not use a default gateway, because it acts as a Layer 3 device. Theaccess layer switches act as Lay
13、er 2 devices and need a default gateway tosend traffic off of the local subnet for the management VLAN.The following is a sample configuration for the 2960 switch ALS1:ALS1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.ALS1(config)# ip default-gateway 172.16.1.1ALS1(
14、config-line)# endThe following is a sample configuration for the 2960 switch ALS2:ALS2# configure terminalEnter configuration commands, one per line. End with CNTL/Z.ALS2(config)# ip default-gateway 172.16.1.1ALS2(config-line)# endStep 3Configure trunks and EtherChannels between switches.To distribu
15、te VLAN and VTP information between the switches, trunks areneeded between the three switches. Configure these trunks according to thediagram. EtherChannel is used for these trunks. EtherChannel allows you toutilize both Fast Ethernet interfaces that are available between each device,thereby doublin
16、g the bandwidth.The following is a sample configuration for the trunks and EtherChannel fromDLS1 to ASL1. The switchport trunk encapsulation isl | dot1q command isused because this switch also supports ISL encapsulation.4 - 13 CCNP: Building Multilayer Switched Networks v5.0 - Lab 4-2 Copyright 2006
17、, Cisco Systems, IncDLS1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.DLS1(config)# interface range fastethernet 0/7 - 8DLS1(config-if-range)# switchport trunk encapsulation dot1qDLS1(config-if-range)# switchport mode trunkDLS1(config-if-range)# channel-group 1 mode
18、 desirableCreating a port-channel interface Port-channel 1The following is a sample configuration for the trunks and EtherChannel fromDLS1 to ASL2:DLS1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.DLS1(config)# interface range fastethernet 0/9 - 10DLS1(config-if-ran
19、ge)# switchport trunk encapsulation dot1qDLS1(config-if-range)# switchport mode trunkDLS1(config-if-range)# channel-group 2 mode desirableCreating a port-channel interface Port-channel 2The following is a sample configuration for the trunks and EtherChannelbetween ALS1 and DLS1, and for the trunks a
20、nd EtherChannel between ALS1and ALS2:ALS1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.ALS1(config)# interface range fastethernet 0/11 - 12ALS1(config-if-range)# switchport mode trunkALS1(config-if-range)# channel-group 1 mode desirableCreating a port-channel interf
21、ace Port-channel 1ALS1(config-if-range)# exitALS1(config)# interface range fastethernet 0/7 - 8ALS1(config-if-range)# switchport mode trunkALS1(config-if-range)# channel-group 2 mode desirableCreating a port-channel interface Port-channel 2The following is a sample configuration for the trunks and E
22、therChannelbetween ALS2 and DLS1, and for the trunks and EtherChannel between ALS2and ALS1.ALS2# configure terminalEnter configuration commands, one per line. End with CNTL/Z.ALS2(config)# interface range fastethernet 0/11 - 12ALS2(config-if-range)# switchport mode trunkALS2(config-if-range)# channe
23、l-group 1 mode desirableCreating a port-channel interface Port-channel 1ALS2(config-if-range)# exitALS1(config)# interface range fastethernet 0/7 - 8ALS1(config-if-range)# switchport mode trunkALS1(config-if-range)# channel-group 2 mode desirableCreating a port-channel interface Port-channel 25 - 13
24、 CCNP: Building Multilayer Switched Networks v5.0 - Lab 4-2 Copyright 2006, Cisco Systems, IncVerify trunking between DLS1, ALS1, and ALS2 using the show interfacetrunk command on all switches.DLS1# show interface trunkPort Mode Encapsulation Status Native vlanPo1 on 802.1q trunking 1Po2 on 802.1q t
25、runking 1Port Vlans allowed on trunkPo1 1-4094Po2 1-4094Port Vlans allowed and active in management domainPo1 1Po2 1Port Vlans in spanning tree forwarding state and not prunedPo1 1Po2 1Use the show etherchannel summary command on each switch to verify theEtherChannels.The following is sample output
26、from ALS1. Notice the two EtherChannels on theaccess layer switches.ALS1# show etherchannel summaryFlags: D - down P - in port-channelI - stand-alone s - suspendedH - Hot-standby (LACP only)R - Layer3 S - Layer2U - in use f - failed to allocate aggregatoru - unsuitable for bundlingw - waiting to be
27、aggregatedd - default portNumber of channel-groups in use: 2Number of aggregators: 2Group Port-channel Protocol Ports-+-+-+-1 Po1(SU) PAgP Fa0/11(P) Fa0/12(P)2 Po2(SU) PAgP Fa0/7(P) Fa0/8(P)1. Which ports are used for channel group 2?Step 4Change the VTP mode of ALS1 and ALS2 to client.ALS1# configu
28、re terminalEnter configuration commands, one per line. End with CNTL/Z.6 - 13 CCNP: Building Multilayer Switched Networks v5.0 - Lab 4-2 Copyright 2006, Cisco Systems, IncALS1(config)# vtp mode clientSetting device to VTP CLIENT mode.ALS1(config)# endALS2# configure terminalEnter configuration comma
29、nds, one per line. End with CNTL/Z.ALS2(config)# vtp mode clientSetting device to VTP CLIENT mode.ALS2(config)# endVerify the VTP changes with the show vtp status command.ALS2# show vtp statusVTP Version : 2Configuration Revision : 0Maximum VLANs supported locally : 1005Number of existing VLANs : 5V
30、TP Operating Mode : ClientVTP Domain Name :VTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0xC8 0xAB 0x3C 0x3B 0xAB 0xDD 0x34 0xCFConfiguration last modified by 0.0.0.0 at 3-1-93 15:47:342. How many VLANs can be supported locally on the 2960 switch?Step 5
31、Create the VTP domain on DLS1 and create VLANS 100 and 200 for thedomain.DLS1# configure terminalEnter configuration commands, one per line. End with CNTL/Z.DLS1(config)# vtp domain SWPODDLS1(config)# vlan 100DLS1(config-vlan)# name FinanceDLS1(config-vlan)# exitDLS1(config)# vlan 200DLS1(config-vlan)# name EngineeringDLS1(config-vlan)# endVerify VTP information throughout the domain using the show vlan and showvtp status commands.3. How many existing VLANs are
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1