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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VRRP<br />

2 state changes, last state change 00:00:39<br />

IP redundancy name is hsrp-Vlan101-101-V6 (default)<br />

Secondary VIP(s):<br />

6000:ab8::1<br />

Virtual Router Redundancy Protocol (VRRP) is an industry st<strong>and</strong>ard introduced to the<br />

networking world in 2004 <strong>and</strong> described in RFC 3768. VRRP enables two or more routers<br />

to provide first-hop redundancy services for IP traffic. In VRRP, a virtual IP address is<br />

configured <strong>and</strong> is “owned” by one of the routers participating in the VRRP group to<br />

represent the default gateway for a given subnet. If that router fails or is taken out of service,<br />

the second router assumes the role of the default gateway using the same MAC address. This<br />

prevents the h<strong>os</strong>ts on the network from needing to send an ARP request for the new<br />

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

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

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

VRRP Configuration<br />

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

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

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

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

Figure 3-12 illustrates the topology used in Examples 3-111 through 3-118.<br />

Figure 3-12. Network Topology for VRRP Configuration<br />

Example 3-111. Enabling the VRRP 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 vrrp<br />

Congo(config)# end

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

Saved successfully!

Ooh no, something went wrong!