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.

D 10.198.26.0/24<br />

[90/3328] via 10.198.0.2, 00:00:08,<br />

TenGigabitEthernet4/2<br />

[90/3328] via 10.198.0.10, 00:00:08,<br />

TenGigabitEthernet4/3<br />

[90/3328] via 10.198.2.2, 00:00:08, Portchannel3<br />

[90/3328] via 10.198.2.6, 00:00:08, Portchannel4<br />

D 10.198.57.0/24<br />

[90/3328] via 10.198.0.2, 00:00:08,<br />

TenGigabitEthernet4/2<br />

[90/3328] via 10.198.0.10, 00:00:08,<br />

TenGigabitEthernet4/3<br />

[90/3328] via 10.198.2.2, 00:00:08, Portchannel3<br />

[90/3328] via 10.198.2.6, 00:00:08, Portchannel4<br />

While inbound traffic is being distributed between the Nexus <strong>and</strong> 6500 devices, all traffic<br />

leaving the VLANs is still being routed by the 6500 because it is the active HSRP device.<br />

By adjusting the HSRP priority, Acme can force HSRP to become active on the Nexus<br />

aggregation switches. To accomplish this, Acme must configure the HSRP priority, which is<br />

higher than any of the other HSRP routers, <strong>and</strong> enable preemption, as shown in Example 14-<br />

36 <strong>and</strong> verified in Example 14-37.<br />

Example 14-36. Configure AG1 (Egypt) as the Active HSRP Router<br />

Click here to view code image<br />

egypt# conf t<br />

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

CNTL/Z.<br />

egypt(config)# interface Vlan26<br />

egypt(config-if)# hsrp 26<br />

egypt(config-if-hsrp)# priority 200<br />

egypt(config-if-hsrp)# preempt<br />

egypt(config-if-hsrp)#<br />

egypt(config-if-hsrp)# interface Vlan57<br />

egypt(config-if)# hsrp 57<br />

egypt(config-if-hsrp)# priority 200<br />

egypt(config-if-hsrp)# preempt<br />

egypt(config-if-hsrp)#

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

Saved successfully!

Ooh no, something went wrong!