From: Kevin Baumgartner (kbaumgar@xxxxxxxxx)
Date: Tue Sep 12 2000 - 14:40:55 GMT-3
   
Again don't know why you need to configure "int vlan". Creating and
deleting vlans is done by modifying the vlan database. See below.
  - Kevin
Have three vlans
svr-switch#sh vlan
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/10, Fa0/12, Fa0/13, Fa0/14,
                                                 Fa0/15, Fa0/16, Fa0/17, Fa0/18
,
                                                 Fa0/19, Fa0/20, Fa0/21, Fa0/22
,
                                                 Fa0/23, Fa0/24
2    192.168.1.0_NET                  active    Fa0/1, Fa0/2, Fa0/3, Fa0/4,
                                                 Fa0/5, Fa0/6, Fa0/7, Fa0/8,
                                                 Fa0/9, Fa0/11
3    vlan3                            active
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
2    enet  100002     1500  -      -      -        -    -        0      0
3    enet  100003     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0
Now I delete vlan 3 ....
svr-switch#vlan database
svr-switch(vlan)#no vlan 3
Deleting VLAN 3...
svr-switch(vlan)#
svr-switch(vlan)#exit
APPLY completed.
Exiting....
And if you do show vlan - vlan 3 is now gone.
svr-switch#sh vlan
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/10, Fa0/12, Fa0/13, Fa0/14,
                                                 Fa0/15, Fa0/16, Fa0/17, Fa0/18
,
                                                 Fa0/19, Fa0/20, Fa0/21, Fa0/22
,
                                                 Fa0/23, Fa0/24
2    192.168.1.0_NET                  active    Fa0/1, Fa0/2, Fa0/3, Fa0/4,
                                                 Fa0/5, Fa0/6, Fa0/7, Fa0/8,
                                                 Fa0/9, Fa0/11
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
2    enet  100002     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0
1005 trnet 101005     1500  -      -      1        ibm  -        0      0
At 12:26 PM 9/12/00 -0500, you wrote:
>Without doing those commands "show vlan" shows all vlans active and shows
>member ports too.
>
>BTW how do you delete a vlan? I tried following commnad and none of them
>seem to help.
>conf t
>no vlan 50 (Deleting vlan 50)
>
>Sam
>
>On Tue, 12 Sep 2000, Kevin Baumgartner wrote:
>
> > Not exactly sure what you are doing with int vlan2, int vlan3, etc.
> > Not even sure what it does. Maybe just allows a IP address to be
> > assigned on this VLAN.
> >
> > This is how I define VLANs on the 2924.
> >
> >   In exec mode type
> >
> >   vlan database
> >   vtp  transparent
> > vlan 3 name vlan3 state active
> > exit
> >
> >   Then go into configuration mode and assign ports to this vlan as you
> > have done below using the "switchport access vlan x" command.
> >
> >   Kevin
> >
> >
> > At 08:32 AM 9/12/00 -0500, you wrote:
> > >Hi Group,
> > >
> > >I have a weird problem with Cat 2924XL-EN switch. I am using following syn
tex to create 2 VLANS other than default and assign some ports to it.
> > >
> > >conf t
> > >int fa 0/1
> > >switchport mode access
> > >switchport access vlan 2
> > >int fa0/2
> > >switchport mode access
> > >switchport access vlan 3
> > >end
> > >
> > >
> > >Now when I type "show vlan" it shows newly created VLANs and member ports.
 However in order to show up like default VLAN with command "sh int vlan 1" I t
hought about creating vlan interface.
> > >
> > >conf t
> > >int vlan 2
> > >exi
> > >int vlan 3
> > >end
> > >
> > >Now when I type "sh int vlan 1" it shows up-up. While show int vlan 2 or 3
 shows Administratively down. All the VLANs are working fine though. Any ideas
about this?
> > >
> > >Thanks in advance,
> > >
> > >Sam Munzani
> > >sam@chinet.com
> > >
> >
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:55 GMT-3