4.3.3.4 Lab - Configure HSRP

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi friends welcome tour in this video we are going to see the lab activity configuring it just RP here we can see our topology diagram also our a trussing table we will go through the objectives of this lab activity in part 1 built the network and verify connectivity in party to configure of us to hope redundancy using HS RP also we will go through the background spanning tree provides a loop free redundancy between switches within a land however it does not provide redundant default gateways for enthuse or devices within the network if one of the routers fails first to hope redundancy protocols that is FH our piece provide redundant default gateways for anti devices with no into user configuration necessary so in this lab we will configure as its course hot standby routing protocol that is H s RP a first hope redundancy protocol if H R P so this is what we are going to do in this lab activity here we can see a cure resources we need three routers 1 & 4 1 also 2 9 6 rows to switchers pcs then turn it and the serial cables now we will come to path 1 build the network and verify connectivity in part 1 we will set up the network topology and the configure basic settings such as the interface IP addresses static routing device access and passwords right so keep step 1 cable the network as shown in the topology attach the devices are shown in the topology diagram and the cable as necessary so we are going to build this topology on the cisco packet tracer we need it through your router so one nine four one here is that then researchers at 1 and 6 0 then 2 pcs we will rename all these devices this is r2 here is our 1 and this is our 3 also we have s 1 this is s 3 and we have a PC a also PCC the C - C now we will connect these devices coming to connections copper straight through from such faster that 0 star 6 to PC a then faster r0 / 18 to this PCC and from G 0 / 1 to this switch here we are going to use faster than 0 / 5 here are G 0 / 1 - 5 total 0 / 5 now we will select a serial DC e here we can see serial ports are not available so we will add these serial ports on these routers first of all we will add it on our run and we will put off this device here is the switch and here we can see this card serial high speed of an interface card providing two serial ports so we will use this and now we will switch it turn coming to R 2 and coming to our 3 to power it off right now we will select it is a serial DC e coming to r1 serial 0 / 0 / 0 2 serial 0 / 0 star 0 from r2 serial 0 / 0 / 1 - r300 star 0/1 no we will connect these two switches s1 and s3 using copper crossover from faster faster turret 0/3 to faster turns hero star 3 right and we will label how these here we have serial 0 / 0 / 0 so here serious heroes heroes not zero and here we have serial 0 / 0 / 1 and here also 0 0 / 0 / 1 and this side is DC e and here also DC e here we used G 0 / 1 here also we used G 0 / 1 the hurry is say F 0 / 5 here also F 0 / 5 and to this PC on switch yes 0 star 6 + 1 s 3 you have 0 / 18 now we will come to step to configure PC house so we will get the IP address of these pcs here we can see PC a IP address is 192 dot 168 door to 1.31 we will copy this address also we can see the subnet mask and default gateway so 100 to 1 so coming to PC a the stop IP configuration here is the IP address subnet to mask and here the default gateway is 1.21 I will get the IEP address of PCC here we can see that 1 9 2 1 6 8 233 here we can see the subject to mask and default the Gateway coming to PCC and here is the default gateway its 1.3 coming to step 3 initialize and reload the routers and switches as necessary so step step before configure basic settings for each router so we are going to configure each router we have to configure all these basic settings here we can see disable dns lookup configure the device name as a showing the topology configure IP addresses for the routers as listed in that dressing table set clock rate to one two eight zero zero zero for all DCC interfaces as in class as they encrypted privileged to exit node password as same Cisco for the console and to vty passwords and enable login configure logging synchronous to prevent console messages from interrupting command entry then copy the running configuration to the static configuration so we will do these the basic settings on these routers first first of all we will do it turn r1 CLI continue with the configuration dialog no enable configure terminal first of all we will disable DNS lookup no IP domain lookup also we will set the hostname as r1 and we will set the IP address for the routers we have to go to the addressing table here we can see device are one interface G 0 / 1 and here we can see the IP address or so we can see the subnet mask we will go to that interface Gigabit Ethernet 0 / 1 and we will set the IP address are specified in that crossing table here is that and it's a beta mask 255.255.255.0 no shut command also we can see the interface serial 0 / 0 / 0 here we can see the IP address you'll copy this address also we can see the submit to mask lexicon we will go to that interface so serial 0 / 0 / 0 IP address 192 oops you already copied we will paste it here and we will get a something to mask 255.255.255.0 also we will set the clock rate as specified that is one two eight zero zero zero and you know shut command interface seriously Rosa Rosa Road stay to down because the other end also we have to configure now we will enable secret class also we will go to line console 0 and we will set the password as Cisco login also logging synchronous and we will go to line vty 0 to 15 password a Cisco login now we will save the configurations copy running-config startup config now we will verify the configurations we have done on our one show running config hostname enable secret and here we can see IP at first details of each interface write serial 0 / 0 / 0 here we can see that oh here we made a mistake here we can see at the subjective mask we configured incorrectly so we will reconfigure these serial 0/0 so R 0 configure terminal interface serial 0/0 star 0 IP address 192 no it's not 192 here we can see that and there's a little mask 255.255.255.0 copy running-config startup config and now we will verify serial 0/0 star zero here we can see now it's correct right now we will do it on the router r2 device must be powered on right here is the button CLI continue with the configuration dialog no enable configure terminal no IP domain lookup also we will set the hostname as r2 and here we can see our two interfaces CL 0 smart 0 slash 0 here we can see the IP address also the submit to mask interface serial 0 / 0 / 0 IP address also submit to mask 255.255.255.0 to know should command also we can see a serial 0 / 0 / 1 it's a DC e here we can see the IP address you will copy this address also we can see the submit to mask coming to that interface so serial 0 / 0 / 1 IP address here is that and the subnet mask 255.255.255.0 - also we will set the procreate here one two eight zero zero zero no shut command here we can see the next two interface on r2 is a loopback one here we can see the IP address you will copy this address also we can see the subnet mask here let's eat interface loopback one we'll set the IP address here is the IP address and the subnet mask 255.255.255.0 for now we will enable secret as class and we'll go to line console 0 set the password as cisco login also logging synchronous will go to line vty 0 to 15 password as cisco login copy running-config startup config you will verify the configuration on our to show running config here we can see interfaces serious Rosner 0/0 here we can see the IP address and submit to mask serial 0 / 0 / 1 or so here we can see the interface loopback one and its IP address now we will do it on our three no enable configure terminal no IP domain lookup also the hostname as our three now we will see the interface IP address here we can see the device r3 interface G 0 / 1 I P addresses 192 dot 168 or 21.3 also we can see the submit to mask so coming to that interface a Gigabit Ethernet 0 / 1 hi Pietrus here is that and it's subject to mask 255.255.255.0 no command also we can see the interface serial 0 / 0 / 1 here we can see the IP address also the subnet to mask exit interface serial 0 / 0 / 1 hi Pietrus and these two mask 255.255.255.0 5 to know shut next we will enable secret as class or so we will go to line console 0 and we will set the password as cisco login also we will give logging synchronous now we will go to line vty 0 to 15 password of cisco login copy running-config startup-config we will verify the configuration by giving the command show running config sure we can see the IP address details of Gigabit Ethernet 0 / 1 also the interface serial 0 / 0 / 1 it's correct now we will come to step of 5 configure basic settings for each switch so disable DNS lookup configure the device name as shown in the topology as in class as the encrypted privilege to exit mode password configure IP addresses for the switches as listed in the addressing table then configure the default gateway on each switch same Cisco for the console and vty pants wait and to enable login then configure logging synchronous to prevent console messages from interrupting command entry and finally copy the running configuration to the startup configuration so we will do these basic settings on these switches s1 and s3 first of all we will do it turn the suci s1 CLI enable configure terminal and no IP domain lookup hostname as s1 enable secret class line console 0 password a Cisco login also logging synchronous line vty 0 to 15 password a Cisco login now we'll go to our addressing table and here we can see the device s1 interface vlan1 here we can see the IP address you will copy researchers also we can see the subnet mask and the default gateway we will set that we have to go to that interface vlan1 IP address here is that then this up into mask 255.255.255.0 no shut and also we will set the IP default gateway it's a 1.1 copy running-config startup config now we will do turn a history enable configure terminal hostname as s3 no IP domain lookup you have to enable a secret as class line console 0 password as cisco password cisco login also logging synchronous line vty 0 to 15 password a cisco login and to be able to check the IP address of yes 3 VLAN 1 here we can see that you'll copy this atras submit to mask and default gateway I go to the interface VLAN 1 and the IP address are here is that Andy something to mask 255.255.255.0 no shut also we will set the IP default gateway it's a 1.3 we will verify show running config write everything correct so we'll copy running-config startup config now we will come to step 6 verify connectivity between pca and the pcc being from pca to PCC where the ping results successful we will check that we will get the IP address of PCC here is that we'll copy this address and coming to PC a desktop command prompt bring to PCC here is the IP address and here we can see we are getting the replay if the pings are not successful troubleshoot the basic device configurations before continuing anyway here it is successful it may be necessary to disable the PC firewall to successfully ping between pcs right coming to step 7 configure routing configure our IP version 2 on all routers and all the networks except to not 9.16 5.20 0.224 / 27 into the our IP process first of all we will do it on the router r1 Cisco enable password as class configure terminal router rip then we have a version to know Auto summary do show IP route connected here we are going to do the network 10.0.0.0 hold so the network one ninety two dot one sixty eight dot one dot zero copy running-config startup config now we will do it on our - password Cisco enable password class configure terminal router rip version 2 no auto summary we will see that directly connected networks your do show IP route connected and here we can see those networks so we are not going to add this network network 10.0.0.0 copy running-config startup config now we will do it on our 3 password cisco enable password class configure terminal router rip version 2 no auto summary do show IP route connected network 10.0.0.0 also the network one ninety two dot one sixty eight dot one dot zero copy running-config startup can't fake coming to be configure a default route on our to using loopback woman as the exit interface to this network right so coming to our to CLI configure terminal IP route 0.0.0.0 space 0.0.0.0 space we have looked back one right copy running-config startup-config coming to see on our to use the following commands to redistribute the default route into the r.i.p process so we have to go to router r.i.p then we have to give this command default information originated coming to our to configure terminal outer rip default in from information originate copy running-config startup config now we will come to step 8 verify connectivity ya from pca you should be able to ping every interface on r1 r2 r3 and the pcc we're all being successful we will check that we will take our addressing table so that it will be more easy to pink right so coming to PC a command prompt first of all we will get the IP address of device our one interface G 0 / 1 here is that ping to this interface here we can see we are getting the replay no we will get the IP address of serial 0/0 smart 0 bring to this interface we are getting the replay now we will get the IP address of this interface a serial zero slash zero slash zero on our to here is that ping to right we are getting the replay now we will get the IP address of serial 0 / 0 / 1 here is that we are getting the replaying now we will try to ping to this a loopback one here we can see we are getting the replay now coming to our 3G 0/1 we are getting the replaying coming to CDL 0 / 0 / 1 we are getting the replaying also we will ping to PCC ping to PCC we are getting the replay if the pings are not successful troubleshoot the basic device configurations before continuing anyway here it's a successful now coming to be from PCC you should be able to ping every interface on R 1 R 2 R 3 and PC a we're all pings successful we will check that now if the pings are not successful troubleshoot the basic device configurations before continuing right so we will attest that now coming to PCC command prompt here is the IP address linked to this interface we are getting the replay into this interface we are getting the replay coming to our to bring to this interface we are getting the replay next interface we are getting the replay coming to Lubeck we are getting the replay now coming to our three ping to this interface we are getting the replay coming to the next interface on our three we are getting the replay now we will try it to this PC a here is the IP address we are getting the replay coming to party to configure of us to hope redundancy using HS RP even though the topology has been designed to be the some redundancy two routers and two switches on the same LAN network both the PC a and the PCC are configured with only one gateway atras pca is using r1 and the PCC is using r3 if either of these routers or the interfaces on the routers event it down the PC could lose its connection to the internet so in part two we will test how the network up behaves both before and after configuring HSR P to do this you will determine the path that packets are take to the loopback address on r2 coming to step one which remind the path for the Internet traffic for PCA and the PCC from a command prompt on PC a issue a tray set command to the to not 9.16 5.20 0.225 loopback address of our two right so here we are going to give this command coming to PC a command prompt and here we are going to give that command and here we can see the output what path did the packets that take from PCA to this network so coming to our output here we can see it goes to this interface that is the IP address of this interface and 0/1 on our one then it goes to that IP address won't be given for tracer that means that the loopback one interface on our two coming to be from a command prompt on PCC issue a trace head command to this network a loopback address of our to now what path did the packet should take from PCC to this network right so we will check that coming to PCC command prompt and here we are going to view that command try cert and here we can see it goes through 192.168 or 21.3 so this is the gateway of this PCC that is the IP address of this interface G 0 / 1 on this r3 and then it goes to that IP address the IP address of a loopback one on r2 now we will come to step to start a ping session or PCA and to break the connection between s1 and r1 a from a command prompt on PC a issue a ping - t command - to not 9.16 5.20 0.225 address on AB to make sure you leave the command prompt window open the pings continue until you press ctrl + C or until you close the command prompt window here we can see that command so we are going to give this command on PC a here is that command here we have to give a - and here we can see coming to be as the ping continues disconnect dieter net cable from faceted or 0/5 here we can see that faster turn 0/5 on s1 you can also shut down the s1 a faster current 0/5 interface which creates the same result so what happened to the ping traffic so we will check that you will shut down this interface you have to go to that interface fastethernet 0/1 here we are going to give shutdown and then we can see the result it's down and here we can see the result fair we can see nodes requested timed out because timed out coming to see it would be the results if you repeat the step to a and it to be on PCC and ds3 obviously we will get the same result we will check that coming to PCC command prompt here also we are going to ping to this address - t and you know we are going to shut down this interface fastethernet 0/1 s3 c school enable class configure terminal we will go to that interface fastethernet 0/1 and we will give shadow in command and here we can see it's no request timed out right coming to D I reconnected the ethernet cables to foster parents grows large v or enable the F 0/5 interface on both the s1 and he s 3 respectively reissue pings to this network to not 9.16 5.20 0.225 from both pca and the pcc to make sure connectivity is already established right so here we can see now we are getting a request timed out coming to yes one enable password as class configure terminal will go to the interface faster third 0/5 you and we will give a no shut command and if your we can see now this interface is up here is that and here we can see now we are getting the replay to this loop back a one coming to PCC here we can see the ping to the interface loopback a one is Noriko's timed out we are going to bring this interface up configure terminal interface faster third 0/5 no shirt and here we can see now this interface is up here we can see we are getting the replay now right coming to step three configure H SRP or an r1 and r3 in this step we will configure H SRP and it change the default gateway address on PC a PCC yes when and here's to to the virtual IP address for HSR pr1 becomes the active router by a configuration of the HSR P priority command here we can see configure it it's just our P on r1 we have to go to the interface g 0 / 1 standby version 2 standby one here we can see the IP address what we are going to give then standby one priority 150 standby one print right so we are going to give this a command on the router r1 coming through the router r1 password Cisco enable password s-class configure terminal we will go to the interface a Gigabit Ethernet 0/1 standby version 2 standby 1 then we are going to set the IP address virtual IP address 192 dot 168 or to 1.25 for standby 1 then we are going to set the priority 150 standby 1 print copy running-config startup-config coming to be configure HS RP or an r3 here we can see the command you might be able to give on r3 coming to the router r3 password Cisco class configure terminal interface Gigabit Ethernet 0/1 standby version to standby one IP one ninety two dot one sixty eight dot 1.25 for coming to see verify it just RP by issuing the shows ten Bay command on r1 and r3 here are they given the output for this a show command here we can see that the shore standby on r1 here we can see this state is active here we can see the virtual IP address also we can see active virtual MAC address and here we can see the priority what we configured that is 150 and coming to r3 here we can see the show a standby output state is a standby here we can see the virtual IP address also we can see virtual make a trust and here we can see priority hundred so this is a default to priority also here we have some questions using the output shown a bow answer the following questions which rotor is the active rotor so here we have seen r1 is now active rotor what is the MAC address for the virtual IP address here we can see that active virtual make atures your T's so same thing we can see on our three also what is the IP address and priority of the standby router so here a standby router is r3 here we can see that we can see the virtual IP address 192.168.1.1 also here we can see the priority hundred this is the default two priority same Shaka Montavilla verify on our routers r1 and r3 coming to r1 here we are going to give a show standby and here we can see the output state is active here we can see virtual IP address also we can see actual virtual MAC address and here we can see priority what we configured coming to r3 show standby and here we can see the output state is a standby here we can see the virtual IP address and active virtual marketers and here is the priority hundred coming 2d use the show standby brief command on r1 and r3 to view and it is our P status summary sample output is shown below here we can see that on r1 Shore standby brief so P indicates the configure to preempt here we can see the details also we can see on our three here is the output so same thing we will verify on our outer r1 and r3 enable show standby brief and here we can see the details interface group priority state is act you here we can see standby and here is the virtual IP address coming to our three Cisco enable class show standby brief and here we can see the details state is standby here we can see the virtual IP coming to e change the default gateway access for PCA PCC s1 and the s3 which a tracer should use we will use this virtual IP address that is 192 dot 168 o2 1.25 for right so coming to PC a IP configuration here we are going to give 1.25 for coming to PCC IP configuration here is the default gateway and coming to the switches yes one password Cisco enable password class configure terminal IP default gateway here is that show running config and we will verify that default gateway copy running-config startup config and coming to yes three password Cisco enable class configure terminal IP default gateway here is the IP address this is the virtual IP h's show running config and here we can see that copy running-config startup config coming to your verify the new settings issue a ping from both the PC a and the PCC to the loopback address of our to our the ping successful he will check that we will get the IP address of loopback of one here is that coming to PC a command prompt here we are going to ping to loop back here we can see we are getting the replay now we will try from PCC ping to the loop back here is the IP address we are getting the replay coming to stop before start a ping session on PC a and to break the connection between the switch that is connected to the active H SRP router r1 coming to a from a command prompt on PC a issue a ping a - T command to this network actress on our to ensure that you leave the command prompt the window open right so we will give this command coming to PC a command prompt here is that command right coming to be as the ping continuous disconnect the ethernet cable from faster power 0/5 you on s1 or shut down the F 0/5 interface what happened to the ping traffic right we will check that here is or ping coming to the suti s1 configure terminal we will go to the interface faster at 0 / 5 it's correct here we are going to give the command this shutdown request timed out here we can see we are getting the replay coming to step 5 verify it just RP settings on R 1 and R 3 issue - or standby brief comment on r1 and r3 which router is the active router so we will verify that first of all we will very verify on our one so we are going to give a show standby brief and here we can see the details but here we can see still the state shows the active here we can see standby its 1.3 also we will check it on our 3c school class show standby brief here we can see here our state is active so actually this router our throw is actually now but we are going to do we are going to remove this connection from here right and we will try now once more we will give this command to an artery here we can see now state this act to you also we can see the virtual IP address and we will see now on r1 we will give this command again and here we can see here we can see the state it's in it active unknown standby unknown HT sorry connect the cable between the switch and the router or enable interface faster turn 0 / 5 Nova - router is the active router explained right so we will connect this R 1 and s 1 G 0 / 1 - first 2/3 of 0 / 5 or so we will bring this link up no here we can see that now we will see who is the active router here coming to our 1 again here we are going to do the show command the show standby brief and - here we can see that now state is active active is local and here we can see the standby or saw virtual IP address now r1 is the active router coming to our 3 shows 10 by brief and here we can see the state now it's in standby and here we can see the active router that is 192.168.1.1 that is r1 right coming to step 6 change HSR P priorities a change the edges RP priority to 200 on r3 which is the active router so we will change that therapy priority on this r3 coming to the router r3 configure terminal we will go to the interface Gigabit Ethernet 0 / 1 and here we are going to give standby 1 priority as specified it 200 copy running-config startup config now we will verify the active router Cisco enable class shows 10 by a brief here we can see state act you active local coming to our 3 show standby brief and here we can see still here the state is a standby so here are the active router is our one next is issue the command to change the active router to our 3 without changing the priority but commander did you use so here we are going to use the command standby one print on this router r3 to change the actual router to this router coming to r3 configure terminal we'll go to the interface Gigabit Ethernet 0 / 1 and here we are going to give standby one print here we can see gigabit the turn 0 / 1 state standby to active coming to see use a show command to verify that our 3 is the active router right so first of all we will check it on r1 here we can see and now this r1 in standby here itself we can see that message anyway we will verify the help of ash or standby brief and here we can see that state is a standby and here we can see the active router that is 1 or 3 that is this router are three coming to r3 here we will give show standby brief and here we can see state is active and here we can see the standby router that is 192.168.1.1 that is to our router r1 hence here we can see the active router now is r3 here we have a reflection question a why would there be a need for redundancy in a LAN obviously with a single word we can give the answer it's for the availability well had that's all in this lab activity that is configuring it just our P front CT how ended out in this lab activity please comment below also if you like my video give a thumb and share to your friends and finally if you like to get my future uploading video info directly into our Gmail we can subscribe this channel thank you
Info
Channel: Tech Acad
Views: 34,210
Rating: undefined out of 5
Keywords: HSRP, CISCO, CCNA
Id: aVxFnAh2gFA
Channel Id: undefined
Length: 56min 20sec (3380 seconds)
Published: Fri May 25 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.