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.

egypt(config-if-range)# channel-group 50 mode active<br />

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

egypt(config-if-range)# end<br />

egypt#<br />

The corresponding vPC configuration will be placed on Belgium <strong>and</strong> Ghana, as shown in<br />

Example 14-51 <strong>and</strong> Example 14-52.<br />

Example 14-51. vPC Configuration on Belgium<br />

Click here to view code image<br />

belgium# conf t<br />

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

CNTL/Z.<br />

belgium(config)# feature lacp<br />

belgium(config)# feature vpc<br />

belgium(config)# vpc domain 2<br />

belgium(config-vpc-domain)# peer-keepalive destination<br />

30.1.130.106 source<br />

30.1.131.105<br />

belgium(config-vpc-domain)# interface port-channel1<br />

belgium(config-if)# switchport mode trunk<br />

belgium(config-if)# vpc peer-link<br />

belgium(config-if)# spanning-tree port type network<br />

belgium(config-if)#<br />

belgium(config-if)# interface port-channel50<br />

belgium(config-if)# switchport mode trunk<br />

belgium(config-if)# vpc 50<br />

belgium(config-if)# speed 10000<br />

belgium(config-if)#<br />

belgium(config-if)# interface Ethernet1/1 - 2<br />

belgium(config-if-range)# switchport mode trunk<br />

belgium(config-if-range)# channel-group 1 mode active<br />

belgium(config-if-range)#<br />

belgium(config-if-range)# interface Ethernet1/3 - 4<br />

belgium(config-if-range)# switchport mode trunk<br />

belgium(config-if-range)# channel-group 50 mode active<br />

belgium(config-if-range)#<br />

belgium(config-if-range)# interface mgmt0<br />

belgium(config-if)# ip address 30.1.131.105/16<br />

belgium(config-if)# end<br />

belgium#

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

Saved successfully!

Ooh no, something went wrong!