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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VLAN Cisco 2950

Status
Not open for further replies.

lostwood

IS-IT--Management
Joined
Aug 9, 2005
Messages
2
Location
US
I have cisco 2950's that i have control of. I need to set up a vlan that can be used for a secondary internet connection for customer usage. The vlan needs to be acessable by a router to use this circuit as a roll over circuit. How do I go about setting up this vlan?
 
Hi

To create a vlan on a 2950, use the following steps:

Connect to the switch and enter privileged EXEC mode (the # or hash prompt on a Cisco switch), then use these commands to add an Ethernet VLAN:

vlan database
vlan <vlan-id> name <vlan-name>
exit
show vlan name <vlan-name>


 
The VLAN database has been superceeded by the switches now allowing VLAN's to be created in global config:

switch# conf t
switch(config)# vlan 10
switch(config-vlan)# name VLAN-10
switch(config-vlan)#exit
switch(config)# exit

You assign the ports to vlans with the command switchport access vlan x

switch# conf t
switch(config)# interface fastethernet0/1
switch(config-if)# switchport access vlan 10

I would recommend disabling VTP as well......

switch# conf t
switch(config)# vtp mode transparent

HTH

Andy
 
Andy will this setup give me the security i need on the switch. Let me ask you this say i set up vlan1 on ports 1-22 and vlan 2 on ports 23-24. Vlan 2 will be used for the interent connection for the customer. Does the router need to be setup to go to vlan 2 if the primary man were to fail?
Can i route inside of the switch? Say switch 20 is at a remote location but i have internet running out of switch 10. Switch 20 is connected to switch 10 but the required internet access is on switch 20. How do I get switch 20 to go to switch 10 on a differnt subnet and go to the interent.

I appreciate any help you can give. As i delv into this deeper and deeper it seems to get more complex for what i need it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top