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

How do I configure two VLANS in a Cisco 4006 switch?

Status
Not open for further replies.

sasj0e

IS-IT--Management
Joined
Nov 6, 2002
Messages
82
Hi,
I am to configure a cisco 4006 switch with two VLANS.One Vlan should be connected to the company backbone network and another to a seperate testing network.What extra care that I should take to complete the task easily.
Regards,
Sathya
 
Do you need to be able to connect between the 2 VLANs. If so, you'll need InterVLAN routing enabled. What Sup engine do you have?
 
No,not exactly.I need to setup two VLANs in a switch.One for company backbone network and another for a testing network.I might not need these two vlans communicate.But, the VLAN which should be part of the company network,might need to communicate with backbone network.So please advice me in this regard.I have also put another detailed questiion for the forum
Regards,
sathya
 
Hi,
anybody could help me out in this at the earliest?
Please reply me with a solution,
Thanks
Sathya
 
Hi sasj0e,

I got ur problem.I assume u have two different subnets for ur both backbone network and testing network.
Here is the configuration of setting vlans.

INBOMNCG-1A-C4006> (enable) set vtp domain <name>
INBOMNCG-1A-C4006> (enable) set vtp mode ?
client VTP client mode
server VTP server mode
transparent VTP transparent mode
off VTP off

<now choose server,it will allow u to add more vlans in future>
Now add ports in the vlans.

INBOMNCG-1A-C4006> (enable) set vlan 2 name <name>
INBOMNCG-1A-C4006> (enable) set vlan <num> <mod/port>
<Here u can give renge of ports if u have to assign more than one e.g.2/5...30>

There are some additional configuration in vlan settings like mtu,said,translations,vtp prunning etc.for that pls check,
Hope this will help.

Cheers,
netlife.
 
Thanks netlife,
But still I have doubt with this.since the backbone network is already setup and running from years,I need to connect this switch to the backbone network as client only(i guess this,if my understanding of your solution is correct).I am not sure about this vtp client or server.If i join the new switch to this backbone network,then how do I isolate the testing network from the backbone?
doubt might be stupid but would like to know on this.
Thanks,
Sathya
 
If you are configuring more than 2 vlan's on this switch, you will need to set trunk mode between this switch and your backbone.

Also you may note where will your Testing vlan be routed (i guess that inside the 4k box).

Lastly, be careful when configuring VTP as server mode, I'd rather configure it as Transparent since it may override some Backbone vlan configuration (could happen..you never know)

4k-sup#vlan database
vlan 2 name TestVlan
vlan xxx---> to bb vlan
apply
exit

!# if TestVlan is going to be routed here then :
4k-sup(config)#interface vlan 2
ip address 192.168.1.0 255.255.255.0

!#and configure whatsoever IGP routing protocol.

interface Gigabit 5/4
description To BackBone
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,2,....

hope it helps,

else, let me how I can help you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top