cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6317
Views
11
Helpful
7
Replies

How Control traffic of VTP, CDP, etc are sent though trunks ???

Hi All,

I was doing some R&D and came to a rude shock...

I would like to share my experience and expect experts to shed some light...

I made a simple topology of connection two switches and making connectivity as trunk.

Then I made one switch VTP server and another as VTP client.

I also setup RSPAN to monitor the packets...

Results, I saw VTP, CDP traffic marked with VLAN ID 1...

Then, I made another vlan and disallowed Vlan 1 in the trunk...

Results still the same....

I thought it might be that traffic might be sent untagged as native vlan, so then i changed the native vlan on both switches, expecting

that either VTP, CDP will fail OR it will be marked as VLAN ID of new native vlan...

However, to my surprise it was still showing as VLAN ID 1....

I'm baffeled and confused on this type of behaviour where Vlan 1 is NOT allowed in trunk and also native vlan has been changed, still VTP and CDP control traffic is shown as sourced from Vlan 1....

Experts, please shed some light...

Regards,

Smitesh

7 Replies 7

lgijssel
Level 9
Level 9

Cisco has defined vlan1 as the transport vlan for vtp. This is why it cannot be pruned.

CDP is always on when not disabled.

You can disable cdp either per port or for the whole switch.

regards,

Leo

Hi Leo,

But I was able to prune Vlan 1...

as in the above experiment ( which I forgot to mention ), I also put some host in Vlan 1 and they were not able to communicated which host in Vlan 1 on another switch; since Vlan 1 was not allowed on trunk...

Regards,

Smitesh

hi,

even if you prune vlan1 from the trunk some data is still able to use vlan1 for managemant purposes, including vtp, dtp, stp cdp.

these protocols always use vlan1 for communication.

its acutally a cisco best practice to not use vlan1 for data communication and also prune it for security reasons.

but still some protocols, like mentioned above, can use it and are also able to use the trunk even if vlan1 is pruned.

hope this helps.

Smitesh,

The guys are right about VLAN 1

Have a wee look at this link

http://www.cisco.com/warp/public/cc/pd/si/casi/ca6000/prodlit/vlnwp_wp.pdf

Look at the section re Precautions VLAN 1

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

Thanks to all...

Since, I saw that Vlan 1 is all those packet, I'm know that vlan 1 is somehow able to transverse the trunk despite pruning on trunk.

However, I posted this here to have some technical explanation... something like someone explaning how the packet is send on vlan 1 despite it pruning on trunk.

PS: Idea is not to offend anyone, just a more digging into the subject....

Regards,

Smitesh

Can somebody shed some light on how actually it is working... As i know that it is work, so question is not whether should work or not work... But how actually it is working...

Regards,

Smitesh

Hi,

read this:

http://www.cisco.com/en/US/customer/products/hw/switches/ps708/products_white_paper09186a00801b49a4.shtml#pre6

There exist also an older version of this document for CatOS switches.

HTH,

Milan

Review Cisco Networking products for a $25 gift card