Nexus vPC

From HackerNet
Revision as of 21:07, 6 October 2015 by Helikopter (talk | contribs)
Jump to: navigation, search

Virtual Port-Channel är Ciscos MLAG-variant.

Konfiguration

Aktivera vPC

feature vpc

Skapa vrf för keepalive och assigna interface

vrf context VPC-KEEPALIVE
interface po1
no switchport
vrf member VPC-KEEPALIVE
ip address 10.255.255.1/30
no shut

Domänkonfiguration

vpc domain <number>
 role priority 1
 system-priority 1000
 peer-keepalive destination 10.255.255.2 source 10.255.255.1 vrf VPC-KEEPALIVE
 peer-gateway
 auto-recovery
 ip arp synchronize
 ipv6 nd synchronize

Om man kör FabricPath lägg även till:

 fabricpath switch-id <id>

Dra upp vPC peer-link

interface port-channel2
spanning-tree port type network  #för Bridge Assurance
vpc peer-link

Skapa vPCer

interface port-channel20
swi mode trunk
 vpc 20

Show

show run vpc
show vpc brief
show vpc role
show vpc consistency-parameters
show vpc orphan ports