CCNP Certification / BCMSN Examination Tutorial: Starting out With HSRP
Described in RFC 2281, HSRP is actually a Cisco-proprietary protocol during which routers are set into an HSRP router team. Together with dynamic routing protocols and STP, HSRP is taken into account a higher-availability community service, due to the fact all a few have an Practically fast cutover to the secondary route when the key path is unavailable.
On the list of routers will be chosen as the main (“Active”, in HSRP terminology), and that primary will take care of the routing whilst the opposite routers are in standby, All set to deal with the load if the first router results in being unavailable. On this trend, HSRP makes certain a large network uptime, as it routes IP website traffic devoid of counting on one router.
The hosts making use of HSRP for a gateway don’t know the particular IP or MAC addresses with the routers from the team. They’re communicating using a pseudorouter, a “Digital router” developed because of the HSRP configuration. This virtual router will likely have a Digital MAC and IP adddress also.
The standby routers aren’t just going to be sitting down there, although! By configuring multiple HSRP groups on an individual interface, HSRP load balancing may be accomplished.
Right before we get to the more Highly developed HSRP configuration, we greater get yourself a essential one particular started! We’ll be utilizing a two-router topology in this article, and Remember the fact that a single or each of these routers may very well be multilayer switches at the same time. For ease of studying, I’m intending to consult with them only as routers.
R2 and R3 will both be configured to be in standby team five. The virtual router can have an IP handle of 172.12.23.ten /24. All hosts in VLAN one hundred should use this address as their default gateway.
R2(config)#interface ethernet0
R2(config-if)#standby 5 ip 172.12.23.10
R3(config)#interface ethernet0
R3(config-if)#standby five ip 172.twelve.23.ten
The clearly show command for HSRP is exhibit standby, and it’s the main command you must operate when configuring and troubleshooting HSRP. Enable’s operate it on both of those routers and Assess benefits.
R2#present standby
Ethernet0 토토검증 – Team 5
Neighborhood point out is Standby, precedence one hundred
Hellotime 3 sec, holdtime ten sec
Up coming hello despatched in 0.776
Virtual IP deal with is 172.12.23.ten configured
Lively router is 172.twelve.23.3, precedence 100 expires in nine.568
Standby router is regional
1 state alterations, previous state change 00:00:22
R3#show standby
Neighborhood condition is Active, precedence one hundred
Following good day despatched in two.592
Active router is area
Standby router is 172.12.23.two expires in 8.020
Digital mac tackle is 0000.0c07.ac05
two state improvements, past state transform 00:02:08
We will see that R3 has actually been selected as being the Active router (“area state is Active”), the virtual router’s IP is 172.12.23.10, and R2 is definitely the standby router.
Usually there are some HSRP values that you just’ll need to have to change occasionally. Let's say we want R2 to be the Active router instead? Can we alter the MAC handle with the virtual router? I’ll reply Individuals thoughts in the next portion of this HSRP tutorial!
