Re: VTP Password

From: Paul Cosgrove (paul.cosgrove@heanet.ie)
Date: Wed Apr 09 2008 - 15:47:33 ART


Hi Sadiq,

You can see what I mean in the output below. I think 'exit' works in
the same way as any other command:-

Switch1#sh vtp status
VTP Version : running VTP1 (VTP2 capable)
Configuration Revision : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
Switch1#sh vlan brief

VLAN Name Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active Fa0/1, Fa0/3, Fa0/5, Fa0/6
                                                 Fa0/7, Fa0/11, Fa0/12,
Fa0/13
                                                 Fa0/15, Fa0/16, Fa0/17,
Fa0/18
                                                 Fa0/20, Fa0/21, Fa0/22,
Fa0/23
                                                 Fa0/24, Gi0/1, Gi0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch1(config)#vlan 10
Switch1(config-vlan)#do sh vtp status
VTP Version : running VTP1 (VTP2 capable)
Configuration Revision : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
Switch1(config-vlan)#do sh vlan brief

VLAN Name Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active Fa0/1, Fa0/3, Fa0/5, Fa0/6
                                                 Fa0/7, Fa0/11, Fa0/12,
Fa0/13
                                                 Fa0/15, Fa0/16, Fa0/17,
Fa0/18
                                                 Fa0/20, Fa0/21, Fa0/22,
Fa0/23
                                                 Fa0/24, Gi0/1, Gi0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch1(config-vlan)#vlan 20
Switch1(config-vlan)#do sh vtp status
VTP Version : running VTP1 (VTP2 capable)
Configuration Revision : 1
Maximum VLANs supported locally : 1005
Number of existing VLANs : 6
VTP Operating Mode : Server
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xB1 0xBE 0x72 0x49 0x96 0x6D 0x99 0xA4
Configuration last modified by 0.0.0.0 at 3-1-93 00:01:47
Local updater ID is 0.0.0.0 (no valid interface found)
Switch1(config-vlan)#do sh vlan brief

VLAN Name Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active Fa0/1, Fa0/3, Fa0/5, Fa0/6
                                                 Fa0/7, Fa0/11, Fa0/12,
Fa0/13
                                                 Fa0/15, Fa0/16, Fa0/17,
Fa0/18
                                                 Fa0/20, Fa0/21, Fa0/22,
Fa0/23
                                                 Fa0/24, Gi0/1, Gi0/2
10 VLAN0010 active Fa0/10, Fa0/14, Fa0/19
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch1(config-vlan)#vlan 30
Switch1(config-vlan)#do sh vtp status
VTP Version : running VTP1 (VTP2 capable)
Configuration Revision : 2
Maximum VLANs supported locally : 1005
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xB2 0x7C 0xEB 0x44 0xB9 0x61 0x2A 0x3F
Configuration last modified by 0.0.0.0 at 3-1-93 00:02:20
Local updater ID is 0.0.0.0 (no valid interface found)
Switch1(config-vlan)#do sh vlan brief

VLAN Name Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active Fa0/1, Fa0/3, Fa0/5, Fa0/6
                                                 Fa0/7, Fa0/11, Fa0/12,
Fa0/13
                                                 Fa0/15, Fa0/16, Fa0/17,
Fa0/18
                                                 Fa0/20, Fa0/21, Fa0/22,
Fa0/23
                                                 Fa0/24, Gi0/1, Gi0/2
10 VLAN0010 active Fa0/10, Fa0/14, Fa0/19
20 VLAN0020 active Fa0/4
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch1(config-vlan)#vtp mode client
Setting device to VTP CLIENT mode.
Switch1(config)#do sh vtp status
VTP Version : running VTP1 (VTP2 capable)
Configuration Revision : 3
Maximum VLANs supported locally : 1005
Number of existing VLANs : 8
VTP Operating Mode : Client
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x39 0x91 0x7F 0xE4 0xF4 0xD2 0xD1 0xA1
Configuration last modified by 0.0.0.0 at 3-1-93 00:02:34
Switch1(config)#do sh vlan brief

VLAN Name Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active Fa0/1, Fa0/3, Fa0/5, Fa0/6
                                                 Fa0/7, Fa0/11, Fa0/12,
Fa0/13
                                                 Fa0/15, Fa0/16, Fa0/17,
Fa0/18
                                                 Fa0/20, Fa0/21, Fa0/22,
Fa0/23
                                                 Fa0/24, Gi0/1, Gi0/2
10 VLAN0010 active Fa0/10, Fa0/14, Fa0/19
20 VLAN0020 active Fa0/4
30 VLAN0030 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch1(config)#

Sadiq Yakasai wrote:
> Hi Paul,
>
> Actually, the VLAN is created when you exit the "VLAN-config" mode,
> rather than the next command. This is because you have the option of
> setting parameters to the VLAN you create and as such, only when you
> exit from the VLAN-config mode that the VLAN is created and all the
> settings applied. Try this and see below:
>
> 3KI6R61-3560(config)#vlan 112
> 3KI6R61-3560(config-vlan)#?
> VLAN configuration commands:
> are Maximum number of All Route Explorer hops for this VLAN (or
> zero if none specified)
> backupcrf Backup CRF mode of the VLAN
> bridge Bridging characteristics of the VLAN
> exit Apply changes, bump revision number, and exit mode
> media Media type of the VLAN
> mtu VLAN Maximum Transmission Unit
> name Ascii name of the VLAN
> no Negate a command or set its defaults
> parent ID number of the Parent VLAN of FDDI or Token Ring type VLANs
> private-vlan Configure a private VLAN
> remote-span Configure as Remote SPAN VLAN
> ring Ring number of FDDI or Token Ring type VLANs
> said IEEE 802.10 SAID
> shutdown Shutdown VLAN switching
> state Operational state of the VLAN
> ste Maximum number of Spanning Tree Explorer hops for this VLAN (or
> zero if none specified)
> stp Spanning tree characteristics of the VLAN
> tb-vlan1 ID number of the first translational VLAN for this VLAN (or
> zero if none)
> tb-vlan2 ID number of the second translational VLAN for this VLAN (or
> zero if none)
>
> 3KI6R61-3560(config-vlan)#exit
> 3KI6R61-3560(config)#do show vlan | i 112
> 112 VLAN0112 active
> 112 enet 100112 1500 - - - - - 0 0
> 3KI6R61-3560(config)#
>
> HTH
>
> Sadiq
>
>
> Pass the CCIE in six weeks, Guaranteed!
> http://www.certscience.com/CCIE
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>

-- 
HEAnet Limited
Ireland's Education & Research Network
5 George's Dock, IFSC, Dublin 1, Ireland
Tel:  +353.1.6609040
Web:  http://www.heanet.ie
Company registered in Ireland: 275301

Please consider the environment before printing this e-mail.

Pass the CCIE in six weeks, Guaranteed! http://www.certscience.com/CCIE



This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:50 ART