martedì 20 novembre 2012

VPC


VPC

 

N7K-2-pod6# conf t
N7K-2-pod6(config)# feature vpc                                                                      <----------------- 1
N7K-2-pod6(config)# vpc domain 56                                                                <----------------- 2
N7K-2-pod6(config-vpc-domain)# ping 192.168.0.205 vrf management   <----------------- 3 ping   
                                                                                                                                                           all'altro 7k

 PING 192.168.0.205 (192.168.0.205): 56 data bytes
Request 0 timed out
64 bytes from 192.168.0.205: icmp_seq=1 ttl=254 time=1.163 ms
64 bytes from 192.168.0.205: icmp_seq=2 ttl=254 time=0.646 ms
64 bytes from 192.168.0.205: icmp_seq=3 ttl=254 time=0.66 ms
64 bytes from 192.168.0.205: icmp_seq=4 ttl=254 time=0.818 ms
--- 192.168.0.205 ping statistics ---
5 packets transmitted, 4 packets received, 20.00% packet loss
round-trip min/avg/max = 0.646/0.821/1.163 ms

  N7K-2-pod6(config-vpc-domain)# sh vpc
Legend:
                (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                          : 56
Peer status                               : peer link not configured
vPC keep-alive status             : Disabled
Configuration consistency status  : failed
Per-vlan consistency status            : failed
Configuration inconsistency reason: vPC peer-link does not exist
Type-2 consistency status              : failed
Type-2 inconsistency reason         : vPC peer-link does not exist
vPC role                                             : none established
Number of vPCs configured          : 0
Peer Gateway                                  : Disabled
Dual-active excluded VLANs         : -
Graceful Consistency Check         : Disabled (due to peer configuration)
Auto-recovery status                     : Disabled
 

N7K-2-pod6(config-vpc-domain)# peer
peer-gateway     peer-keepalive   peer-switch
N7K-2-pod6(config-vpc-domain)# peer-keepalive destination 192.168.0.205    <------------- 4 peer
                                                                                                                                                                 all'altro 7k

Note:

 --------:: Management VRF will be used as the default VRF ::--------

 
N7K-2-pod6(config-vpc-domain)# sh vpc

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

vPC domain id                     : 56
Peer status                          : peer link not configured
vPC keep-alive status             : peer is alive
Configuration consistency status  : failed
Per-vlan consistency status       : failed
Configuration inconsistency reason: vPC peer-link does not exist
Type-2 consistency status         : failed
Type-2 inconsistency reason       : vPC peer-link does not exist
vPC role                          : none established
Number of vPCs configured         : 0
Peer Gateway                      : Disabled
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Disabled (due to peer configuration)
Auto-recovery status              : Disabled

 

N7K-2-pod6(config-vpc-domain)# int e1/25                           <----------------- 5  e1/25 link all'altro 7k
N7K-2-pod6(config-if)# channel-group 7 mode on

 
N7K-2-pod6(config-if)# sh port-channel summary
Flags:  D - Down        P - Up in port-channel (members)
        I - Individual  H - Hot-standby (LACP only)
        s - Suspended   r - Module-removed
        S - Switched    R - Routed
        U - Up (port-channel)
        M - Not in use. Min-links not met

--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
7     Po7(RU)     Eth      NONE      Eth1/25(P)


N7K-2-pod6(config-if)# int port-channel 7

 

N7K-2-pod6(config)# sh port-channel summary
Flags:  D - Down        P - Up in port-channel (members)
        I - Individual  H - Hot-standby (LACP only)   s - Suspended   r - Module-removed
        S - Switched    R – Routed   U - Up (port-channel)      M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
7     Po7(RU)     Eth      NONE      Eth1/25(P)

 
N7K-1-pod6(config-if)# int port-channel 7
N7K-1-pod6(config-if)# vpc                      <-------5    NON PERMETTE DI ESEGUIRE "VPC PEER-LINK"
                           ^
% Incomplete command at '^' marker.

 
N7K-1-pod5(config-if)# vpc ?
*** No matching command found in current mode, matching in (config) mode ***
  domain  Specify domain

 
N7K-1-pod5(config-if)# sh port-channel summary
Flags:  D - Down        P - Up in port-channel (members)   I - Individual  H - Hot-standby (LACP only)
        s - Suspended   r - Module-removed   S - Switched    R – Routed  U - Up (port-channel)
        M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
7     Po7(RU)     Eth      NONE      Eth1/25(P)             <-------5    LA CAUSA E' CHE "RU" STA PER ROUTED

                                                                                                          DEVE ESSERE SU CIOE’ SWITCHED

 
N7K-2-pod6(config)#     int port-channel 7
N7K-2-pod6(config-if)# switchport               <------------5  senza questo non funzionava (era ROUTED)
N7K-2-pod6(config-if)# vpc peer-link

 

 
Please note that spanning tree port type is changed to "network" port type on vPC peer-link.
This will enable spanning tree Bridge Assurance on vPC peer-link provided the STP Bridge Assurance
(which is enabled by default) is not disabled.

 
N7K-2-pod6(config-if)# sh vpc
Legend:
                (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                     : 56
Peer status                       : peer adjacency formed ok <------5  ADESSO E' OK
vPC keep-alive status             : peer is alive
Configuration consistency status  : success
Per-vlan consistency status       : success
Type-2 inconsistency reason       : Consistency Check Not Performed
vPC role                          : primary
Number of vPCs configured         : 0
Peer Gateway                      : Disabled
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Enabled
Auto-recovery status              : Disabled

vPC Peer-link status
---------------------------------------------------------------------
id   Port   Status Active vlans
--   ----   ------ --------------------------------------------------
1    Po7    up     1
 
N7K-1-pod5(config-if)# sh vpc
Legend:
                (*) - local vPC is down, forwarding via vPC peer-link
vPC domain id                     : 56
Peer status                       : peer adjacency formed ok
vPC keep-alive status             : peer is alive
Configuration consistency status  : success
Per-vlan consistency status       : success
Type-2 consistency status         : success
vPC role                          : secondary
Number of vPCs configured         : 0
Peer Gateway                      : Disabled
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Enabled
Auto-recovery status              : Disabled

 

 
N7K-2-pod6(config-if)# sh vpc consistency-parameters global
    Legend:
        Type 1 : vPC will be suspended in case of mismatch

Name                          Type          Local Value            Peer Value
-------------                    ----       ---------------------- -----------------------
STP Mode                    1                   MST                         MST
STP Disabled                1                  None                       None
STP MST Region Name         1     Pod5and6               Pod5and6
STP MST Region Revision     1            56                           56
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
Allowed VLANs               -     1                      1
Local suspended VLANs       -     -                      -
N7K-2-pod6(config-if)#

 


N5K-6# conf t
Enter configuration commands, one per line.  End with CNTL/Z.


N5K-6(config)# int ethernet 1/19
N5K-6(config-if)# channel-group 7 mode active
LACP process needs to be started before configuring active mode   <------- NON ERA ABILITATO LACP
N5K-6(config-if)# int ethernet 1/20
N5K-6(config-if)# channel-group 7 mode active
LACP process needs to be started before configuring active mode

 

N5K-6(config-if)# feature lacp                                 <------- SI ABILITA LA FEATURES LACP
N5K-6(config)# int ethernet 1/19-20
N5K-6(config-if-range)# channel-group 7 mode active


 

Nessun commento:

Posta un commento