Issue with vPC on Nk5 (Type-2 consistency status)

Unanswered Question
Jun 4th, 2012
User Badges:

Hi guys

i got an error during configuration of vPC between thow Nk5548UP swithes.


Please find attached configuration og both switches.


I cant see any missmatch in configuraiton


I also see following error under vPC status:


Type-2 consistency reason       : QoSMgr Qos configuration incompatible



Please advice!


/S

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Ivan Shirshin Mon, 06/04/2012 - 04:11
User Badges:
  • Cisco Employee,

Hi,


Type-2 error like this should refer to a configuration mismatch. Checking the outputs, there is a mismatch in QoS setup:


SW-A-SITE-NK5-01# sh vpc consistency-parameters global


    Legend:

        Type 1 : vPC will be suspended in case of mismatch


Name                        Type  Local Value            Peer Value            

-------------               ----  ----------------------      -----------------------

QoS                         2     ([], [3], [], [], [],            ([], [], [], [], [], 

                                       [])                               [])  


Note that beginning with Cisco NX-OS Release 5.0(2)N1(1), QoS parameters have been downgraded from Type 1 to Type 2, so they don't affect the link "up" status.


Looking at the configurations, there do seem to be differencies in QoS part.


Kind Regards,
Ivan

**Please grade this post if you find it useful.

vucko-sanel Mon, 06/04/2012 - 04:21
User Badges:

how should i resolve this issue Ivan now Ivan?


what about second errror i got during vpc configuration ...

SW-A-SITE-NK5-02# sh vpc

Legend:

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


vPC domain id                   : 5  

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       : failed 

Type-2 consistency reason       : QoSMgr Qos configuration incompatible

vPC role                        : secondary                    

Number of vPCs configured       : 1  

Peer Gateway                    : Disabled

Dual-active excluded VLANs      : -

Graceful Consistency Check      : Enabled


vPC Peer-link status

vucko-sanel Mon, 06/04/2012 - 04:39
User Badges:

i managed to solve the issue with QoSMgr Qos configuration incompatible.

Of some reasone some QoS configuration were mising on SW-A-SITE-NK5-02 switch.

But i still have issue wth Type-2 consistency statu failed, which i am not able to figure out ...

Ivan Shirshin Mon, 06/04/2012 - 04:44
User Badges:
  • Cisco Employee,

Could you send the fresh output of "sh vpc consistency-parameters global ", please?

Ivan Shirshin Mon, 06/04/2012 - 04:42
User Badges:
  • Cisco Employee,

Hi,


The "Type-2 consistency status       : failed" indicates consistency status (failed => inconsistent/mismatching), while "Type-2 consistency reason       : QoSMgr Qos configuration incompatible" indicates in which part of the vpc setup is this inconsistency detected at (QoS in your case)..


I have checked the configuration differencies and I see the following QoS configured on NK5-01 but missing on NK5-02:


policy-map type network-qos fcoe-ny-default

  class type network-qos class-fcoe

    pause no-drop

    mtu 2158

  class type network-qos class-default

    mtu 9216

    multicast-optimize

system qos

  service-policy type queuing input fcoe-default-in-policy

  service-policy type queuing output fcoe-default-out-policy

  service-policy type qos input fcoe-default-in-policy


Could you make the QoS configuration identical (delete from NK5-1 or configure on NK5-2) and check if that fixed the inconsistency?


Kind Regards,
Ivan

**Please grade this post if you find it useful.

vucko-sanel Mon, 06/04/2012 - 04:46
User Badges:

like i wrote previously, the issue was with missing QoS paramenter on sw2


but could u help med with other error message i have on vpc configuration .. ?



SW-A-SITE-NK5-02# sh vpc brief

Legend:

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


vPC domain id                   : 5  

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       : failed 

Type-2 consistency reason       : VTP type-2 configuration incompatible

vPC role                        : secondary                    

Number of vPCs configured       : 1  

Peer Gateway                    : Disabled

Dual-active excluded VLANs      : -

Graceful Consistency Check      : Enabled


vPC Peer-link status

---------------------------------------------------------------------

id   Port   Status Active vlans   

--   ----   ------ --------------------------------------------------

1    Po1    up     1,7,16-17,48,61,63,66,69,73-74,76,78,80-82,86,90,9       

                   4,96,150-151,160-161,200,203,210,300-307,400,403-4       

                   10,412-413,418-421,423-430,434,437-443,445-451,460       

                   -462,510,557-560,562-570,576-583,666,700-707,709-7       

                   17,851,853-856,999,3000                                  


vPC status

----------------------------------------------------------------------------

id     Port        Status Consistency Reason                     Active vlans

------ ----------- ------ ----------- -------------------------- -----------

15     Po15        up     success     success                    1,7,16-17,4

                                                                 8,61,63,66,

                                                                 69,73-74,76

                                                                 ,78,80-82,8

                                                                 6,90,94,....


SW-A-SITE-NK5-02#

SW-A-SITE-NK5-02# sh vpc consistency-parameters global


    Legend:

        Type 1 : vPC will be suspended in case of mismatch


