22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

HSRP<br />

• Virtual Router Redundancy Protocol (VRRP)<br />

• Gateway Load Balancing Protocol (GLBP)<br />

HSRP is a Cisco innovation introduced to the networking world in 1998 <strong>and</strong> described in<br />

RFC 2281. HSRP enables two or more routers to provide first-hop redundancy services for<br />

IP traffic. In HSRP, a virtual IP address is configured <strong>and</strong> is “owned” by one of the routers<br />

participating in the HSRP group to represent the default gateway for a given subnet. If that<br />

router fails or is taken out of service, the second router assumes the role of the default<br />

gateway using the same Media Access Control (MAC) address. This prevents the h<strong>os</strong>ts on<br />

the network from needing to send an Address Resolution Protocol (ARP) for the new<br />

gateway’s MAC address, <strong>and</strong> traffic is passed with minimal to no disruption.<br />

HSRP is supported on both the Nexus 7000 <strong>and</strong> 5500 series switches. The examples in this<br />

chapter focus on HSRP configuration for the Nexus 7000.<br />

HSRP Configuration<br />

The first step to configure HSRP is to enable it in global configuration mode using the<br />

feature comm<strong>and</strong>, as demonstrated in Example 3-88. With the modular nature of NX-OS,<br />

using the feature comm<strong>and</strong> loads the HSRP modular code into memory for execution.<br />

Without the feature enabled, it would not be resident in memory.<br />

Figure 3-11 illustrates the topology used in Examples 3-100 through 3-110.<br />

Figure 3-11. Network Topology for HSRP Configuration<br />

Example 3-100. Enabling the HSRP Feature<br />

Click here to view code image<br />

Congo# config t<br />

Enter configuration comm<strong>and</strong>s, one per line. End with<br />

CNTL/Z.<br />

Congo(config)# feature hsrp<br />

Congo(config)# end<br />

Congo# show run hsrp<br />

!Comm<strong>and</strong>: show running-config hsrp<br />

!Time: Sun Oct 11 21:44:42 2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!