Help.... Cisco Cat OS

calvinj

[H]ard|Gawd
Joined
Mar 2, 2009
Messages
1,738
I just ordered 2 Cisco 2948G. I'm trying to trunk 1 port from the switches to my cisco 2620 router.

I am currently have 2 vlans. Both are setup like so:

interface fastethernet 1/0.1
encapsulation dot1q 1
ip address xx.xx.1.254 255.255.255.0
interface fastethernet 1/0.2
encapsulation dot1q 2
ip address xx.xx.2.254 255.255.255.0

On my 2948G, I've setup vlan 2 use the set vlan 2 name Desktops and of course vlan is there by default

On the switch I'm putting in set trunk 2/1 on dot1q 1-1005. It does not want to trunk to the vlans on the router.

Anybody have any idea's???????
 
Oh CatOS.. how I hate you.

On my 2948G, I've setup vlan 2 use the set vlan 2 name Desktops and of course vlan is there by default

I think this might be your problem. The VLAN needs to be defined (like you did with the set vlan 2 name Desktops), but then it needs to be assigned to ports.

If you do a "show vlan" you'll likely see everything in VLAN1. Do "set vlan 2 2/2-48". This means, "apply vlan 2 to ports 2-48". It should work then... your router config is solid (although i wouldn't ever use vlan 1 if i were you).

the ios equivalent in case you're interested:
int range g2/2-48
swi access vlan 2
swi mode access
 
Oh CatOS.. how I hate you.

Been thinking I agree with you too!!!

So your suggesting that I do not use my default vlan? have a server vlan and a desktop vlan such as vlan 2 = Servers && Vlan 3 = Desktops???
 
I'm guessing you are on the same vtp domain?

set trunk 2/1 on dot1q 1-1005,1025-4094
 
I'm guessing you are on the same vtp domain?

set trunk 2/1 on dot1q 1-1005,1025-4094


You are correct. Everything is on the Same VTP Domain. The Vlan's pass through to the 2nd switch

I've tried that and it still doesn't seem to route anything from the trunk to the 2620..
 
Could you post the full CatOS config? Mask out the passwords/IPs and such if any.

Also, please post "show vlan" and "show trunk" from the 2948.
 
Sorry that I beat you too it. What fixed it is taking the trunk out of the first vlan.


set vlan 2 port 2/1

I can ping all of my vlans on the router.

Here is the end result

100_0962.jpg


100_0963.jpg
 
Back
Top