DLS 1
=====
Switch>enable
Switch#configure terminal
Switch(config)#hostname DLS1
DLS1(config)#no ip domain-lookup
DLS1(config)#spanning-tree vlan 10 root primary
DLS1(config)#spanning-tree vlan 20 root secondary
DLS1(config)#vlan 10
DLS1(config-vlan)#name vlan10
DLS1(config-vlan)#exit
DLS1(config)#vlan 20
DLS1(config-vlan)#name vlan20
DLS1(config-vlan)#exit
DLS1(config)#interface vlan 10
DLS1(config-if)#ip address 192.168.10.2 255.255.255.0
DLS1(config-if)#standby 10 ip 192.168.10.1
DLS1(config-if)#standby 10 priority 110
DLS1(config-if)#standby 10 preempt
DLS1(config-if)#no shutdown
DLS1(config-if)#exit
DLS1(config)#interface vlan 20
DLS1(config-if)#ip address 192.168.20.2 255.255.255.0
DLS1(config-if)#standby 20 ip 192.168.20.1
DLS1(config-if)#standby 20 priority 90
DLS1(config-if)#standby 20 preempt
DLS1(config-if)#no shutdown
DLS1(config-if)#exit
DLS 2
=====
Switch>enable
Switch#configure terminal
Switch(config)#hostname DLS2
DLS2(config)#no ip domain-lookup
DLS2(config)#spanning-tree vlan 20 root primary
DLS2(config)#spanning-tree vlan 10 root secondary
DLS2(config)#vlan 10
DLS2(config-vlan)#name vlan10
DLS2(config-vlan)#exit
DLS2(config)#vlan 20
DLS2(config-vlan)#name vlan20
DLS2(config-vlan)#exit
DLS2(config)#interface vlan 10
DLS2(config-if)#ip address 192.168.10.3 255.255.255.0
DLS2(config-if)#standby 10 ip 192.168.10.1
DLS2(config-if)#standby 10 priority 90
DLS2(config-if)#standby 10 preempt
DLS2(config-if)#no shutdown
DLS2(config-if)#exit
DLS2(config)#interface vlan 20
DLS2(config-if)#ip address 192.168.20.3 255.255.255.0
DLS2(config-if)#standby 20 ip 192.168.20.1
DLS2(config-if)#standby 20 priority 110
DLS2(config-if)#standby 20 preempt
DLS2(config-if)#no shutdown
DLS2(config-if)#exit
Multiple HSRP - Hot Standby Routing Protocol
Reviewed by Anonymous
on
4:56:00 AM
Rating: