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.

enabled using the configuration shown in Example 14-25.<br />

Example 14-25. Enable the Interface-VLAN, PIM, HSRP, <strong>and</strong> DHCP Features on<br />

Egypt <strong>and</strong> Italy<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)# feature pim<br />

egypt(config)# feature dhcp<br />

egypt(config)# feature hsrp<br />

egypt(config)# feature interface-vlan<br />

egypt(config)# end<br />

egypt#<br />

Example 14-26 highlights the migrated SVI configuration with commented explanations.<br />

Example 14-26. SVI Configuration on Egypt <strong>and</strong> Italy<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 />

! We want ensure that the SVI is shutdown<br />

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

! NX-OS supports slash notation for IP addresses<br />

egypt(config-if)# ip address 10.198.26.251/24<br />

egypt(config-if)# ip pim sparse-mode<br />

! IOS defaults to having proxy-arp enabled by default,<br />

whereas, NX-OS ! disables this feature by default – we<br />

want to ensure a smooth !migration for h<strong>os</strong>ts which may<br />

have an incorrect default gateway !configuration<br />

egypt(config-if)# ip proxy-arp<br />

egypt(config-if)# no ip redirects<br />

! In lieu of "router eigrp" mode configuration we use<br />

interface<br />

! comm<strong>and</strong>s to specify how this interface will participate<br />

in EIGRP<br />

egypt(config-if)# ip router eigrp 1341<br />

egypt(config-if)# ip passive-interface eigrp 1341

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

Saved successfully!

Ooh no, something went wrong!