cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
952
Views
0
Helpful
2
Replies

Nexus 5548 VTP and Spanning tree issue

Hi,

I am having issue with VTP incompatible on primary N5K

 

N5K-Primary#

vPC domain id                   : 53  
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, operational secondary
Number of vPCs configured       : 1   
Peer Gateway                    : Disabled
Dual-active excluded VLANs      : -
Graceful Consistency Check      : Enabled

N5K-Primary## sh vtp status 
VTP Status Information
----------------------
VTP Version                     : 2 (capable)
Configuration Revision          : 4
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 9
VTP Operating Mode              : Server
VTP Domain Name                 : <VTP domain not acquired/configured yet>

VTP Pruning Mode                : Disabled (Operationally Disabled)
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Enabled
MD5 Digest                      : 0x9B 0x75 0x57 0x77 0x42 0x0B 0xC8 0x61
Configuration last modified by 0.0.0.0 at 6-24-14 04:58:25
Local updater ID is 0.0.0.0 
VTP version running             : 1

N5K-Primary# Sh spanning tree root

VLAN0001          4097 0023.04ee.be01       2    2   20  15    port-channel53
VLAN0300          4396 0023.04ee.be01       2    2   20  15    port-channel53
VLAN0302          4398 0023.04ee.be01       2    2   20  15    port-channel53
VLAN1000          5096 0023.04ee.be01       2    2   20  15    port-channel53
VLAN1001          5097 0023.04ee.be01       2    2   20  15    port-channel53
VLAN1007          5103 0023.04ee.be01       2    2   20  15    port-channel53
VLAN2701          6797 0023.04ee.be01       2    2   20  15    port-channel53

 

port-channel -53 is peer link going to secondary Nexus 5K

 

N5K-Secondary#

vPC domain id                   : 53  
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, operational primary
Number of vPCs configured       : 1   
Peer Gateway                    : Disabled
Dual-active excluded VLANs      : -
Graceful Consistency Check      : Enabled

N5K-Secondary#Sh VTP status

VTP Version                     : 2 (capable)
Configuration Revision          : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 5
VTP Operating Mode              : Transparent
VTP Domain Name                 : NNDC
VTP Pruning Mode                : Disabled (Operationally Disabled)
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Enabled
MD5 Digest                      : 0xC0 0x0B 0x29 0xBC 0x09 0x92 0x40 0x4B
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
VTP version running             : 1

N5K-Secondary# sh spanning-tree root 

                                        Root  Hello Max Fwd
Vlan                   Root ID          Cost  Time  Age Dly  Root Port
---------------- -------------------- ------- ----- --- ---  ----------------
VLAN0001          4097 0023.04ee.be01       1    2   20  15   port-channel253
VLAN0300          4396 0023.04ee.be01       1    2   20  15   port-channel253
VLAN0302          4398 0023.04ee.be01       1    2   20  15   port-channel253
VLAN1000          5096 0023.04ee.be01       1    2   20  15   port-channel253
VLAN1001          5097 0023.04ee.be01       1    2   20  15   port-channel253
VLAN1007          5103 0023.04ee.be01       1    2   20  15   port-channel253
VLAN2701          6797 0023.04ee.be01       1    2   20  15   port-channel253

 

port-channel-253 is port-channel going to nexus 7K's

************************************************************************************************************************

Question:

- I am going to fix the VTP by changing VTP mode on primary N5K matching to secondary ...On secondary i have VTP as transparent.

- My question is " if i change VTP mode on primary does my spanning tree root changes ??"

- How can i make spanning tree root on N5K primary pointing to port-channel-253 instead of  port-channel 53

**************************************************************************************************************************

 

 

 

2 Replies 2

Hello,

 you need configure on nexus N5K-Primary the same parameter to vtp mode, but that vpc work fine,

you need to put the VTP Operating Mode: Transparent ,VTP Domain Name: NNDC later if you want that the  N5K-Primary work like a primary, you can configure the role on VPC domain but only the N5K-Primary, the command is vpc domain (Id), vpc role (number) if is less is better y default is 32667. with that you can get to send traffic to N5K-Primary to N7K

 

sbhadrav@cisco.com
Contributor
Contributor

VTP is a distributed VLAN database management protocol that synchronizes the VTP VLAN database across domains. A VTP domain includes one or more network switches that share the same VTP domain name and that are connected with trunk interfaces. Each switch can be in only one VTP domain. Layer 2 trunk interfaces, Layer 2 port channels, and virtual port channels (vPCs) support VTP functionality. Cisco NX-OS Release 5.0(2)N1(1) introduces the support for VTPv1 and VTP2. Beginning in Cisco NX-OS Release 5.0(2)N2(1), you can configure VTP in client or server mode. Prior to NX-OS Release 5.0(2)N2(1), VTP worked only in transparent mode.

There are four VTP modes:

Server mode–Allows users to perform configurations, it manages the VLAN database version #, and stores the VLAN database.

Client mode–Does not allow user configurations and relies on other switches in the domain to provide configuration information.

Off mode—Allows you to access the VLAN database (VTP is enabled) but not participate in VTP.

Transparent mode–Does not participate in VTP, uses local configuration, and relays VTP packets to other forward ports. VLAN changes affect only the local switch. A VTP transparent network switch does not advertise its VLAN configuration and does not synchronize its VLAN configuration based on received advertisements.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: