Difference between revisions of "Nexus vPC"

From HackerNet
Jump to: navigation, search
(Created page with "Virtual Port-Channel är Ciscos MLAG-variant. ==Konfiguration== Aktivera vPC feature vpc Skapa vrf för keepalive och assigna interface vrf context VPC-KEEPALIVE interfac...")
 
m
Line 21: Line 21:
 
   auto-recovery
 
   auto-recovery
 
   ip arp synchronize
 
   ip arp synchronize
 +
  ipv6 nd synchronize
 
Om man kör FabricPath lägg även till:
 
Om man kör FabricPath lägg även till:
 
   fabricpath switch-id <id>
 
   fabricpath switch-id <id>
Line 26: Line 27:
 
Dra upp vPC peer-link
 
Dra upp vPC peer-link
 
  interface port-channel2
 
  interface port-channel2
 +
spanning-tree port type network  #för Bridge Assurance
 
  vpc peer-link
 
  vpc peer-link
  
Line 35: Line 37:
 
Show
 
Show
 
  show run vpc
 
  show run vpc
  show vpc
+
  show vpc brief
 
  show vpc role
 
  show vpc role
 +
show vpc consistency-parameters
 +
show vpc orphan ports
  
 
[[Category:Cisco]]
 
[[Category:Cisco]]

Revision as of 20:07, 6 October 2015

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