Lab Objective:
The objective of this lab exercise is for you to learn and understand how implement Multiple Spanning Tree Protocol (MSTP) in conjunction with other Spanning Tree protocols
Lab Topology:
|
IMPORTANT NOTE
If you are using the www.howtonetwork.net racks, please begin each and every lab by shutting down all interfaces on all switches and then manually re-enabling the interfaces that are illustrated in this topology.
|
Task 1
Configure a VTP domain name of HARD for all switches. Configure a VTP password of STP on all switches within the VTP domain. All switches should be in VTP Transparent mode. Configure trunking between the switches using 802.1Q
Task 2
Configure VLANs 100 and 200 on DLS1 and DSL2; VLAN 100 on ALS1 and VLAN 200 on ALS2
Task 3
Configure MST on switch DLS1. The MST Region name should be DLS1-REGION. However, you may configure the other MST parameters as you would like and ensure that configured VLANs 100 and 200 are mapped to the MST instance of you configure. Configure SVI 100 and assign in the IP address 192.168.100.1/24 and SVI 200 with the IP address 192.168.200.1/24
Task 4
Configure MST on switch DLS2. The MST Region name should be DLS2-REGION. However, you may configure the other MST parameters as you would like and ensure that configured VLANs 100 and 200 are mapped to the MST instance of you configure. Configure SVI 100 and assign in the IP address 192.168.100.2/24 and SVI 200 with the IP address 192.168.200.2/24
Task 5
Configure DLS1 as Root Bridge for the VLANs 100 and 200. This state should be applicable not only to the Region, but also to all other switches in the network
Task 6
Configure 802.1w PVST on ALS1. Configure SVI 100 with the IP address 192.168.100.254/24
Task 7
Configure 802.1D PVST on ALS2. Configure SVI 200 with the IP address 192.168.200.254/24
Task 8
Verify your STP configuration and then verify that you can ping successfully end-to-end between switches ALS1 and ALS2
Lab Validation
Task 1
| DLS1(config)#vtp domain HARD
DLS1(config)#vtp password STP DLS1(config)#int range f0/8 , f0/12 DLS1(config-if-range)#switchport DLS1(config-if-range)#switchport trunk encapsulation dot1q DLS1(config-if-range)#switchport mode trunk DLS1(config-if-range)#no shut |
| DLS2(config)#vtp domain HARD
DLS2(config)#vtp password STP DLS2(config)#int range f0/8 , f0/12 DLS2(config-if-range)#switchport DLS2(config-if-range)#switchport trunk encap dot1q DLS2(config-if-range)#switchport mode trunk DLS2(config-if-range)#no shutdown |
| ALS1(config)#vtp domain HARD
ALS1(config)#vtp password STP ALS1(config)#int f0/8 ALS1(config-if)#switchport mode trunk ALS1(config-if)#no shut |
| ALS2(config)#vtp domain HARD
ALS2(config)#vtp password STP ALS2(config)#int f0/8 ALS2(config-if)#switchport mode trunk ALS2(config-if)#no shut |
Task 2
| DLS1(config)#vlan 100
DLS1(config-vlan)#exit DLS1(config)#vlan 200 DLS1(config-vlan)#exit |
| DLS2(config)#vlan 100
DLS2(config-vlan)#exit DLS2(config)#vlan 200 DLS2(config-vlan)#exit |
| ALS1(config)#vlan 100
ALS1(config-vlan)#exit |
| ALS2(config)#vlan 200
ALS2(config-vlan)#exit |
Task 3
| DLS1(config)#spanning-tree mst configuration
DLS1(config-mst)#revision 0 DLS1(config-mst)#instance 1 vlan 100,200 DLS1(config-mst)#name DLS1-REGION DLS1(config-mst)#show pending Pending MST configuration Name [DLS1-REGION] Revision 0 Instances configured 2
Instance Vlans mapped ——– ——————————————————————- 0 1-99,101-199,201-4094 1 100,200 —————————————————————————– DLS1(config-mst)#exit DLS1(config)#spanning-tree mode mst DLS1(config)#int vlan 100 DLS1(config-if)#ip address 192.168.100.1 255.255.255.0 DLS1(config-if)#no shut DLS1(config-if)#exit DLS1(config)#int vlan 200 DLS1(config-if)#ip add 192.168.200.1 255.255.255.0 DLS1(config-if)#no shut DLS1(config-if)#exit |
Task 4
| DLS2(config)#spanning-tree mst configuration
DLS2(config-mst)#revision 5 DLS2(config-mst)#name DLS2-REGION DLS2(config-mst)#instance 3 vlan 100,200 DLS2(config-mst)#show pending Pending MST configuration Name [DLS2-REGION] Revision 5 Instances configured 2
Instance Vlans mapped ——– ——————————————————————- 0 1-99,101-199,201-4094 3 100,200 —————————————————————————– DLS2(config-mst)#exit DLS2(config)#spanning-tree mode mst DLS2(config)#interface vlan 100 DLS2(config-if)#ip address 192.168.100.2 255.255.255.0 DLS2(config-if)#no shut DLS2(config-if)#exit DLS2(config)#int vlan 200 DLS2(config-if)#ip address 192.168.200.2 255.255.255.0 DLS2(config-if)#no shutdown DLS2(config-if)#exit |
Task 5
| DLS1(config)#spanning-tree mst 0 priority 0 |
This is where understanding the CST is important. Remember, the MST Region sees the outside world via its Internal Spanning Tree (IST) interaction only; the IST presents the entire MST Region as a single virtual bridge to the outside world.
Therefore, BPDUs are exchanged at the Region boundary only over the native VLAN of trunks, as if a single CST were in operation. IST is the only Instance that sends and receives BPDUs. MISTP does not interact directly with the CST outside of the region. To ensure that DLS1 is seen as the Root Bridge by all other switches in the network, i.e. switches that are outside of the Region, you must configure the priority value of instance 0.
For example, based on this configuration, ALS1 and DLS 2 show the following:
| ALS1#show spanning-tree vlan 100
VLAN0100 Spanning tree enabled protocol rstp Root ID Priority 0 Address 000d.291e.7f00 [Truncated] |
| DLS2#show spanning-tree mst
##### MST0 vlans mapped: 1-99,101-199,201-4094 Bridge address 000f.24ce.0d80 priority 32768 (32768 sysid 0) Root address 000d.291e.7f00 priority 0 (0 sysid 0) port Fa0/12 path cost 200000 Regional Root this switch
Truncated] |
However, if you issued the spanning-tree vlan [num] priority or the spanning-tree mst [MSTI] priority commands, the parameters will only be locally significant to the Region and will not be reflected by any of the switches outside the Region as follows:
| DLS1(config)#no spanning-tree mst 0 priority 0
DLS1(config)#spanning-tree vlan 100 priority 0 DLS1(config)#spanning-tree vlan 200 priority 0 DLS1(config)#spanning-tree mst 1 priority 0 DLS1(config)#exit DLS1#show spanning-tree vlan 100
MST1 Spanning tree enabled protocol mstp Root ID Priority 1 Address 000d.291e.7f00 This bridge is the root [Truncated]
DLS1#show spanning-tree vlan 200
MST1 Spanning tree enabled protocol mstp Root ID Priority 1 Address 000d.291e.7f00 This bridge is the root [Truncated]
DLS1#show spanning-tree mst
##### MST0 vlans mapped: 1-99,101-199,201-4094 Bridge address 000d.291e.7f00 priority 32768 (32768 sysid 0) Root this switch for the CIST [Truncated]
|
Both ALS1 and DLS1 will show the default priority of 32,768 for the CIST Root Bridge:
| ALS1#show spanning-tree vlan 100
VLAN0100 Spanning tree enabled protocol rstp Root ID Priority 32768 Address 000d.291e.7f00 [Truncated]
|
| DLS2#show spanning-tree mst
##### MST0 vlans mapped: 1-99,101-199,201-4094 Bridge address 000f.24ce.0d80 priority 32768 (32768 sysid 0) Root address 000d.291e.7f00 priority 32768 (32768 sysid 0) port Fa0/12 path cost 200000 Regional Root this switch [Truncated]
|
Task 6
| ALS1(config)#spanning-tree mode rapid-pvst
ALS1(config)#int vlan 100 ALS1(config-if)#ip address 192.168.100.254 255.255.255.0 ALS1(config-if)#no shut ALS1(config-if)#exit |
Task 7
NOTE: By default 802.1D PVST is enabled so no explicit configuration is required to enable it
| ALS2(config)#int vlan 200
ALS2(config-if)#ip address 192.168.200.254 255.255.255.0 ALS2(config-if)#no shutdown ALS2(config-if)#exit |
Task 8
Use the show spanning-tree mst commands on the MST switches DLS1 and DSL2 and the show spanning-tree vlan commands on ALS1 and ALS2 to verify your configuration
| DLS1#show spanning-tree mst
##### MST0 vlans mapped: 1-99,101-199,201-4094 Bridge address 000d.291e.7f00 priority 0 (0 sysid 0) Root this switch for the CIST Operational hello time 2 , forward delay 15, max age 20, txholdcount 6 Configured hello time 2 , forward delay 15, max age 20, max hops 20
Interface Role Sts Cost Prio.Nbr Type —————- —- — ——— ——– ——————————– Fa0/8 Desg FWD 200000 128.8 P2p Bound(PVST) Fa0/12 Desg FWD 200000 128.12 P2p
##### MST1 vlans mapped: 100,200 Bridge address 000d.291e.7f00 priority 32769 (32768 sysid 1) Root this switch for MST1
Interface Role Sts Cost Prio.Nbr Type —————- —- — ——— ——– ——————————– Fa0/8 Desg FWD 200000 128.8 P2p Bound(PVST) Fa0/12 Desg FWD 200000 128.12 P2p |
| DLS2#show spanning-tree mst
##### MST0 vlans mapped: 1-99,101-199,201-4094 Bridge address 000f.24ce.0d80 priority 32768 (32768 sysid 0) Root address 000d.291e.7f00 priority 0 (0 sysid 0) port Fa0/12 path cost 200000 Regional Root this switch Operational hello time 2 , forward delay 15, max age 20, txholdcount 6 Configured hello time 2 , forward delay 15, max age 20, max hops 20
Interface Role Sts Cost Prio.Nbr Type —————- —- — ——— ——– ——————————– Fa0/8 Desg FWD 200000 128.8 P2p Bound(PVST) Fa0/12 Root FWD 200000 128.12 P2p Bound(RSTP)
##### MST3 vlans mapped: 100,200 Bridge address 000f.24ce.0d80 priority 32771 (32768 sysid 3) Root this switch for MST3
Interface Role Sts Cost Prio.Nbr Type —————- —- — ——— ——– ——————————– Fa0/8 Desg FWD 200000 128.8 P2p Bound(PVST) Fa0/12 Mstr FWD 200000 128.12 P2p Bound(RSTP) |
NOTE: Notice that DLS1 is Root Bridge for the CST, but DLS2 is Root Bridge within its own Region and is also Root Bridge for the MSTI configured
| ALS1#show spanning-tree vlan 100
VLAN0100 Spanning tree enabled protocol rstp Root ID Priority 0 Address 000d.291e.7f00 Cost 19 Port 8 (FastEthernet0/8) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec [Truncated]
|
| ALS2#show spanning-tree vlan 200
VLAN0200 Spanning tree enabled protocol ieee Root ID Priority 0 Address 000d.291e.7f00 Cost 200019 Port 8 (FastEthernet0/8) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec [Truncated]
|
To complete the final section of this task, you need to configure a default gateway on ALS1 and ALS2, which will allow them to ping each other as they reside on different subnets
| ALS1(config)#ip default-gateway 192.168.100.1 |
| ALS2(config)#ip default-gateway 192.168.200.2 |
Next, IP routing must be enabled on the Layer 3 switches DLS1 and DLS2
| DLS1#show ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty DLS1# DLS1#conf t Enter configuration commands, one per line. End with CNTL/Z. DLS1(config)#ip routing DLS1(config)#end DLS1# DLS1#show ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static route
Gateway of last resort is not set
C 192.168.200.0/24 is directly connected, Vlan200 C 192.168.100.0/24 is directly connected, Vlan100 |
| DLS2#show ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty DLS2# DLS2#conf t Enter configuration commands, one per line. End with CNTL/Z. DLS2(config)#ip routing DLS2(config)#end DLS2# DLS2#show ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2 i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static route
Gateway of last resort is not set
C 192.168.200.0/24 is directly connected, Vlan200 C 192.168.100.0/24 is directly connected, Vlan100 |
Complete the lab by pinging end-to-end between switches ALS1 and ALS2
| ALS1#ping 192.168.200.254
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.200.254, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/16 ms |
| ALS2#ping 192.168.100.254
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.100.254, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/12 ms |
Final Switch Configurations
DLS1
| DLS1#show running-config
Building configuration…
Current configuration : 4516 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname DLS1 ! no logging console ! no aaa new-model ip subnet-zero ip routing ! vtp domain HARD vtp mode transparent ! ! ! ! ! no file verify auto ! spanning-tree mode mst spanning-tree extend system-id ! spanning-tree mst configuration name DLS1-REGION instance 1 vlan 100, 200 ! spanning-tree mst 0 priority 0 ! vlan internal allocation policy ascending ! vlan 100,200 ! ! interface FastEthernet0/1 switchport mode dynamic desirable shutdown ! interface FastEthernet0/2 switchport mode dynamic desirable shutdown ! interface FastEthernet0/3 switchport mode dynamic desirable shutdown ! interface FastEthernet0/4 switchport mode dynamic desirable shutdown ! interface FastEthernet0/5 switchport mode dynamic desirable shutdown ! interface FastEthernet0/6 switchport mode dynamic desirable shutdown ! interface FastEthernet0/7 switchport mode dynamic desirable shutdown ! interface FastEthernet0/8 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/9 switchport mode dynamic desirable shutdown ! interface FastEthernet0/10 switchport mode dynamic desirable shutdown ! interface FastEthernet0/11 switchport mode dynamic desirable shutdown ! interface FastEthernet0/12 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/13 switchport mode dynamic desirable shutdown ! interface FastEthernet0/14 switchport mode dynamic desirable shutdown ! interface FastEthernet0/15 switchport mode dynamic desirable shutdown ! interface FastEthernet0/16 switchport mode dynamic desirable shutdown ! interface FastEthernet0/17 switchport mode dynamic desirable shutdown ! interface FastEthernet0/18 switchport mode dynamic desirable shutdown ! interface FastEthernet0/19 switchport mode dynamic desirable shutdown ! interface FastEthernet0/20 switchport mode dynamic desirable shutdown ! interface FastEthernet0/21 switchport mode dynamic desirable shutdown ! interface FastEthernet0/22 switchport mode dynamic desirable shutdown ! interface FastEthernet0/23 switchport mode dynamic desirable shutdown ! interface FastEthernet0/24 switchport mode dynamic desirable shutdown ! interface FastEthernet0/25 switchport mode dynamic desirable shutdown ! interface FastEthernet0/26 switchport mode dynamic desirable shutdown ! interface FastEthernet0/27 switchport mode dynamic desirable shutdown ! interface FastEthernet0/28 switchport mode dynamic desirable shutdown ! interface FastEthernet0/29 switchport mode dynamic desirable shutdown ! interface FastEthernet0/30 switchport mode dynamic desirable shutdown ! interface FastEthernet0/31 switchport mode dynamic desirable shutdown ! interface FastEthernet0/32 switchport mode dynamic desirable shutdown ! interface FastEthernet0/33 switchport mode dynamic desirable shutdown ! interface FastEthernet0/34 switchport mode dynamic desirable shutdown ! interface FastEthernet0/35 switchport mode dynamic desirable shutdown ! interface FastEthernet0/36 switchport mode dynamic desirable shutdown ! interface FastEthernet0/37 switchport mode dynamic desirable shutdown ! interface FastEthernet0/38 switchport mode dynamic desirable shutdown ! interface FastEthernet0/39 switchport mode dynamic desirable shutdown ! interface FastEthernet0/40 switchport mode dynamic desirable shutdown ! interface FastEthernet0/41 switchport mode dynamic desirable shutdown ! interface FastEthernet0/42 switchport mode dynamic desirable shutdown ! interface FastEthernet0/43 switchport mode dynamic desirable shutdown ! interface FastEthernet0/44 switchport mode dynamic desirable shutdown ! interface FastEthernet0/45 switchport mode dynamic desirable shutdown ! interface FastEthernet0/46 switchport mode dynamic desirable shutdown ! interface FastEthernet0/47 switchport mode dynamic desirable shutdown ! interface FastEthernet0/48 switchport mode dynamic desirable shutdown ! interface GigabitEthernet0/1 switchport mode dynamic desirable ! interface GigabitEthernet0/2 switchport mode dynamic desirable ! interface Vlan1 no ip address shutdown ! interface Vlan100 ip address 192.168.100.1 255.255.255.0 ! interface Vlan200 ip address 192.168.200.1 255.255.255.0 ! ip classless ip http server ip http secure-server ! ! ! control-plane ! ! line con 0 line vty 0 4 no login line vty 5 15 no login ! ! end
DLS1# |
DLS2
| DLS2#show running-config
Building configuration…
Current configuration : 4478 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname DLS2 ! no logging console ! no aaa new-model ip subnet-zero ip routing ! vtp domain HARD vtp mode transparent ! ! ! ! ! ! spanning-tree mode mst spanning-tree extend system-id ! spanning-tree mst configuration name DLS2-REGION revision 5 instance 3 vlan 100, 200 ! ! vlan internal allocation policy ascending ! vlan 100,200 ! ! ! ! ! ! interface FastEthernet0/1 switchport mode dynamic desirable shutdown ! interface FastEthernet0/2 switchport mode dynamic desirable shutdown ! interface FastEthernet0/3 switchport mode dynamic desirable shutdown ! interface FastEthernet0/4 switchport mode dynamic desirable shutdown ! interface FastEthernet0/5 switchport mode dynamic desirable shutdown ! interface FastEthernet0/6 switchport mode dynamic desirable shutdown ! interface FastEthernet0/7 switchport mode dynamic desirable shutdown ! interface FastEthernet0/8 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/9 switchport mode dynamic desirable shutdown ! interface FastEthernet0/10 switchport mode dynamic desirable shutdown ! interface FastEthernet0/11 switchport mode dynamic desirable shutdown ! interface FastEthernet0/12 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/13 switchport mode dynamic desirable shutdown ! interface FastEthernet0/14 switchport mode dynamic desirable shutdown ! interface FastEthernet0/15 switchport mode dynamic desirable shutdown ! interface FastEthernet0/16 switchport mode dynamic desirable shutdown ! interface FastEthernet0/17 switchport mode dynamic desirable shutdown ! interface FastEthernet0/18 switchport mode dynamic desirable shutdown ! interface FastEthernet0/19 switchport mode dynamic desirable shutdown ! interface FastEthernet0/20 switchport mode dynamic desirable shutdown ! interface FastEthernet0/21 switchport mode dynamic desirable shutdown ! interface FastEthernet0/22 switchport mode dynamic desirable shutdown ! interface FastEthernet0/23 switchport mode dynamic desirable shutdown ! interface FastEthernet0/24 switchport mode dynamic desirable shutdown ! interface FastEthernet0/25 switchport mode dynamic desirable shutdown ! interface FastEthernet0/26 switchport mode dynamic desirable shutdown ! interface FastEthernet0/27 switchport mode dynamic desirable shutdown ! interface FastEthernet0/28 switchport mode dynamic desirable shutdown ! interface FastEthernet0/29 switchport mode dynamic desirable shutdown ! interface FastEthernet0/30 switchport mode dynamic desirable shutdown ! interface FastEthernet0/31 switchport mode dynamic desirable shutdown ! interface FastEthernet0/32 switchport mode dynamic desirable shutdown ! interface FastEthernet0/33 switchport mode dynamic desirable shutdown ! interface FastEthernet0/34 switchport mode dynamic desirable shutdown ! interface FastEthernet0/35 switchport mode dynamic desirable shutdown ! interface FastEthernet0/36 switchport mode dynamic desirable shutdown ! interface FastEthernet0/37 switchport mode dynamic desirable shutdown ! interface FastEthernet0/38 switchport mode dynamic desirable shutdown ! interface FastEthernet0/39 switchport mode dynamic desirable shutdown ! interface FastEthernet0/40 switchport mode dynamic desirable shutdown ! interface FastEthernet0/41 switchport mode dynamic desirable shutdown ! interface FastEthernet0/42 switchport mode dynamic desirable shutdown ! interface FastEthernet0/43 switchport mode dynamic desirable shutdown ! interface FastEthernet0/44 switchport mode dynamic desirable shutdown ! interface FastEthernet0/45 switchport mode dynamic desirable shutdown ! interface FastEthernet0/46 switchport mode dynamic desirable shutdown ! interface FastEthernet0/47 switchport mode dynamic desirable shutdown ! interface FastEthernet0/48 switchport mode dynamic desirable shutdown ! interface GigabitEthernet0/1 switchport mode dynamic desirable ! interface GigabitEthernet0/2 switchport mode dynamic desirable ! interface Vlan1 no ip address shutdown ! interface Vlan100 ip address 192.168.100.2 255.255.255.0 ! interface Vlan200 ip address 192.168.200.2 255.255.255.0 ! ip classless ip http server ip http secure-server ! ! ! control-plane ! ! line con 0 line vty 0 4 login line vty 5 15 login ! end
DLS2# |
ALS1
| ALS1#show running-config
Building configuration…
Current configuration : 1670 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ALS1 ! no logging console ! ip subnet-zero ! ip ssh time-out 120 ip ssh authentication-retries 3 vtp domain HARD vtp mode transparent ! ! spanning-tree mode rapid-pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! ! ! vlan 100 ! interface FastEthernet0/1 shutdown ! interface FastEthernet0/2 shutdown ! interface FastEthernet0/3 shutdown ! interface FastEthernet0/4 shutdown ! interface FastEthernet0/5 shutdown ! interface FastEthernet0/6 shutdown ! interface FastEthernet0/7 shutdown ! interface FastEthernet0/8 switchport mode trunk ! interface FastEthernet0/9 shutdown ! interface FastEthernet0/10 switchport mode trunk ! interface FastEthernet0/11 shutdown ! interface FastEthernet0/12 shutdown ! interface FastEthernet0/13 shutdown ! interface FastEthernet0/14 shutdown ! interface FastEthernet0/15 shutdown ! interface FastEthernet0/16 shutdown ! interface FastEthernet0/17 shutdown ! interface FastEthernet0/18 shutdown ! interface FastEthernet0/19 shutdown ! interface FastEthernet0/20 shutdown ! interface FastEthernet0/21 shutdown ! interface FastEthernet0/22 shutdown ! interface FastEthernet0/23 shutdown ! interface FastEthernet0/24 shutdown ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address no ip route-cache shutdown ! interface Vlan100 ip address 192.168.100.254 255.255.255.0 no ip route-cache ! ip default-gateway 192.168.100.1 ip http server ! line con 0 line vty 0 4 login line vty 5 15 login ! ! end
ALS1# |
ALS2
| ALS2#show running-config
Building configuration…
Current configuration : 2598 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ALS2 ! no logging console ! ip subnet-zero ! ip ssh time-out 120 ip ssh authentication-retries 3 vtp domain HARD vtp mode transparent ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! ! ! vlan 100 ! interface FastEthernet0/1 shutdown ! interface FastEthernet0/2 shutdown ! interface FastEthernet0/3 shutdown ! interface FastEthernet0/4 shutdown ! interface FastEthernet0/5 shutdown ! interface FastEthernet0/6 shutdown ! interface FastEthernet0/7 shutdown ! interface FastEthernet0/8 switchport mode trunk ! interface FastEthernet0/9 shutdown ! interface FastEthernet0/10 switchport mode trunk ! interface FastEthernet0/11 shutdown ! interface FastEthernet0/12 shutdown ! interface FastEthernet0/13 shutdown ! interface FastEthernet0/14 shutdown ! interface FastEthernet0/15 shutdown ! interface FastEthernet0/16 shutdown ! interface FastEthernet0/17 shutdown ! interface FastEthernet0/18 shutdown ! interface FastEthernet0/19 shutdown ! interface FastEthernet0/20 shutdown ! interface FastEthernet0/21 shutdown ! interface FastEthernet0/22 shutdown ! interface FastEthernet0/23 shutdown ! interface FastEthernet0/24 shutdown ! interface FastEthernet0/25 shutdown ! interface FastEthernet0/26 shutdown ! interface FastEthernet0/27 shutdown ! interface FastEthernet0/28 shutdown ! interface FastEthernet0/29 shutdown ! interface FastEthernet0/30 shutdown ! interface FastEthernet0/31 shutdown ! interface FastEthernet0/32 shutdown ! interface FastEthernet0/33 shutdown ! interface FastEthernet0/34 shutdown ! interface FastEthernet0/35 shutdown ! interface FastEthernet0/36 shutdown ! interface FastEthernet0/37 shutdown ! interface FastEthernet0/38 shutdown ! interface FastEthernet0/39 shutdown ! interface FastEthernet0/40 shutdown ! interface FastEthernet0/41 shutdown ! interface FastEthernet0/42 shutdown ! interface FastEthernet0/43 shutdown ! interface FastEthernet0/44 shutdown ! interface FastEthernet0/45 shutdown ! interface FastEthernet0/46 shutdown ! interface FastEthernet0/47 shutdown ! interface FastEthernet0/48 shutdown ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address no ip route-cache shutdown ! interface Vlan200 ip address 192.168.200.254 255.255.255.0 no ip route-cache ! ip default-gateway 192.168.200.2 ip http server ! line con 0 line vty 0 4 login line vty 5 15 login ! ! end
ALS2# |