Name                        Type  Local Value            Peer Value            

-------------               ----  ---------------------- -----------------------

QoS                         2     ([], [3], [], [], [],  ([], [3], [], [], [],

                                  [])                    [])                  

Network QoS (MTU)           2     (1538, 0, 0, 0, 0, 0)  (1538, 0, 0, 0, 0, 0)

Network Qos (Pause)         2     (F, F, F, F, F, F)     (F, F, F, F, F, F)   

Input Queuing (Bandwidth)   2     (50, 50, 0, 0, 0, 0)   (50, 50, 0, 0, 0, 0) 

Input Queuing (Absolute     2     (F, F, F, F, F, F)     (F, F, F, F, F, F)   

Priority)                                                                     

Output Queuing (Bandwidth)  2     (50, 50, 0, 0, 0, 0)   (50, 50, 0, 0, 0, 0) 

Output Queuing (Absolute    2     (F, F, F, F, F, F)     (F, F, F, F, F, F)   

Priority)                                                                     

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              

VTP domain                  2     sysit-A-SITE           sysit-A-SITE         

VTP version                 2     2                      2                    

VTP mode                    2     Transparent            Server               

VTP password                2     system                 system               

VTP pruning status          2     Disabled               Disabled             

Allowed VLANs               -     1,7,16-17,48,61,63,66, 1,7,16-17,48,61,63,66,

                                  69,73-74,76,78,80-82,8 69,73-74,76,78,80-82,8

                                  6,90,94,96,150-151,160 6,90,94,96,150-151,160

                                  -161,200,203,210,300-3 -161,200,203,210,300-3

                                  07,400,403-410,412-413 07,400,403-410,412-413

                                  ,418-421,423-430,434,4 ,418-421,423-430,434,4

                                  37-443,445-451,460-462 37-443,445-451,460-462

                                  ,510,557-560,562-570,5 ,510,557-560,562-570,5

                                  76-583,666,700-707,709 76-583,666,700-707,709

                                  -717,851,853-856,999,3 -717,851,853-856,9....

Local suspended VLANs       -     -                      -                    


SW-A-SITE-NK5-01# sh vpc brief

Legend:

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


vPC domain id                   : 5  

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       : failed 

Type-2 consistency reason       : VTP type-2 configuration incompatible

vPC role                        : primary                      

Number of vPCs configured       : 1  

Peer Gateway                    : Disabled

Dual-active excluded VLANs      : -

Graceful Consistency Check      : Enabled


vPC Peer-link status

---------------------------------------------------------------------

id   Port   Status Active vlans   

--   ----   ------ --------------------------------------------------

1    Po1    up     1,7,16-17,48,61,63,66,69,73-74,76,78,80-82,86,90,9       

                   4,96,150-151,160-161,200,203,210,300-307,400,403-4       

                   10,412-413,418-421,423-430,434,437-443,445-451,460       

                   -462,510,557-560,562-570,576-583,666,700-707,709-7       

                   17,851,853-856,999,3000                                  


vPC status

----------------------------------------------------------------------------

id     Port        Status Consistency Reason                     Active vlans

------ ----------- ------ ----------- -------------------------- -----------

15     Po15        up     success     success                    1,7,16-17,4

                                                                 8,61,63,66,

                                                                 69,73-74,76

                                                                 ,78,80-82,8

                                                                 6,90,94,....


SW-A-SITE-NK5-01# sh vpc consistency-parameters global


    Legend:

        Type 1 : vPC will be suspended in case of mismatch


Name                        Type  Local Value            Peer Value            

-------------               ----  ---------------------- -----------------------

QoS                         2     ([], [3], [], [], [],  ([], [3], [], [], [],

                                  [])                    [])                  

Network QoS (MTU)           2     (1538, 0, 0, 0, 0, 0)  (1538, 0, 0, 0, 0, 0)

Network Qos (Pause)         2     (F, F, F, F, F, F)     (F, F, F, F, F, F)   

Input Queuing (Bandwidth)   2     (50, 50, 0, 0, 0, 0)   (50, 50, 0, 0, 0, 0) 

Input Queuing (Absolute     2     (F, F, F, F, F, F)     (F, F, F, F, F, F)   

Priority)                                                                     

Output Queuing (Bandwidth)  2     (50, 50, 0, 0, 0, 0)   (50, 50, 0, 0, 0, 0) 

Output Queuing (Absolute    2     (F, F, F, F, F, F)     (F, F, F, F, F, F)   

Priority)                                                                     

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              

VTP domain                  2     sysit-A-SITE           sysit-A-SITE         

VTP version                 2     2                      2                    

VTP mode                    2     Server                 Transparent          

VTP password                2     system                 system               

VTP pruning status          2     Disabled               Disabled             

