-775
Cisco Industrial Ethernet 4000 Series Switch Software Configuration Guide
Chapter Configuring HSRP and VRRP
Configuring HSRP
Use the
no
standby
[
group-number
]
priority
priority
[
preempt
[
delay
delay
]] and
no standby
[
group-number
] [
priority
priority
]
preempt
[
delay
delay
] interface configuration commands to restore
default priority, preempt, and delay values.
Use the
no standby
[
group-number
]
track
type number
[
interface-priority
] interface configuration
command to remove the tracking.
This example activates a port, sets an IP address and a priority of 120 (higher than the default value),
and waits for 300 seconds (5 minutes) before attempting to become the active router:
Switch#
configure terminal
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
no switchport
Switch(config-if)#
standby ip 172.20.128.3
Switch(config-if)#
standby priority 120 preempt delay 300
Switch(config-if)#
end
Configuring MHSRP
To enable MHSRP and load balancing, you configure two routers as active routers for their groups, with
virtual routers as standby routers. This example shows how to enable the MHSRP configuration shown
in
. You need to enter the
standby preempt
interface configuration command on each
HSRP interface so that if a router fails and comes back up, the preemption occurs and restores load
balancing.
Router A is configured as the active router for group 1, and Router B is configured as the active router
for group 2. The HSRP interface for Router A has an IP address of 10.0.0.1 with a group 1 standby
priority of 110 (the default is 100). The HSRP interface for Router B has an IP address of 10.0.0.2 with
a group 2 standby priority of 110.
Group 1 uses a virtual IP address of 10.0.0.3 and group 2 uses a virtual IP address of 10.0.0.4.
Router A Configuration
Switch#
configure terminal
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
no switchport
Switch(config-if)#
ip address 10.0.0.1 255.255.255.0
Switch(config-if)#
standby 1 ip 10.0.0.3
Switch(config-if)#
standby 1 priority 110
Switch(config-if)#
standby 1 preempt
Switch(config-if)#
standby 2 ip 10.0.0.4
Switch(config-if)#
standby 2 preempt
Switch(config-if)#
end
Router B Configuration
Switch#
configure terminal
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
no switchport
Switch(config-if)#
ip address 10.0.0.2 255.255.255.0
Switch(config-if)#
standby 1 ip 10.0.0.3
Switch(config-if)#
standby 1 preempt
Switch(config-if)#
standby 2 ip 10.0.0.4
Switch(config-if)#
standby 2 priority 110
Switch(config-if)#
standby 2 preempt
Switch(config-if)#
end
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...