From: Darby Weaver (darbyweaver@yahoo.com)
Date: Fri Jun 08 2007 - 19:22:19 ART
Call me crazy...
But:
I like to create my VLANs before assigning them:
=================================================
Sw2(config-if)#sw mo a
Sw2(config-if)#sw a vlan 666
% Access VLAN does not exist. Creating vlan 666
Sw2(config-if)#do show int trunk
Vlan 666 will pass the trunk link if we do not
explicitly tell the
trunk to
remove the vlan in the interface configuration
--- Victor Cappuccio <victor@ccbootcamp.com> wrote:
> Hi Michael,
>
> Can you elaborate a little bit more please this?
> I have configured the following
>
>
> Sw2#show vtp status
> VTP Version : 2
> Configuration Revision : 0
> Maximum VLANs supported locally : 1005
> Number of existing VLANs : 6
> VTP Operating Mode : Transparent
> VTP Domain Name : cisco
> VTP Pruning Mode : Disabled
> VTP V2 Mode : Disabled
> VTP Traps Generation : Disabled
> MD5 digest : 0xBE 0xF6 0xE5
> 0xB3 0x96 0x2C 0x86 0xEB
> Configuration last modified by 10.10.8.8 at 3-3-93
> 05:27:43
> Sw2#
> rack5>7
> [Resuming connection 7 to sw1 ... ]
>
> Sw1(config)#do show vtp status
> VTP Version : 2
> Configuration Revision : 0
> Maximum VLANs supported locally : 1005
> Number of existing VLANs : 14
> VTP Operating Mode : Server
> VTP Domain Name : cisco
> VTP Pruning Mode : Disabled
> VTP V2 Mode : Disabled
> VTP Traps Generation : Disabled
> MD5 digest : 0x26 0x18 0xF2
> 0x00 0xB5 0x36 0xA4 0x7A
> Configuration last modified by 10.10.34.7 at 3-1-93
> 22:16:15
> Local updater ID is 10.10.34.2 on interface Vl200
> (lowest numbered VLAN
> interface found)
> Sw1(config)#vtp prun
> Pruning switched on
> Sw1(config)#do show vtp status
> VTP Version : 2
> Configuration Revision : 1
> Maximum VLANs supported locally : 1005
> Number of existing VLANs : 14
> VTP Operating Mode : Server
> VTP Domain Name : cisco
> VTP Pruning Mode : Enabled
> VTP V2 Mode : Disabled
> VTP Traps Generation : Disabled
> MD5 digest : 0xF4 0xF8 0x17
> 0x2E 0xCA 0x4D 0x80 0x9B
> Configuration last modified by 10.10.34.2 at 3-2-93
> 16:01:24
> Local updater ID is 10.10.34.2 on interface Vl200
> (lowest numbered VLAN
> interface found)
>
> So I enabled pruning and lets see what the sw2 has
>
> Sw1(config)#
> rack5>8
> [Resuming connection 8 to sw2 ... ]
>
> 3d21h: VTP LOG RUNTIME: Relaying packet received on
> trunk Fa0/19 - in
> TRANSPARENT MODE (nc = false)
>
> 3d21h: VTP LOG RUNTIME: Relaying packet received on
> trunk Fa0/19 -
> Sw2#do sho
> 3d21h: VTP LOG RUNTIME: Relaying packet received on
> trunk Fa0/20 - in
> TRANSPARENT MODE (nc = false)
>
> 3d21h: VTP LOG RUNTIME: Relaying packet received on
> trunk Fa0/19 - in
> TRANSPARENT MODE (nc = false)
>
> Sw2#show vtp stat
> VTP Version : 2
> Configuration Revision : 0
> Maximum VLANs supported locally : 1005
> Number of existing VLANs : 6
> VTP Operating Mode : Transparent
> VTP Domain Name : cisco
> VTP Pruning Mode : Disabled
> VTP V2 Mode : Disabled
> VTP Traps Generation : Disabled
> MD5 digest : 0xBE 0xF6 0xE5
> 0xB3 0x96 0x2C 0x86 0xEB
> Configuration last modified by 10.10.8.8 at 3-3-93
> 05:27:43
> Sw2
>
>
> VTP Prunning is disabled yet!
>
> By
>
http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.1/11/configurati
> on/guide/vtp.html#wp1020402
>
> TransparentVTP transparent network devices do not
> participate in VTP. A VTP
> transparent network device does not advertise its
> VLAN configuration and does
> not synchronize its VLAN configuration based on
> received advertisements.
> However, in VTP version 2, transparent network
> devices do forward VTP
> advertisements that they receive on their trunking
> LAN interfaces.
>
> anyways if
>
> Sw2(config)#vtp mode client
> Setting device to VTP CLIENT mode.
> Sw2(config)#
> 3d21h: VTP LOG RUNTIME: Transmit vtp request, domain
> cisco, start value 0
>
> 3d21h: VTP LOG RUNTIME: Transmit vtp request, domain
> cisco, start value 0
>
> 3d21h: VTP LOG RUNTIME: Summary packet received,
> domain = cisco, rev = 1,
> followers = 1, length 77, trunk Fa0/20
>
> 3d21h:
> 3d21h: summary: 01 01 01 05 63 69 73 63 6F 00 00 00
> 00 00 00 00
> ....cisco.......
> 3d21h: summary: 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00
> ................
> 3d21h: summary: 00 00 00 00 00 00 00 01 0A 0A 22 02
> 39 33 30 3
> Sw2(config)#3 ..........".9303
> 3d21h: summary: 30 32 31 36 30 31 32 34 F4 F8 17 2E
> CA 4D 80 9B
> 02160124tx..JM..
> 3d21h: summary: 1C 17 F9 82 4A 36 7D 89 01 01 01 02
> 00
> ..y.J6}......
> 3d21h:
> 3d21h: VTP LOG RUNTIME: Summary packet rev 1 greater
> than domain cisco rev 0
>
> 3d21h: VTP LOG RUNTIME: Domain cisco currently not
> in updating state
>
> 3d21h: VTP LOG RUNTIME: pdu len 77, #tlvs 1
>
> 3d21h: VTP LOG RUNTIME: Subset packet received,
> domain = cisco, rev = 1, seq =
> 1, length = 384
>
> 3d21h:
> 3d21h:
> Sw2(config)# subset: 01 02 01 05 63 69 73 63 6F 00
> 00 00 00 00 00 00
> ....cisco.......
> 3d21h: subset: 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00
> ................
> 3d21h: subset: 00 00 00 00 00 00 00 01 14 00 01 07
> 00 01 05 DC
> ...............\
> 3d21h: subset: 00 01 86 A1 64 65 66 61 75 6C 74 00
> 14 00 01 08
> ...!default.....
> 3d21h: subset: 00 0C 05 DC 00 01 86 AC 56 4C 41 4E
> 30 30 31 32
> ...\...,VLAN0012
> 3d21h: subset: 14 00 01 08 00 0D 05 DC 00 01 86 AD
> 56 4C 41 4E
> .......\...-VLAN
> 3d21h: subset: 30 3
> Sw2(config)#0 31 33 14 00 01 08 00 1E 05 DC 00 01 86
> BE 0013.......\...>
> 3d21h: subset: 56 4C 41 4E 5F 42 42 31 14 00 01 08
> 00 28 05 DC
> VLAN_BB1.....(.\
> 3d21h: subset: 00 01 86 C8 56 4C 41 4E 5F 42 42 32
> 14 00 01 07
> ...HVLAN_BB2....
> 3d21h: subset: 00 37 05 DC 00 01 86 D7 56 4C 41 4E
> 5F 35 35 00
> .7.\...WVLAN_55.
> 3d21h: subset: 14 00 01 08 00 3C 05 DC 00 01 86 DC
> 56 4C 41 4E
> .....<.\...\VLAN
> 3d21h: subset: 5F 42 42 33 14 00 01 06 00 64 05 DC
> 00 01 87 04
> _BB3.....d.\....
> 3d21h: subset: 56 4C 41 4E 5F 42
> Sw2(config)# 00 00 14 00 01 06 00 C8 05 DC
> VLAN_B.......H.\
> 3d21h: subset: 00 01 87 68 56 4C 41 4E 5F 43 00 00
> 14 00 01 08
> ...hVLAN_C......
> 3d21h: subset: 00 C9 05 DC 00 01 87 69 56 4C 41 4E
> 30 32 30 31
> .I.\...iVLAN0201
> 3d21h: subset: 20 00 02 0C 03 EA 05 DC 00 01 8A 8A
> 66 64 64 69
> ....j.\....fddi
> 3d21h: subset: 2D 64 65 66 61 75 6C 74 01 01 00 00
> 04 01 00 00
> -default........
> 3d21h: subset: 28 00 03 12 03 EB 05 DC 00 01 8A 8B
> 74 6F 6B 65
> (....k.\....toke
> 3d21h: subset: 6E 2D 72 69 6E 67 2D 64 65 66
> Sw2(config)#61 75 6C 74 00 00 n-ring-default..
> 3d21h: subset: 01 01 00 00 04 01 00 00 24 00 04 0F
> 03 EC 05 DC
> ........$....l.\
> 3d21h: subset: 00 01 8A 8C 66 64 64 69 6E 65 74 2D
> 64 65 66 61
> ....fddinet-defa
> 3d21h: subset: 75 6C 74 00 02 01 00 00 03 01 00 01
> 24 00 05 0D
> ult.........$...
> 3d21h: subset: 03 ED 05 DC 00 01 8A 8D 74 72 6E 65
> 74 2D 64 65
> .m.\....trnet-de
> 3d21h: subset: 66 61 75 6C 74 00 00 00 02 01 00 00
> 03 01 00 02
> fault...........
> 3d21h:
> 3d21h: VTP LOG RUNTIME: Transmit vtp summary, dom
> Sw2(config)#ain cisco, rev 1, followers 1, tlv blk
> size 5 (inc #tlv field),
> MD5 digest calculated = F4 F8 17 2E CA 4D 80 9B
> 1C 17 F9 82 4A 36 7D 89
>
> 3d21h: VTP LOG RUNTIME: Transmit vtp summary, domain
> cisco, rev 1, followers
> 1, tlv blk size 5 (inc #tlv field),
> MD5 digest calculated = F4 F8 17 2E CA 4D 80 9B
> 1C 17 F9 82 4A 36 7D 89
>
> 3d21h: VTP LOG RUNTIME: Transmit vtp request, domain
> cisco, start value 0
>
> 3d21h: VTP LOG RUNTIME: Summary packet received,
> domain = cisco, rev = 1,
> followers = 1, length 77,
> Sw2(config)#do show trunk Fa0/19
>
> 3d21h:
> 3d21h: summary: 01 01 01 05 63 69 73 63 6F 00 00 00
> 00 00 00 00
> ....cisco.......
> 3d21h: summary: 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00
> ................
> 3d21h: summary: 00 00 00 00 00 00 00 01 0A 0A 22 02
> 39 33 30 33
> ..........".9303
> 3d21h: summary: 30 32 31 36 30 31 32 34 F4 F8 17 2E
> CA 4D 80 9B
> 02160124tx..JM..
> 3d21h: summary: 1C 17 F9 82 4A 36 7D 89 01 01 01 02
> 00
> ..y.J6}......
> 3d21h:
> 3d21h: VTP LOG RUNTIME: Summary packet rev 1 equal
> to do
> Sw2(config)#do show main cisco rev 1
>
> 3d21h: VTP LOG RUNTIME: Subset packet received,
> domain = cisco, rev = 1, seq =
> 1, length = 384
>
> 3d21h:
> 3d21h: subset: 01 02 01 05 63 69 73 63 6F 00 00 00
> 00 00 00 00
> ....cisco.......
> 3d21h: subset: 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00
> ................
> 3d21h: subset: 00 00 00 00 00 00 00 01 14 00 01 07
> 00 01 05 DC
> ...............\
> 3d21h: subset: 00 01 86 A1 64 65 66 61 75 6C 74 00
> 14 00 01 08
> ...!default.....
> 3d21h: subset: 00 0C 05 DC 00 01 86 AC 56 4C 41 4E 3
> Sw2(config)#do show 0 30 31 32 ...\...,VLAN0012
> 3d21h: subset: 14 00 01 08 00 0D 05 DC 00 01 86 AD
> 56 4C 41 4E
> .......\...-VLAN
> 3d21h: subset: 30 30 31 33 14 00 01 08 00 1E 05 DC
> 00 01 86 BE
> 0013.......\...>
> 3d21h: subset: 56 4C 41 4E 5F 42 42 31 14 00 01 08
> 00 28 05 DC
> VLAN_BB1.....(.\
> 3d21h: subset: 00 01 86 C8 56 4C 41 4E 5F 42 42 32
> 14 00 01 07
> ...HVLAN_BB2....
> 3d21h: subset: 00 37 05 DC 00 01 86 D7 56 4C 41 4E
> 5F 35 35 00
> .7.\...WVLAN_55.
> 3d21h: subset: 14 00 01 08 00 3C 05 DC 00 01 86 DC
> 56 4C 41 4E
> Sw2(config)#do show vtp .....<.\...\VLAN
> 3d21h: subset: 5F 42 42 33 14 00 01 06 00 64 05 DC
> 00 01 87 04
> _BB3.....d.\....
> 3d21h: subset: 56 4C 41 4E 5F 42 00 00 14 00 01 06
> 00 C8 05 DC
> VLAN_B.......H.\
> 3d21h: subset: 00 01 87 68 56 4C 41 4E 5F 43 00 00
> 14 00 01 08
> ...hVLAN_C......
> 3d21h: subset: 00 C9 05 DC 00 01 87 69 56 4C 41 4E
> 30 32 30 31
> .I.\...iVLAN0201
> 3d21h: subset: 20 00 02 0C 03 EA 05 DC 00 01 8A 8A
> 66 64 64 69
> ....j.\....fddi
> 3d21h: subset: 2D 64 65 66 61 75 6C 74 01 01 00 00
> 04 01 00 00
> -default.....
> Sw2(config)#do show vtp ...
> 3d21h: subset: 28 00 03 12 03 EB 05 DC 00 01 8A 8B
> 74 6F 6B 65
> (....k.\....toke
> 3d21h: subset: 6E 2D 72 69 6E 67 2D 64 65 66 61 75
> 6C 74 00 00
> n-ring-default..
> 3d21h: subset: 01 01 00 00 04 01 00 00 24 00 04 0F
> 03 EC 05 DC
> ........$....l.\
> 3d21h: subset: 00 01 8A 8C 66 64 64 69 6E 65 74 2D
> 64 65 66 61
> ....fddinet-defa
> 3d21h: subset: 75 6C 74 00 02 01 00 00 03 01 00 01
> 24 00 05 0D
> ult.........$...
> 3d21h: subset: 03 ED 05 DC 00 01 8A 8D 74 72 6E 65
> 74 2D 64 65
> .m.\....trnet-de
> 3d21h: s
> Sw2(config)#do show vtp status
> VTP Version : 2
> Configuration Revision : 1
> Maximum VLANs supported locally : 1005
> Number of existing VLANs : 14
> VTP Operating Mode : Client
> VTP Domain Name : cisco
> VTP Pruning Mode : Enabled
> VTP V2 Mode : Disabled
> VTP Traps Generation : Disabled
> MD5 digest : 0xF4 0xF8 0x17
> 0x2E 0xCA 0x4D 0x80 0x9B
> Configuration last modified by 10.10.34.2 at 3-2-93
> 16:01:24
> Sw2(confubset: 66 61 75 6C 74 00 00 00 02 01 00 00
> 03 01 00 02
> fault......ig)#.....
> 3d21h:
>
> So in order to work in a network with vtp mode in
> transparent make no sense to
> enable or disable vtp prunning..
> it make more sence to enable it on a Server to
> client relationship
>
> Anyways the Switch in VTP in transparent mode,
> should be configured with the
> necesary vlans.
>
> so for example
> Sw2(config-if)#do show vtp status
> VTP Version : 2
> Configuration Revision : 0
> Maximum VLANs supported locally : 1005
> Number of existing VLANs : 17
> VTP Operating Mode : Transparent
> VTP Domain Name : cisco
> VTP Pruning Mode : Enabled
> VTP V2 Mode : Disabled
> VTP Traps Generation : Disabled
> MD5 digest : 0xAA 0xD5 0x77
> 0x45 0xCC 0x3A 0xF6 0x6
>
> Sw2(config-vlan)#do show int trunk
>
> Port Mode Encapsulation Status
> Native vlan
> Fa0/19 on 802.1q trunking
> 1
> Fa0/20 on 802.1q trunking
> 1
>
> Port Vlans allowed on trunk
> Fa0/19 1-4094
> Fa0/20 1-4094
>
> Port Vlans allowed and active in management
> domain
> Fa0/19 1,12-13,30,40,55,60,100,200-201
> Fa0/20 1,12-13,30,40,55,60,100,200-201
>
> Port Vlans in spanning tree forwarding state
> and not pruned
> Fa0/19 1,12-13,30,40,55,60,100,200-201
> Fa0/20 1,12-13,30,40,55,60,100,200-201
>
> Sw2(config-if)#sw mo a
> Sw2(config-if)#sw a vlan 666
> % Access VLAN does not exist. Creating vlan 666
> Sw2(config-if)#do show int trunk
>
>
> Vlan 666 will pass the trunk link if we do not
> explicitly tell the trunk to
> remove the vlan in the interface configuration
>
> Sw2(config-if)#do show int trunk
>
> Port Mode Encapsulation Status
> Native vlan
> Fa0/19 on 802.1q trunking
> 1
> Fa0/20 on 802.1q trunking
> 1
>
> Port Vlans allowed on trunk
> Fa0/19 1-4094
> Fa0/20 1-4094
>
> Port Vlans allowed and active in management
> domain
> Fa0/19
> 1,12-13,30,40,55,60,100,200-201,405,500,666
> Fa0/20
> 1,12-13,30,40,55,60,100,200-201,405,500,666
>
> Port Vlans in spanning tree forwarding state
> and not pruned
> Fa0/19
> 1,12-13,30,40,55,60,100,200-201,405,500,666
> Fa0/20
> 1,12-13,30,40,55,60,100,200-201,405,500,666
>
> thanks,
> Victor Cappuccio.-
> - CCSI# 31452
>
> Network Learning Inc - A Cisco Sponsored
> Organization (SO) YES! We take
> Cisco Learning credits!
> victor@ccbootcamp.com
> http://www.ccbootcamp.com (Cisco Training and Rental
> Racks)
> http://www.ccbootcamp.com/groupstudy.html
> (groupstudy member discounts!)
> Voice: 702-968-5100
> FAX: 702-446-8012
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com on behalf of Michael Zuo
> Sent: Fri 6/8/2007 14:45
> To: thomas.rader@freesurf.ch; ccielab@groupstudy.com
> Subject: RE: STP lab gotchas
>
> This is one of the biggest gotcha's I've run into:
> Be aware of the
> combination of VTP transparent mode and VTP pruning,
> which can prune
> vlans on switches where you don't want them pruned
> ;)
>
> Michael Zuo
> CCIE #17800
> CCIE study notes for sale :)
>
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ih=003&sspagename=STRK%3AM
> ESE%3AIT&viewitem=&item=130121212718&rd=1&rd=1
>
> -----Original Message-----
> From: nobody@groupstudy.com
> [mailto:nobody@groupstudy.com] On Behalf Of
> thomas.rader@freesurf.ch
> Sent: Friday, June 08, 2007 2:17 AM
> To: ccielab@groupstudy.com
> Subject: STP lab gotchas
>
> Hello,
>
> I'm hearing more and more that with the 4 switch
> labs, candidates are
> having issues with STP loops.
>
> Does anyone know of any STP gotchas that could give
> you issues in the
> lab ?
>
>
> Thanks, Thomas
>
>
This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:47 ART