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

Vlans Catos version 2.1(6)

Status
Not open for further replies.

Namekian

IS-IT--Management
Nov 5, 2004
56
US
I really am in need of assistance here. I have a Cisco Catalyst 5000 switch and am in need of Vlaning it. However, I am really having a hard time figuring it out.
Here is what I have for the router:
It is a Cisco 2621:
fa0/0
ip add 192.168.1.1
no shut

fa0/0.1
encap dot1q 1
ip add 192.168.2.1

and the switch
set int sc0 192.168.1.1
set vtp domain name test
set vlan 3 name test
set vlan 3 2/4-5

The subnet masks are all there also. From what I discovered, I have to have an ip in the sc0 in order for anything to communicate with it. However, how would I have the vlans go to the subinterface without a gateway in their network?

Anyhelp would be greatly appreciated.
 
cisco 2621
int f0/0
no ip address

int f0/0.1
encapsulation isl 1 --->(vlan#)
ip address 192.168.1.2 255.255.255.0

int f0/0.2
encapsulation isl 3 --->(vlan #)
ip address = whatever you decide to make it


switch
set int sc0 1 192.168.1.1 255.255.255.0
set vlan 3 state active

set trunk 3/4 on isl
(by default all vlans are allowed onto the trunk unless pruned off)
set vlan 1 3/4

This all assuming that the codes and the router support trunking , I did not check this . Your catos is extremely old and I don't know what the limitations are , also you linecards on the 5000 need to be able to support trunking , you can do a show port capabilities mod/port to see if your module even supports trunking , its very possible being so old that it does not .

 
The port number on the config should be 2/4 not 3/4 after looking at your config again .
 
Still nothin:
Router:

interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation isl 3
ip address 192.168.1.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/0.2
encapsulation isl 2
ip address 192.168.2.1 255.255.255.0
no ip redirects

Switch:

#vtp
set vtp domain test mode server
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 2 name VLAN0002 type ethernet mtu 1500 said 100002 state active
set vlan 3 name test type ethernet mtu 1500 said 100003 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active pare
nt 0 ring 0
set vlan 1003 name token-ring-default type token_ring mtu 1500 said 101003 state
active parent 0 ring 0
set vlan 1004 name fddinet-default type fddi_net mtu 1500 said 101004 state acti
ve bridge 0 stp ieee
set vlan 1005 name trnet-default type tr_net mtu 1500 said 101005 state active b
ridge 0 stp ieee
!
#vlan
set vlan 1 1/1-2
set vlan 1 2/1-4,2/7-12
set vlan 1 3/1-12
set vlan 1 4/1-12
set vlan 1 5/1-12
set vlan 2 2/6
set vlan 3 2/5

set trunk 2/4 on 1-1000
set trunk 2/5 on 1-1000
set trunk 2/6 on 1-1000


I have a Pix Cisco Firewall 6.3 that I would prefer to use, but if that can't be done, then I can rearrange the network set up, that is if the router can handle trunking and all that.
I wasn't able to do the command: set trunk 2/4 on isl
I could only do set trunk 2/4 on 3 (vlan 3)
 
What vlan do you have SC0 on in the switch ? What is the output of a show trunk on the switch . if you do a show vlan on the router what is the output . What port is your connection on between f0/0 and the switch ? Does anything show up when doing a show cdp neighbor . Looks like you used vlan 2 and 3 so int sc0 on the switch must be in vlan 2 or 3 , then you must set the default route on the switch to point to the router address of the vlan it is on , if in vlan 2 then it would be set ip route default 192.168.2.1 . The reason the switch wouldn't take the set trunk 2/4 on isl is probably because the os is so old it doesn't know anything but isl anyway , dot1Q was only a glimmer in the eye this os is so old . Also try making your vtp mode as transparent . If you can post some of this info maybe we can help more , otherwise I'm kind of out of ideas , we have setups like the one above and they work fine .
 
Do a show trunk on the switch, verify that the trunks are acutally up and running.

Read up here:

If your cat os is really 2.x, that is way old. Get a copy of 5.5 from somwhere. The actually rev level will depend on your Sup card. Not all are created equal. Same for the blades of 10/100 ports. The older blades can not set up etherchannel for example even though they are 10/100. There was a revsion A that could.

MikeS

Find me at
"Take advantage of the enemy's unreadiness, make your way by unexpected routes, and attack unguarded spots."
Sun Tzu
 
I wish I could update it, but it would cost $2500, we could just buy another switch for that amount.
Anyhow:
Console> (enable) sh trunk
Port Mode Status
------- --------- ------------
1/1 auto not-trunking
1/2 auto not-trunking
2/1 auto not-trunking
2/2 auto not-trunking
2/3 auto not-trunking
2/4 on not-trunking
2/5 on not-trunking
2/6 on not-trunking
It will change to trunking when there is something pluged in there.
sc0: flags=63<UP,BROADCAST,RUNNING>
vlan 1 inet 192.168.1.150 netmask 255.255.255.0 broadcast 192.168.1.255

Console> (enable) sh vlan
VLAN Name Status Mod/Ports
---- -------------------------------- --------- ----------------------------
1 default active 1/1-2
2/1-4,2/7-12
3/1-12
4/1-12
5/1-12
2 VLAN0002 active 2/6
3 test active 2/5
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 Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- ------ ------
1 enet 100001 1500 - - - - 0 0
2 enet 100002 1500 - - - - 0 0
3 enet 100003 1500 - - - - 0 0
1002 fddi 101002 1500 0 0 - - 0 0
1003 tring 101003 1500 0 0 - - 0 0
1004 fdnet 101004 1500 - - 0 ieee 0 0
1005 trnet 101005 1500 - - 0 ieee 0 0

No entry for cdp neighbor, but the switch shows up on the routers cdp table.

Router:

interface FastEthernet0/0.1
encapsulation isl 3
ip address 192.168.1.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/0.2
encapsulation isl 2
ip address 192.168.2.1 255.255.255.0
no ip redirects


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top