вторник, 7 июля 2015 г.

Create VPC between 2 nexus 7009

enable VPC feature

feature vpc
create VPC domain

vpc domain 20
  peer-switch
  peer-keepalive destination 10.254.3.21 source 10.254.3.22
  delay restore 360
  peer-gateway
  ip arp synchronize


Create vPC peer link

interface Ethernet3/1
  description -= N7K-2-2-PORT1 =-
  switchport
  switchport mode trunk
  mtu 9216
  channel-group 3 mode active
  no shutdown

interface Ethernet3/2
  description -= N7K-2-2-PORT2 =-
  switchport
  switchport mode trunk
  mtu 9216
  channel-group 3 mode active
  no shutdown

interface port-channel3
  description -= N7K-2-1 =-
  switchport
  switchport mode trunk
  spanning-tree port type network
  mtu 9216
  vpc peer-link

vPC peer-keepalive link

Interface mgmt0
  vrf member management
  ip address 10.254.3.21/24

on the other side

interface mgmt0
  vrf member management
  ip address 10.254.3.22/24

peer-keepalive destination 10.254.3.21 source 10.254.3.22

pre-n7k-002# show vpc consistency-parameters global 

    Legend:
        Type 1 : vPC will be suspended in case of mismatch

Name                        Type  Local Value            Peer Value             
-------------               ----  ---------------------- -----------------------
STP Mode                    1     Rapid-PVST             Rapid-PVST            
STP Disabled                1     None                   None                  
STP MST Region Name         1     ""                     ""                    
STP MST Region Revision     1     0                      0                     
STP MST Region Instance to  1                                                  
 VLAN Mapping                                                                  
STP Loopguard               1     Disabled               Disabled              
STP Bridge Assurance        1     Enabled                Enabled               
STP Port Type, Edge         1     Normal, Disabled,      Normal, Disabled,     
BPDUFilter, Edge BPDUGuard        Disabled               Disabled              
STP MST Simulate PVST       1     Enabled                Enabled               
Interface-vlan admin up     2     3001                   3001                  
Interface-vlan routing      2     1,2211,3001            1,2211,3001           
capability                                                                     
Allowed VLANs               -     1,2000-2002,2101-2105, 1,2000-2002,2101-2105,
                                  2109,2115,2201-2205,22 2109,2111,2115,2201-22
                                  11,3001-3003,3012-3013 05,2211,3001-3003,3012
                                  ,3021,3031,3041-3044,3 -3013,3021,3031,3041-3
                                  301-3302,3351-3357     044,3301-3302,3351-335
                                                         7                     
Local error VLANs           -     -                      -        


connect device to 2 NEXUS and create vpc 1

  interface port-channel1

  description -= ASA-MAIN =-
  switchport
  switchport mode trunk
  spanning-tree port type edge trunk
  spanning-tree bpduguard enable
  spanning-tree bpdufilter enable
  mtu 9216
  vpc 1       
interface port-channel1
  description -= ASA-MAIN =-
  switchport
  switchport mode trunk
  spanning-tree port type edge trunk
  spanning-tree bpduguard enable
  spanning-tree bpdufilter enable
  mtu 9216
  vpc 1 




Комментариев нет:

Отправить комментарий