Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed: VLAN configuration on a cat2950

Status
Not open for further replies.

ElCid

MIS
Aug 22, 2002
2
AU
I'm trying to configure VLAN's on a 2950 switch, but the command vlan-membership does not work when I add a port to a VLAN. Is the command only applicable to a 1900 switch? What are the other commands to add ports to a VLAN? Please help.
 
Only the basic commands (They're all I know :)

Try the following command line interface (CLI) entries for a str8 forward static VLAN:

Switch(config-if)#switchport mode [access | multi | trunk]
Switch(config-if)#switchport access vlan vlan-num

Verify VLAN configuration:
Switch#show vlan brief

Deleting VLANs:
Switch(config-if)#no switchport access vlan vlan-num

I've found that with the introduction of the CLI life is a lot easier. (love that /? ability)

 
Remember you have to create the VLANs etc first.

#vlan database
#vtp server
#vtp domain xxxx
#vlan 2 name USER-LAN-1

Then conf t
#interface fast 0/1
#switchport access vlan 2

Cheers

Mark
PS on the 2950s & 2924XLs when you "show run" the vlans do not show up , you have to use the "show vlan" command.
 
a very handy command:
show interface status

gives:
S44-3>sh interface status

Port Name Status Vlan Duplex Speed Type
------- ------------------ ------------ -------- ------ ------- ----
Fa0/1 trunk to 66-1 connected trunk Full 100 100BaseTX/FX
Fa0/2 port connected 5 A-Full A-100 100BaseTX/FX
Fa0/3 Betty connected 5 Full 100 100BaseTX/FX

-Jeff
----------------------------------------
Wassabi Pop Tarts! Write Kellogs today!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top