www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNP Labs Solutions / CCNP Lab 007 Solution: HRRP and STP Convergence

CCNP Lab 007 Solution: HRRP and STP Convergence

Lab Objective:

The focus of this lab is to understand basic HSRP and STP convergence tweaking implementation and configuration in Cisco IOS Catalyst switches.

Lab Topology:

The lab network topology is illustrated below:

department607

 

 

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 only the interfaces that are illustrated in this topology.

Task 1

Disable VTP on all switches and create the following VLANs:

  1. DLS1: VLAN 100 and VLAN 200
  2. DLS2: VLAN 100 and VLAN 200
  3. ALS1: VLAN 100
  4. ALS2: VLAN 200

 

Task 2

Disable DTP and configure trunking on all switches as follows:

  1. The trunk links on switch DLS1 should only allow VLANs 1, 100 and 200
  2. The trunk links on switch DLS2 should only allow VLANs 1, 100 and 200
  3. The trunk links on switch ALS1 should only allow VLANs 1 and 100
  4. The trunk links on switch ALS2 should only allow VLANs 1 and 200

 

Task 3

Configure the following SVIs and interfaces on the switches in the topology:

  1. DLS1: Interface VLAN 100: IP address 100.1.1.1/24
  2. DLS1: Interface VLAN 200: IP address 200.1.1.1/24
  3. DLS1: Interface Loopback0: IP address 192.1.1.1/24

 

  1. DLS2: Interface VLAN 100: IP address 100.1.1.2/24
  2. DLS2: Interface VLAN 200: IP address 200.1.1.2/24
  1. ALS1: Interface VLAN 100: IP address 100.1.1.3/24
  2. ALS2: Interface VLAN 100: IP address 200.1.1.3/24

 

Task 4

Configure HSRP with preemption and MD5 authentication on DLS1 and DLS2 as follows:

  1. DLS1: VLAN 100: HSRP IP address 100.1.1.254, group 1, priority 200, MD5 password: ONE
  2. DLS1: VLAN 200: HSRP IP address 200.1.1.254, group 2, priority 200, MD5 password: TWO

 

  1. DLS2: VLAN 100: HSRP IP address 100.1.1.254, group 1, priority 150, MD5 password: ONE
  2. DLS2: VLAN 200: HSRP IP address 200.1.1.254, group 2, priority 150 MD5 password: TWO

Task 5

In the future, switch DLS1 will be configured to track an uplink port to the WAN routers. To test this solution, configure HSRP on switch DLS1 to track the Loopback0 interface. Should Loopback0 be shut down, ensure switch DLS2 becomes the active gateway for both groups.

Task 6

To allow for faster 802.1D convergence, configure the lowest possible diameter that will allow all devices in the network to communicate. In addition to this, ensure that your Layer 2 and Layer 3 topologies are consistent, i.e. the primary gateway should be the root for the corresponding VLAN. Finally, ensure that switches ALS1 and ALS2 can also ping each other.

Lab Validation

Task 1

