********************************************************************* ********Router1 configuration *************************************** ********************************************************************* Router1#sh run int gi4/1 interface GigabitEthernet4/1 switchport access vlan 300 end Router1#sh run int gi2/1 interface GigabitEthernet2/1 description to Router2 switchport trunk native vlan 88 switchport trunk allowed vlan 1,100,200,300,1002-1005 switchport mode trunk flowcontrol receive on end Router1#sh int gi2/1 trunk Port Mode Encapsulation Status Native vlan Gi2/1 on 802.1q trunking 88 Port Vlans allowed on trunk Gi2/1 1,100,200,300,1002-1005 Port Vlans allowed and active in management domain Gi2/1 1,100,200,300 Port Vlans in spanning tree forwarding state and not pruned Gi2/1 1,100,200,300 Router1#sh run int vlan 300 Building configuration... Current configuration : 258 bytes ! interface Vlan300 description L3 Vlan ip address 192.168.12.3 255.255.255.0 standby 2 ip 192.168.12.2 standby 2 priority 110 standby 2 preempt end Router1#sh standby vlan 300 Vlan300 - Group 2 State is Active 2 state changes, last state change 1d23h Virtual IP address is 192.168.12.2 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.300 secs Preemption enabled Active router is local Standby router is unknown Priority 110 (configured 110) IP redundancy name is "hsrp-Vl300-2" (default) Router1#sh spanning-tree vlan 300 brief VLAN300 Spanning tree enabled protocol ieee Root ID Priority 8192 Address 0017.9528.1281 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 8192 Address 0017.9528.1281 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 0 Interface Designated Name Port ID Prio Cost Sts Cost Bridge ID Port ID -------------------- ------- ---- ----- --- ----- -------------------- ------- GigabitEthernet2/1 128.118 128 4 FWD 0 8192 0017.9528.1281 128.118 GigabitEthernet4/1 128.198 128 4 FWD 0 8192 0017.9528.1281 128.198 ************************************************************************* ********Router2 configuration ******************************************* ************************************************************************* Router2#sh run int gi2/1 interface GigabitEthernet2/1 description to Router1 switchport trunk native vlan 88 switchport trunk allowed vlan 1,100,200,300,1002-1005 switchport mode trunk flowcontrol receive on end Router2#sh int gi2/1 trunk Port Mode Encapsulation Status Native vlan Gi2/1 on 802.1q trunking 88 Port Vlans allowed on trunk Gi2/1 1,100,200,300,1002-1005 Port Vlans allowed and active in management domain Gi2/1 1,100,200,300 Port Vlans in spanning tree forwarding state and not pruned Gi2/1 1,100,200,300 Router2# Router2# Router2#sh run int gi4/1 interface GigabitEthernet4/1 description to switch switchport access vlan 300 end Router2#sh run int vlan 300 interface Vlan300 description L3 Vlan ip address 192.168.12.4 255.255.255.0 standby 2 ip 192.168.12.2 standby 2 priority 90 standby 2 preempt end Router2#sh standby vlan 300 Vlan300 - Group 2 State is Standby 1 state change, last state change 1d23h Virtual IP address is 192.168.12.2 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 2.684 secs Preemption enabled Active router is 192.168.12.3, priority 110 (expires in 8.240 sec) Standby router is local Priority 90 (configured 90) IP redundancy name is "hsrp-Vl300-2" (default) Router2#sh spanning-tree vlan 300 brief VLAN300 Spanning tree enabled protocol ieee Root ID Priority 8192 Address 0017.9528.1281 Cost 4 Port 118 (GigabitEthernet2/1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 16384 Address 0018.735b.f4d3 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 0 Interface Designated Name Port ID Prio Cost Sts Cost Bridge ID Port ID -------------------- ------- ---- ----- --- ----- -------------------- ------- GigabitEthernet2/1 128.118 128 4 FWD 0 8192 0017.9528.1281 128.118 ************************************************************************* ******** Switch configuration ******************************************* ************************************************************************* Switch#sh run int gi0/1 interface GigabitEthernet0/1 switchport access vlan 300 switchport mode access end Switch#sh run int gi0/2 interface GigabitEthernet0/2 switchport access vlan 300 switchport mode access end Switch#sh run int Vlan300 interface Vlan300 description L3 Vlan ip address 192.168.12.5 255.255.255.0 end ip default-gateway 192.168.12.2