Allowed VLANs               -     1,7,16-17,48,61,63,66, 1,7,16-17,48,61,63,66,

                                  69,73-74,76,78,80-82,8 69,73-74,76,78,80-82,8

                                  6,90,94,96,150-151,160 6,90,94,96,150-151,160

                                  -161,200,203,210,300-3 -161,200,203,210,300-3

                                  07,400,403-410,412-413 07,400,403-410,412-413

                                  ,418-421,423-430,434,4 ,418-421,423-430,434,4

                                  37-443,445-451,460-462 37-443,445-451,460-462

                                  ,510,557-560,562-570,5 ,510,557-560,562-570,5

                                  76-583,666,700-707,709 76-583,666,700-707,709

                                  -717,851,853-856,999,3 -717,851,853-856,9....

Local suspended VLANs       -     -                      -                    

SW-A-SITE-NK5-01#

vucko-sanel Mon, 06/04/2012 - 06:27
User Badges:

anu ideas ?


SW-A-SITE-NK5-01# sh vtp status

VTP Status Information

----------------------

VTP Version                     : 2 (capable)

Configuration Revision          : 0

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 126

VTP Operating Mode              : Server

VTP Domain Name                 : sysit-A-SITE

VTP Pruning Mode                : Disabled (Operationally Disabled)

VTP V2 Mode                     : Disabled

VTP Traps Generation            : Disabled

MD5 Digest                      : 0x49 0x13 0x8A 0xAB 0xED 0x92 0xCB 0x4B

Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00

Local updater ID is 0.0.0.0

VTP version running             : 1

SW-A-SITE-NK5-01#



SW-A-SITE-NK5-02# sh vtp status

VTP Status Information

----------------------

VTP Version                     : 2 (capable)

Configuration Revision          : 0

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 122

VTP Operating Mode              : Transparent

VTP Domain Name                 : sysit-A-SITE

VTP Pruning Mode                : Disabled (Operationally Disabled)

VTP V2 Mode                     : Disabled

VTP Traps Generation            : Disabled

MD5 Digest                      : 0x7B 0xCE 0x13 0x75 0x7A 0x2B 0x44 0x3C

Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00

VTP version running             : 1

SW-A-SITE-NK5-02#


The onlye reasone i am able to see here is that switch 2 does not have  those vlan og some reason whic actually should be there by default ?


1002 enet  CE    

1003 enet  CE    

1004 enet  CE    

1005 enet  CE    

vucko-sanel Mon, 06/04/2012 - 07:15
User Badges:

okay ..


i decided to remove feature vpc from both switches and let the switch1 be vtp server and switch 2 client (changed from transparent mode) and thing seems to work fine now ...i really dont why this did not worked ....

Ivan Shirshin Mon, 06/04/2012 - 10:55
User Badges:
  • Cisco Employee,

Hi,


Saw your update about QoS already after checking the config differencies and posting :-)


About VTP mismatch error - it is actually shown in the "sh vpc consistency-parameters global":


     VTP mode                    2     Server                 Transparent          


Looks like you got different VTP modes on your switches while those should be matching.


Kind Regards,
Ivan

**Please grade this post if you find it useful.

vucko-sanel Mon, 06/04/2012 - 11:52
User Badges:

Ivan, what is the reason why my configuration cannot be like mentioned in attached files in my first post?


I am using two Nk5 switches and they are connected together like u can see from configuration files, by using 2x10 Gig interfaces and they are in one vPC domain and i am using peer keepalive between switches as well.


I want to use one of those Nk5 switches (swith 01) like a vtp server and all other switches in the network, including Nk5 switch 2, in transparent mode. But this scenario seems not to work properly...

glen.grant Mon, 06/04/2012 - 14:11
User Badges:
  • Purple, 4500 points or more

VPC and VTP have nothing in common  so it depends on how you want to connect your servers up .   VPC is used when you want redundant connections to 2 different switches in a active/active setup .

vucko-sanel Mon, 06/04/2012 - 14:20
User Badges:

Grant i do understand differences between vPC and VTP . My question is why i was not able to run VTP Transparent mode on switch-02 when the switch-01 were placed in VTP Server mode ..?


So evry time I want to add one new VLAN ID on switch-01, that new vlan id should appear on switch-02 as well...


after i changed VTP mode on switch-02 from Transparent to the Client mode, following error messages disappeared


Type-2 consistency status       : failed 

Type-2 consistency reason       : VTP type-2 configuration incompatible




SW-A-SITE-NK5-01# sh vpc brief

Legend:

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


vPC domain id                   : 5  

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                        : primary                      

Number of vPCs configured       : 1  

Peer Gateway                    : Disabled

Dual-active excluded VLANs      : -

Graceful Consistency Check      : Enabled



SW-A-SITE-NK5-02# sh vpc brief

Legend:

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


vPC domain id                   : 5  

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       : 1  

Peer Gateway                    : Disabled

Dual-active excluded VLANs      : -

Graceful Consistency Check      : Enabled

Ivan Shirshin Tue, 06/05/2012 - 10:23
User Badges:
  • Cisco Employee,

Hi,


If you have a chance, try to configure transparent mode again. In case it does not show the inconsistency, then you could have hit the following bug:


     CSCtn48439    Type-2 consistency failed for vtp after switchover


Kind Regards,
Ivan

**Please grade this post if you find it useful.

Actions

This Discussion

Related Content