DLS1(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
DLS1(config)#vlan 100
DLS1(config-vlan)#exit
DLS1(config)#vlan 200
DLS1(config-vlan)#exit
DLS2(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
DLS2(config)#vlan 100
DLS2(config-vlan)#exit
DLS2(config)#vlan 200
DLS2(config-vlan)#exit
ALS1(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
ALS1(config)#vlan 100
ALS1(config-vlan)#exit
ALS2(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
ALS2(config)#vlan 200
ALS2(config-vlan)#exit

Task 2

 

DLS1(config)#interface range fasteth 0/7 , fasteth 0/9 , fasteth 0/11
DLS1(config-if-range)#switchport
DLS1(config-if-range)#switchport trunk encapsulation dot1q
DLS1(config-if-range)#switchport mode trunk
DLS1(config-if-range)#switchport trunk allowed vlan 1,100,200
DLS1(config-if-range)#switchport nonegotiate
DLS1(config-if-range)#exit
DLS2(config)# interface range fasteth 0/7 , fasteth 0/9 , fasteth 0/11
DLS2(config-if-range)#switchport
DLS2(config-if-range)#switchport trunk encapsulation dot1q
DLS2(config-if-range)#switchport mode trunk
DLS2(config-if-range)#switchport trunk allowed vlan 1,100,200
DLS2(config-if-range)#switchport nonegotiate
DLS2(config-if-range)#exit
ALS1(config)#interface range fastethernet 0/7 , fastethernet 0/9
ALS1(config-if-range)#switchport mode trunk
ALS1(config-if-range)#switchport trunk allowed vlan 1,100
ALS1(config-if-range)#exit
ALS2(config)#interface range fastethernet 0/7 , fastethernet 0/9
ALS2(config-if-range)#switchport mode trunk
ALS2(config-if-range)#switchport trunk allowed vlan 1,200
ALS2(config-if-range)#exit

Verify your configuration using the show interfaces trunk command:

ALS2#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/7 on 802.1q trunking 1
Fa0/9 on 802.1q trunking 1

Port Vlans allowed on trunk
Fa0/7 1,200
Fa0/9 1,200

Port Vlans allowed and active in management domain
Fa0/7 1,200
Fa0/9 1,200

Port Vlans in spanning tree forwarding state and not pruned
Fa0/7 1,200
Fa0/9 200

 

Task 3

DLS1(config)#interface vlan 100
DLS1(config-if)#ip add 100.1.1.1 255.255.255.0
DLS1(config-if)#exit
DLS1(config)#interface vlan 200
DLS1(config-if)#ip add 200.1.1.1 255.255.255.0
DLS1(config-if)#exit
DLS1(config)#int loopback 0
DLS1(config-if)#ip add 192.1.1.1 255.255.255.0
DLS1(config-if)#exit
DLS2(config)#interface vlan 100
DLS2(config-if)#ip address 100.1.1.2 255.255.255.0
DLS2(config-if)#exit
DLS2(config)#interface vlan 200
DLS2(config-if)#ip address 200.1.1.2 255.255.255.0
DLS2(config-if)#exit
ALS1(config)#interface vlan 100
ALS1(config-if)#ip add 100.1.1.3 255.255.255.0
ALS1(config-if)#exit
ALS2(config)#interface vlan 200
ALS2(config-if)#ip address 200.1.1.3 255.255.255.0
ALS2(config-if)#exit

Task 4

When configuring HSRP MD5 authentication, you can reference a key chain, which contains the keys and key strings, or specify the key string directly with the HSRP configuration. Both methods are illustrated. The configuration on switch DLS1 has been implemented as follows:

DLS1(config)#key chain HSRP-GROUP-ONE
DLS1(config-keychain)#key 1
DLS1(config-keychain-key)#key-string ONE
DLS1(config-keychain-key)#exit
DLS1(config)#interface vlan 100
DLS1(config-if)#standby 1 ip 100.1.1.254
DLS1(config-if)#standby 1 priority 200
DLS1(config-if)#standby 1 preempt
DLS1(config-if)#standby 1 authentication md5 key-chain HSRP-GROUP-ONE
DLS1(config-if)#exit
DLS1(config)#interface vlan 200
DLS1(config-if)#standby 2 ip 200.1.1.254
DLS1(config-if)#standby 2 priority 200
DLS1(config-if)#standby 2 preempt
DLS1(config-if)#standby 2 authentication md5 key-string TWO
DLS1(config-if)#exit

The configuration on switch DLS1 has been implemented as follows:

DLS2(config)#key chain HSRP-GROUP-ONE
DLS2(config-keychain)#key 1
DLS2(config-keychain-key)#key-string ONE
DLS2(config-keychain-key)#exit
DLS2(config)#interface vlan 100
DLS2(config-if)#standby 1 ip 100.1.1.254
DLS2(config-if)#standby 1 preempt
DLS2(config-if)#standby 1 priority 150
DLS2(config-if)#standby 1 authentication md5 key-chain HSRP-GROUP-ONE
DLS2(config-if)#exit
DLS2(config)#interface vlan 200
DLS2(config-if)#standby 2 ip 200.1.1.254
DLS2(config-if)#standby 2 preempt
DLS2(config-if)#standby 2 priority 150
DLS2(config-if)#standby 2 authentication md5 key-string TWO
DLS2(config-if)#exit

Following this configuration, use the show standby commands to verify HSRP:

DLS1#show standby brief
P indicates configured to preempt.
|
Interface Grp Prio P State Active Standby Virtual IP
Vl100 1 200 P Active local 100.1.1.2 100.1.1.254
Vl200 2 200 P Active local 200.1.1.2 200.1.1.254
DLS2#show standby
Vlan100 – Group 1
State is Standby
4 state changes, last state change 00:01:46
Virtual IP address is 100.1.1.254
Active virtual MAC address is 0000.0c07.ac01
Local virtual MAC address is 0000.0c07.ac01 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.776 secs
Authentication MD5, key-chain “HSRP-GROUP-ONE”
Preemption enabled
Active router is 100.1.1.1, priority 200 (expires in 7.776 sec)
Standby router is local
Priority 150 (configured 150)
IP redundancy name is “hsrp-Vl100-1” (default)
Vlan200 – Group 2
State is Standby
4 state changes, last state change 00:03:23
Virtual IP address is 200.1.1.254
Active virtual MAC address is 0000.0c07.ac02
Local virtual MAC address is 0000.0c07.ac02 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.828 secs
Authentication MD5, key-string “TWO”
Preemption enabled
Active router is 200.1.1.1, priority 200 (expires in 8.452 sec)
Standby router is local
Priority 150 (configured 150)
IP redundancy name is “hsrp-Vl200-2” (default)

 

Task 5

To complete this task, you need to configure HSRP tracking so that the priority of switch DLS1 is decremented to a value less than 150 when Loopback0 is disabled – allowing switch DLS2 to assume primary gateway functionality. This task is completed as follows:

DLS1(config)#track 500 interface loopback 0 line-protocol
DLS1(config-track)#exit
DLS1(config)#interface vlan 100
DLS1(config-if)#standby 1 track 500 decrement 51
DLS1(config-if)#exit
DLS1(config)#interface vlan 200
DLS1(config-if)#standby 2 track 500 decrement 51
DLS1(config-if)#exit

 

Following this configuration, use the show track command to verify object tracking:

DLS1#show track 500
Track 500
Interface Loopback0 line-protocol
Line protocol is Up
1 change, last change 00:01:51
Tracked by:
HSRP Vlan100 1
HSRP Vlan200 2

Additionally, use the show standby commands to verify HSRP tracking configuration:

DLS1#show standby vlan 100
Vlan100 – Group 1
State is Active
2 state changes, last state change 00:22:23
Virtual IP address is 100.1.1.254
Active virtual MAC address is 0000.0c07.ac01
Local virtual MAC address is 0000.0c07.ac01 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.908 secs
Authentication MD5, key-chain “HSRP-GROUP-ONE”
Preemption enabled
Active router is local
Standby router is 100.1.1.2, priority 150 (expires in 8.900 sec)
Priority 200 (configured 200)
Track object 500 state Up decrement 51
IP redundancy name is “hsrp-Vl100-1” (default)

Test the configuration by shutting down the Loopback0 interface on switch DLS1:

DLS1(config)#interface loopback 0
DLS1(config-if)#shutdown
DLS1(config-if)#
*Mar 1 00:51:16.799: %HSRP-5-STATECHANGE: Vlan200 Grp 2 state Active -> Speak
*Mar 1 00:51:17.159: %HSRP-5-STATECHANGE: Vlan100 Grp 1 state Active -> Speak
*Mar 1 00:51:18.627: %LINK-5-CHANGED: Interface Loopback0, changed state to administratively down
*Mar 1 00:51:19.627: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to down
*Mar 1 00:51:26.799: %HSRP-5-STATECHANGE: Vlan200 Grp 2 state Speak -> Standby
*Mar 1 00:51:27.159: %HSRP-5-STATECHANGE: Vlan100 Grp 1 state Speak -> Standby

 

Again, the show standby commands can be used to verify HSRP tracking configuration:

DLS1#show standby vlan 100
Vlan100 – Group 1
State is Standby
4 state changes, last state change 00:01:07
Virtual IP address is 100.1.1.254
Active virtual MAC address is 0000.0c07.ac01
Local virtual MAC address is 0000.0c07.ac01 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.716 secs
Authentication MD5, key-chain “HSRP-GROUP-ONE”
Preemption enabled
Active router is 100.1.1.2, priority 150 (expires in 7.720 sec)
Standby router is local
Priority 149 (configured 200)
Track object 500 state Down decrement 51
IP redundancy name is “hsrp-Vl100-1” (default)

The show track command can be used to determine the state of the tracked object:

DLS1#show track
Track 500
Interface Loopback0 line-protocol
Line protocol is Down (hw admin-down)
2 changes, last change 00:01:42
Tracked by:
HSRP Vlan100 1
HSRP Vlan200 2

Task 6

Given the topology, the maximum diameter in any given situation would be 4. There are two ways the diameter can be influenced. These two methods are:

  1. Manually configuring STP parameters to force a diameter of 4
  2. Using the Cisco IOS macro to specify the diameter

 

The first method entails performing manual calculations using one of the following formulas:

Diameter = (Max Age + 2 – (4 * Hello)) / 2 or Diameter = ((2 * Forward Delay) – (4 * Hello)) / 3

The second method entails using the Cisco IOS macro, enabled by issuing the spanning-tree vlan <number> root primary diameter <2-7> global configuration command. The simplest method is to use the IOS macro on switch DLS1 which will be the root bridge for both VLANs.

DLS1(config)#spanning-tree vlan 100 root primary diameter 4
DLS1(config)#spanning-tree vlan 200 root primary diameter 4

When the diameter is changed, default STP timers are also adjusted. Use the show spanning-tree commands to verify the configuration:

DLS1#show spanning-tree vlan 100

VLAN0100
Spanning tree enabled protocol ieee
Root ID Priority 24676
Address 000f.2303.2d80
This bridge is the root
Hello Time 2 sec Max Age 14 sec Forward Delay 10 sec

Bridge ID Priority 24676 (priority 24576 sys-id-ext 100)
Address 000f.2303.2d80
Hello Time 2 sec Max Age 14 sec Forward Delay 10 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
——————- —- — ——— ——– ——————————–
Fa0/7 Desg FWD 19 128.7 P2p
Fa0/9 Desg FWD 19 128.9 P2p
Fa0/11 Desg FWD 19 128.11 P2p

Using the manual method, we could confirm this calculation as follows:

Diameter = (Max Age + 2 – (4 * Hello)) / 2
Diameter = (14 + 2 – (4 * 2)) / 2
Diameter = (16 – 8)) / 2
Diameter = (8)) / 2
Diameter = 4

The same result would be obtained using the alternate formula.

The final task is to ensure that switches ALS1 and ALS2 can ping each other. This requires that both switches be configured with default gateways (HSRP VIPs).

ALS1(config)#ip default-gateway 100.1.1.254
ALS2(config)#ip default-gateway 200.1.1.254

Finally, verify connectivity using a simple ping:

ALS1#ping 200.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:
..!!!
Success rate is 60 percent (3/5), round-trip min/avg/max = 1/3/4 ms

ALS2#ping 100.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.2, timeout is 2 seconds:
..!!!
Success rate is 60 percent (3/5), round-trip min/avg/max = 1/3/4 ms

Final Switch Configurations

DLS1

 

DLS1#term len 0
DLS1#sh run
Building configuration…

Current configuration : 4851 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS1
!
!
no aaa new-model
!
track 500 interface Loopback0 line-protocol
ip subnet-zero
ip routing
no ip domain-lookup
!
vtp domain hard
vtp mode transparent
!
!
key chain HSRP-GROUP-ONE
key 1
key-string ONE
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 100,200 priority 24576
spanning-tree vlan 100,200 forward-time 10
spanning-tree vlan 100,200 max-age 14
!
vlan internal allocation policy ascending
!
vlan 100,200
!
!
!
!
!
!
interface Loopback0
ip address 192.1.1.1 255.255.255.0
!
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 trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200
switchport mode trunk
!
interface FastEthernet0/8
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200
switchport mode trunk
!
interface FastEthernet0/10
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200
switchport mode trunk
!
interface FastEthernet0/12
switchport mode dynamic desirable
shutdown
!
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
!
interface FastEthernet0/26
switchport mode dynamic desirable
!
interface FastEthernet0/27
switchport mode dynamic desirable
!
interface FastEthernet0/28
switchport mode dynamic desirable
!
interface FastEthernet0/29
switchport mode dynamic desirable
!
interface FastEthernet0/30
switchport mode dynamic desirable
!
interface FastEthernet0/31
switchport mode dynamic desirable
!
interface FastEthernet0/32
switchport mode dynamic desirable
!
interface FastEthernet0/33
switchport mode dynamic desirable
!
interface FastEthernet0/34
switchport mode dynamic desirable
!
interface FastEthernet0/35
switchport mode dynamic desirable
!
interface FastEthernet0/36
switchport mode dynamic desirable
!
interface FastEthernet0/37
switchport mode dynamic desirable
!
interface FastEthernet0/38
switchport mode dynamic desirable
!
interface FastEthernet0/39
switchport mode dynamic desirable
!
interface FastEthernet0/40
switchport mode dynamic desirable
!
interface FastEthernet0/41
switchport mode dynamic desirable
!
interface FastEthernet0/42
switchport mode dynamic desirable
!
interface FastEthernet0/43
switchport mode dynamic desirable
!
interface FastEthernet0/44
switchport mode dynamic desirable
!
interface FastEthernet0/45
switchport mode dynamic desirable
!
interface FastEthernet0/46
switchport mode dynamic desirable
!
interface FastEthernet0/47
switchport mode dynamic desirable
!
interface FastEthernet0/48
switchport mode dynamic desirable
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
ip address 100.1.1.1 255.255.255.0
standby 1 ip 100.1.1.254
standby 1 priority 200
standby 1 preempt
standby 1 authentication md5 key-chain HSRP-GROUP-ONE
standby 1 track 500 decrement 51
!
interface Vlan200
ip address 200.1.1.1 255.255.255.0
standby 2 ip 200.1.1.254
standby 2 priority 200
standby 2 preempt
standby 2 authentication md5 key-string TWO
standby 2 track 500 decrement 51
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 5 15
!
end

DLS1#

DLS2

 

DLS2#term len 0
DLS2#sh run
Building configuration…

Current configuration : 4573 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS2
!
no logging console
!
no aaa new-model
ip subnet-zero
ip routing
no ip domain-lookup
!
vtp domain hard
vtp mode transparent
!
!
key chain HSRP-GROUP-ONE
key 1
key-string ONE
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
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 trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200
switchport mode trunk
!
interface FastEthernet0/8
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200
switchport mode trunk
!
interface FastEthernet0/10
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200
switchport mode trunk
!
interface FastEthernet0/12
switchport mode dynamic desirable
shutdown
!
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
!
interface FastEthernet0/26
switchport mode dynamic desirable
!
interface FastEthernet0/27
switchport mode dynamic desirable
!
interface FastEthernet0/28
switchport mode dynamic desirable
!
interface FastEthernet0/29
switchport mode dynamic desirable
!
interface FastEthernet0/30
switchport mode dynamic desirable
!
interface FastEthernet0/31
switchport mode dynamic desirable
!
interface FastEthernet0/32
switchport mode dynamic desirable
!
interface FastEthernet0/33
switchport mode dynamic desirable
!
interface FastEthernet0/34
switchport mode dynamic desirable
!
interface FastEthernet0/35
switchport mode dynamic desirable
!
interface FastEthernet0/36
switchport mode dynamic desirable
!
interface FastEthernet0/37
switchport mode dynamic desirable
!
interface FastEthernet0/38
switchport mode dynamic desirable
!
interface FastEthernet0/39
switchport mode dynamic desirable
!
interface FastEthernet0/40
switchport mode dynamic desirable
!
interface FastEthernet0/41
switchport mode dynamic desirable
!
interface FastEthernet0/42
switchport mode dynamic desirable
!
interface FastEthernet0/43
switchport mode dynamic desirable
!
interface FastEthernet0/44
switchport mode dynamic desirable
!
interface FastEthernet0/45
switchport mode dynamic desirable
!
interface FastEthernet0/46
switchport mode dynamic desirable
!
interface FastEthernet0/47
switchport mode dynamic desirable
!
interface FastEthernet0/48
switchport mode dynamic desirable
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
ip address 100.1.1.2 255.255.255.0
standby 1 ip 100.1.1.254
standby 1 priority 150
standby 1 preempt
standby 1 authentication md5 key-chain HSRP-GROUP-ONE
!
interface Vlan200
ip address 200.1.1.2 255.255.255.0
standby 2 ip 200.1.1.254
standby 2 priority 150
standby 2 preempt
standby 2 authentication md5 key-string TWO
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 5 15
!
end

DLS2#

ALS1

 

ALS1#term len 0
ALS1#sh run
Building configuration…

Current configuration : 1139 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
!
no ip domain-lookup
vtp domain hard
vtp mode transparent
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
vlan 100,200
!
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
switchport trunk allowed vlan 1,100
switchport mode trunk
!
interface FastEthernet0/8
shutdown
!
interface FastEthernet0/9
switchport trunk allowed vlan 1,100
switchport mode trunk
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan100
ip address 100.1.1.3 255.255.255.0
no ip route-cache
!
ip default-gateway 100.1.1.254
ip http server
!
line con 0
line vty 5 15
!
!
end

ALS1#

ALS2

 

ALS2#term len 0
ALS2#sh ru
Building configuration…

Current configuration : 1135 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
!
no ip domain-lookup
vtp domain hard
vtp mode transparent
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
vlan 200
!
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
switchport trunk allowed vlan 1,200
switchport mode trunk
!
interface FastEthernet0/8
shutdown
!
interface FastEthernet0/9
switchport trunk allowed vlan 1,200
switchport mode trunk
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan200
ip address 200.1.1.3 255.255.255.0
no ip route-cache
!
ip default-gateway 200.1.1.254
ip http server
!
line con 0
line vty 5 15
!
!
end

ALS2#

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.