Tuesday, December 20, 2016

Cisco - Nexus vPC Config commands .


feature vpc

interface Ethernet1/48
  description peer-keepalive
  vrf member peer-keepalive
  ip address 10.19.1.161/30
  no shutdown

interface port-channel1
  switchport
  switchport mode fabricpath
  vpc peer-link


interface Ethernet1/1
  description peer-link to Other Switch
  switchport
  channel-group 1 mode active
  no shutdown 
  
interface Ethernet2/1
  description peer-link to Other Switch 
  switchport
  channel-group 1 mode active
  no shutdown
  

vpc domain 1
  peer-switch
  role priority 2000
  system-priority 100
  peer-keepalive destination 10.19.1.161 source 10.19.1.162 vrf peer-keepalive
  peer-gateway

====================

switch# sh vpc brief 

Legend:
                (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                     : 1   
vPC+ switch id                    : 1
Peer status                       : peer adjacency formed ok      
vPC keep-alive status             : peer is alive                 
vPC fabricpath status             : peer is reachable through fabricpath
Configuration consistency status  : success 
Per-vlan consistency status       : success                       
Type-2 consistency status         : success 
vPC role                          : primary                       
Number of vPCs configured         : 64  
Peer Gateway                      : Enabled
Peer gateway excluded VLANs       : -
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Enabled
Auto-recovery status              : Enabled (timeout = 240 seconds)
Fabricpath load balancing         : Disabled
Port Channel Limit                : limit to 244

vPC Peer-link status
---------------------------------------------------------------------
id   Port   Status Active vlans    
--   ----   ------ --------------------------------------------------
1    Po1    up     30-32                  

vPC status
-------------------------------------------------------------------------------
id   Port      Status Consistency Reason           Active vlans  vPC+ Attribute
--   ----      ------ ----------- ------           ------------  --------------
101  Po101     up     success     success          30-32        1.11.65535   

No comments:

Post a Comment

Search This Blog