{"id":825,"date":"2021-08-20T03:09:22","date_gmt":"2021-08-20T03:09:22","guid":{"rendered":"http:\/\/feralpacket.org\/?p=825"},"modified":"2021-08-20T03:09:22","modified_gmt":"2021-08-20T03:09:22","slug":"vlan-trunking-protocol-vtp-notes","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=825","title":{"rendered":"VLAN Trunking Protocol (VTP) Notes"},"content":{"rendered":"<p><span style=\"font-weight: bold;\">VLAN Trunking Protocol<\/span>&nbsp;<b>(VTP)<\/b><\/p>\n<p>&nbsp;&#8211; Domain name<\/p>\n<p>&nbsp;&#8211; Configuration revision number (CRN)<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; 32 bit<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; To maintain synchronization of VLANs<\/p>\n<p>&nbsp;&#8211; Version 1 | 2 | 3<\/p>\n<p>&nbsp;&#8211; No difference between version 1 and 2<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt;&nbsp;contrary&nbsp;to theory<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; Version 1 doesn&#8217;t support tolken ring<\/p>\n<p>&nbsp;&#8211; Version 1 and 2 can only propagate up to VLAN 1001<\/p>\n<p>&nbsp;&#8211; Version 3 supports up to VLAN 4094<\/p>\n<p>&nbsp;&#8211; Version 3 more secure<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Concept of a primary server<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; Only primary server can update VLAN database<\/p>\n<p><span style=\"font-weight: bold;\">VTP messages<\/span><\/p>\n<p>&nbsp;-&gt; Summary Advertisement<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Sent every 300 seconds<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; Domain name<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; CRN<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; MD5 hash<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; Version<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; Number of subset advertisements following<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; No actual VLAN information is present in this message<\/p>\n<p>&nbsp;-&gt; Subset Advertisement<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; VLAN name<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; VLAN ID<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; VLAN MTU<\/p>\n<p>&nbsp;-&gt; Advertisement Request<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; First client that receives the request can respond<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Sent towards the server<\/p>\n<p>&nbsp;-&gt; Pruning Message<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Pruning VLAN information<\/p>\n<p><span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">conf t<\/span><\/p>\n<p>SW1(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">vtp version { 1 | 2 | 3 }<\/span><\/p>\n<p><span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">vtp domain &lt;name&gt;<\/span><\/p>\n<p><span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">vtp password &lt;password&gt;<\/span><\/p>\n<p><span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">vtp pruning<\/span><\/p>\n<p>&nbsp;-&gt; Default domain name is NULL<\/p>\n<p>&nbsp;-&gt; only the vtp password command is needed on clients<\/p>\n<p>#<span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\"> sh vtp status<\/span><\/p>\n<p>MD5 hash = password + CRN<\/p>\n<p>&nbsp;-&gt; make a VLAN change<\/p>\n<p>&nbsp;-&gt; or wait for 5 minutes<\/p>\n<p>Routers do not send pruning advertisements<\/p>\n<p>&nbsp;-&gt; use this to prune VLANs instead<\/p>\n<p>&nbsp;-&gt; SW1(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">switchport trunk allow vlan &lt;vlan&gt;<\/span><\/p>\n<p>Manual disabling of pruning<\/p>\n<p>SW1(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">int fa0\/0<\/span><\/p>\n<p><span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">&nbsp;switchport trunk pruning vlan except 40<\/span><\/p>\n<p># <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">sh int trunk<\/span><\/p>\n<p>&nbsp;-&gt; lists pruned VLANs<\/p>\n<p># <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">sh int fa0\/0 pruning<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VLAN Trunking Protocol\u00a0(VTP)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[31,18],"class_list":["post-825","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-published","tag-vtp"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=825"}],"version-history":[{"count":1,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/825\/revisions"}],"predecessor-version":[{"id":974,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/825\/revisions\/974"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}