■検証1:DSW1_3750のfa1/0/1を抜線
    ⇒link state trackingの確認
    ⇒fa1/0/3とfa1/0/4の閉塞を確認する
    ⇒各VLANのActive、Standbyの切り替わりを確認する


■DSW1_3750投入コンフィグ
conf t
!
ip routing
!
vlan 101-103
vlan 1
shutdown
!
spanning-tree vlan 101-103
spanning-tree vlan 101,103 priority 4096
spanning-tree vlan 102 priority 8192
!
link state track 1
!
int fa1/0/1
no switchport
ip address 10.0.0.1 255.255.255.252
link state group 1 upstream
!
int fa1/0/2
switchport trunk encapsulation dot1q
switchport mode trunk
!
int fa1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
link state group 1 downstream
!
int fa1/0/4
switchport trunk encapsulation dot1q
switchport mode trunk
link state group 1 downstream
!
int vlan1
shutdown
!
int vlan101
ip address 172.16.101.2 255.255.255.0
standby 1 ip 172.16.101.1
standby 1 priority 150
standby 1 preempt delay minimum 60
standby 1 track fa1/0/4 55
standby 1 authentication CCNP_101
no shut
!
int vlan102
ip address 172.16.102.2 255.255.255.0
standby 2 ip 172.16.102.1
standby 2 preempt
standby 2 track fa1/0/4
standby 2 authentication CCNP_102
no shut
!
int vlan103
ip address 172.16.103.2 255.255.255.0
standby 3 ip 172.16.103.1
standby 3 priority 150
standby 3 preempt delay minimum 60
standby 3 track fa1/0/4 55
standby 3 authentication CCNP_103
no shut
!
router ospf 1
network 10.0.0.0 0.0.0.3 area 0
network 172.16.101.0 0.0.0.255 area 0
network 172.16.102.0 0.0.0.255 area 0
network 172.16.103.0 0.0.0.255 area 0
!
end


■DSW2_3750投入コンフィグ
conf t
!
ip routing
!
vlan 101-103
vlan 1
shutdown
!
spanning-tree vlan 101-103
spanning-tree vlan 102 priority 4096
spanning-tree vlan 101,103 priority 8192
!
link state track 2
!
int fa1/0/1
no switchport
ip address 10.0.0.5 255.255.255.252
link state group 2 upstream
!
int fa1/0/2
switchport trunk encapsulation dot1q
switchport mode trunk
!
int fa1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
link state group 2 downstream
!
int fa1/0/4
switchport trunk encapsulation dot1q
switchport mode trunk
link state group 2 downstream
!
int vlan1
shutdown
!
int vlan101
ip address 172.16.101.3 255.255.255.0
standby 1 ip 172.16.101.1
standby 1 preempt
standby 1 track fa1/0/4
standby 1 authentication CCNP_101
no shut
!
int vlan102
ip address 172.16.102.3 255.255.255.0
standby 2 ip 172.16.102.1
standby 2 priority 150
standby 2 preempt delay minimum 60
standby 2 track fa1/0/4 60
standby 2 authentication CCNP_102
no shut
!
int vlan103
ip address 172.16.103.3 255.255.255.0
standby 3 ip 172.16.103.1
standby 3 preempt
standby 3 track fa1/0/4
standby 3 authentication CCNP_103
no shut
!
router ospf 1
network 10.0.0.4 0.0.0.3 area 0
network 172.16.101.0 0.0.0.255 area 0
network 172.16.102.0 0.0.0.255 area 0
network 172.16.103.0 0.0.0.255 area 0
!
end


■DSW3_3560投入コンフィグ
conf t
!
ip routing
!
vlan 101-103
vlan 1
shutdown
!
no spanning-tree vlan 101-103
!
int loopback 0
ip address 1.1.1.1 255.255.255.255
!
int fa0/1
no switchport
ip address 10.0.0.2 255.255.255.252
!
int fa0/2
no switchport
ip address 10.0.0.6 255.255.255.252
!
int vlan1
shutdown
!
router ospf 1
network 1.1.1.1 0.0.0.0 area 0
network 10.0.0.0 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 0
!
end


■SW1_2950投入コンフィグ
conf t
!
vlan 101,102,103
!
int fa0/1
switchport mode trunk
!
int fa0/2
switchport mode trunk
!
int fa0/3
switchport mode access
switchport access vlan 101
!
end


■SW2_2950投入コンフィグ
conf t
!
vlan 101,102,103
!
int fa0/1
switchport mode trunk
!
int fa0/2
switchport mode trunk
!
int fa0/3
switchport mode access
switchport access vlan 103
!
end


■検証1:DSW1_3750のfa1/0/1を抜線
    ⇒link state trackingの確認
DSW1_3750#sh link state group detail

Link State Group: 1 Status: Enabled, Up
Upstream Interfaces : Fa1/0/1(Up)
Downstream Interfaces : Fa1/0/3(Up) Fa1/0/4(Up)

(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled


    ⇒fa1/0/3とfa1/0/4の閉塞を確認する
DSW1_3750#sh link state group detail standby b link state group detail

Link State Group: 1 Status: Enabled, Down
Upstream Interfaces : Fa1/0/1(Dwn)
Downstream Interfaces : Fa1/0/3(Dis) Fa1/0/4(Dis)

(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled


    ⇒各VLANのActive、Standbyの切り替わりを確認する
■抜線前
DSW1_3750#sh standby breif
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Vl101 1 150 P Active local 172.16.101.3 172.16.101.1
Vl102 2 100 P Standby 172.16.102.3 local 172.16.102.1
Vl103 3 150 P Active local 172.16.103.3 172.16.103.1


■抜線後
DSW1_3750#sh standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Vl101 1 95 P Standby 172.16.101.3 local 172.16.101.1
Vl102 2 90 P Standby 172.16.102.3 local 172.16.102.1
Vl103 3 95 P Standby 172.16.103.3 local 172.16.103.1