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

need help setting up vlan's on my catalyst 5500

Status
Not open for further replies.

madess

MIS
Apr 17, 2003
36
US
I am attempting to setup a virtual lan on my 5500. It has a router switch interface installed. When ever I add a port to the vlan it drops off the network and I can no longer comminicate with that port.

Thanks
Matt
 
Matt,

I need more details. Is the port going to disabled? or Inactive? Is the 5500 a vtp server or client?

What devices are you connecting to the switch (hubs) (routers) or (end stations)?

thanks,

Lee
 
It is neither a vtp server or client - I have to assume this a prerequisite. There are routers, switches and endstations connected to the switch. The ports in particular I am attempting to put on the vlan are for a Tandem nonstop server.
 
Could you please post your config, that way we can take a look at it an make some suggestions.
 
I am going with IPKONFIG on this one, you will need to post your configs. What you are aking is general and I am not real sure of what your problem is.

As a general rule you need to defind a vtp domand and set the mode to server (usually default after you set the vtp domain). One in server mode you can create vlans on the switch.
 
Here is the config, I will setup the vtp domain and server today.

begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Sat Nov 29 2003, 10:16:25
!
#version 5.5(10)
!
set password
set enablepass
set prompt HQ-5500#
set logout 60
!
#test
set test diaglevel complete
!
#system
set system name Elder-HQ
set system location Dayton
!
#frame distribution method
set port channel all distribution mac both
!
#snmp
set snmp rmon enable
!
#vtp
set vtp domain eb
set vtp mode transparent
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 2 name tandem type ethernet mtu 1500 said 100002 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active stp ieee
set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active stp ibm
set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state active mode srb aremaxhop 7 stemaxhop 7 backupcrf off
!
#ip
set interface sc0 1 10.1.225.100/255.255.0.0 10.1.255.255

set arp agingtime 10
set ip route 0.0.0.0/0.0.0.0 10.1.225.1
set ip alias default 0.0.0.0
set ip alias defau 0.0.0.0
!
#spantree
set spantree disable all
#vlan 1003
set spantree fwddelay 15 1003
set spantree maxage 20 1003
#vlan 1005
set spantree fwddelay 15 1005
set spantree maxage 20 1005
!
#cgmp
set cgmp enable
!
#set boot command
set boot config-register 0x2
set boot system flash bootflash:cat5000-sup3.5-5-10.bin
!
#igmp
set igmp disable
!
#mls
set mls nde disable
!
# default port status is enable
!
!
#module 1 : 0-port Supervisor III
!
#module 2 : 0-port Supervisor III
!
#module 3 empty
!
#module 4 : 1-port Route Switch
set spantree portcost 4/1 100
!
#module 5 : 24-port 10/100BaseTX Ethernet
set port name 5/12 tandem
!
#module 6 : 24-port 10/100BaseTX Ethernet
set spantree portvlancost 6/5 cost 18
!
#module 7 : 24-port 10/100BaseTX Ethernet
!
#module 8 : 24-port 10/100BaseTX Ethernet
set trunk 8/1 on isl 1-1005
set spantree portcost 8/1 5
set spantree portvlancost 8/1 cost 4
!
#module 9 : 24-port 10/100BaseTX Ethernet
!
#module 10 : 24-port 10/100BaseTX Ethernet
set vlan 1 10/20
set port speed 10/20 100
set port duplex 10/20 full
!
#module 11 : 24-port 10/100BaseTX Ethernet
set trunk 11/12 desirable isl 1-1005
!
#module 12 empty
!
#module 13 empty
!
#switch port analyzer
set span 1 10/20 both inpkts disable learning enable multicast enable create
end
 
Yep, your problem is your VTP mode is transparent. Try using this command:

set vtp mode server <enter>

Then try setting up your vlans

set vlan 3 name (Test) <-----don't know if you want to add a vlan or not.

Then assign your ports to which ever vlan you created, or to existing vlans. You should be good to go.
 
I set it to server mode and it still does not seem to work.
I have a vlan 2 created and if I add anthing too it - it stops responding to pings.
 
I'm assuming you have a Route Switch Module in your Catalyst to route traffic right? And that you've configured it with Vlan 2 as a routed interface?
 
There is a router module in the Catalyst 5500 that I am assuming needs to be a part of the vlan ... If so how do I add it.
 
Disregard that last post, that is unlcear. Yes it does have a router switch module. Though I have not configured it with Vlan 2 as the routed interface - how do I do that.
 
Ah ha! Try this:

session over to the router and try out these commands:

config t
interface vlan 2
ip address x.x.x.x x.x.x.x
no shutdown
end


The IP address should be the gateway of the machines in vlan 2.
 
when I set up the vlan ip address it gives me this message

10.1.0.0 overlaps with Vlan1

any thoughts.





 
Yeah, look at this. I took it from your configuration that you posted above;

#ip
set interface sc0 1 10.1.225.100/255.255.0.0 10.1.255.255


The (1) after the &quot;sc0&quot; indicates the vlan that your address space is on. Your trying to assign an address space to vlan 2 that's already assigned to vlan 1. Why don't you use 10.2.0.0/16 as your network for vlan 2.
 
never mind, dumb question, I figured it out, and it works, thank you so much for your help.

Matt
 
Yep, that is what I did before I recieved you post. Thanks again.
 
No problem. Just remember, when you create new vlans, that you have to build a routed interface if you want them to talk to other vlans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top