• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1062
  • Last Modified:

Trunking Cisco 2900 and 4506

I am trying to connect new Cisco 2900 switch to our existing 4506 switch and give access to other vlans.  The new switch will be belong to vlan10. I have configured the following on one of the porst on 4506 and I am going to configure one port on 2900 with the same configuration.  vlan10 is already configure on our core switch and access permission has been set up.

switchport access vlan 10
 switchport trunk encapsulation dot1q
 switchport mode trunk

Once the configuration is done, I have to add all the ports on 2900 to vlan 10, right?

In this case, do I have to use cross-over cable between the two ports or straight through is ok?
0
Infamus
Asked:
Infamus
  • 7
  • 5
  • 2
  • +2
4 Solutions
 
Ernie BeekExpertCommented:
Correct, all should be (just) accessports on vlan 10.

If I remember correctly the 2900's don't have auto MDI/MDX, so you'll need a cross cable
0
 
dslam24Commented:
You should not need the 'access' command. On the trunk port on your 2900 do this...

switchport trunk encapsulation dot1q (may not be needed on the 2900 because it doesn't do ISL so it's dot1q by default)
switchport mode trunk
switchport trunk allowed vlan 10,x,x,x,x


On the access ports do this...
switchport access vlan 10
switchport mode access



===> then if you want to manage the 2900 using an ip address on vlan10 go
int vlan 10
ip address x.x.x.x <subnet mask>
0
 
FideliusCommented:
Hello,

If you have 2960 you don't need cross cable. Auto-MDIX is enabled by default.
http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_25_see/configuration/guide/swint.html#wp1193977

Regards!
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
InfamusAuthor Commented:
Thanks for quick replies guys.

So here's what I need to configure on the switch?

On 4506

config t
interface gi5/6
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk

On 2900

config t
int vlan10
ip address 10.10.10.1 255.255.255.0

int eth5/3
switchport trunk encapsulation dot1q
switchport mode trunk


Thanks.
0
 
Ernie BeekExpertCommented:
Almost, get rid of ' switchport access'.
0
 
Marius GunnerudSenior Systems EngineerCommented:
if you only want to allow vlan 10 over the trunk then the command would be

On 4506

config t
interface gi5/6
switchport trunk allow vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk


If you are going to allow more than one vlan you can add more vlans to the allow list seperating them with a comma or you can remove the "switchport trunk allow vlan" command all together and all vlans will be allowed by default.
0
 
InfamusAuthor Commented:
Thanks, guys.

I will be implementing this on Thursday and I will let you know the result.

I will get back to you once everything is set up.

Thanks again.
0
 
Ernie BeekExpertCommented:
Do let us know, good luck.
0
 
InfamusAuthor Commented:
Sorry guys, I didn't get a chance to configure the switch yesterday.  It has been scheduled for sometime next week.. Trust me, I won't forget about you guys and will post the result.

Thanks.
0
 
Ernie BeekExpertCommented:
We trust you, to post the results ;)
0
 
InfamusAuthor Commented:
I haven't tried this yet but I'm sure this will work.
0
 
Ernie BeekExpertCommented:
If not, just post here again.

Good luck.
0
 
InfamusAuthor Commented:
Okay, that did not work.

Let me clarify by explaining our environment.

We have multiple VLANS but they are able to communicate each other.

Our core switch which is 4507 is the VTP server and the rest of the 4506 switches are VTP clients.

All 4506 switches are directly connected to 4507's Supervisor module.

We added this 2900 switch recently to replace a dummy switch which was plugged into one of the ports one of the 4506s.

VLAN 10 is already defined on the core switch along with other VLANS.

I wasn't able to run some of the commands like switchport mde trunk encap and only options I had were  native, access and prunning.

Any idea?

Thank you.
0
 
FideliusCommented:
Hello, if 2900 will have all ports in same VLAN, try to configure it in VTP mode transparent, create manually VLAN 10 and connect it to 4560.

Also please submit IOS version from 2900.

Regards!
0
 
InfamusAuthor Commented:
I will try to get the config from the 2900.

Thanks.
0
 
InfamusAuthor Commented:
vtp password.....
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 5
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now