Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Clarification on trunking on this 'cascaded' switch

Imagine I have the following:

Switch1 (all ports on Vlan1)

fa0/10 ---connected to-----fa0/10Switch2

Switch2 (all ports on Vlan2)

If I want hosts from Vlan2 to communicate with switch1 Vlan1 hosts, I would need to do:

switch1

int fa0/10

switchport mode trunk

switchport allowed vlan 2

and do the same on switch2.

Is that correct?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Clarification on trunking on this 'cascaded' switch

That's correct, but you'd need to create a vlan 2 on the vlan 1 switch and vice versa. The vlan's need to match on both switches. Then configure your int fa0/10 like your example.

You *may* need to change your line to allow vlan 1 also (but it's native by default, so you may not):

switchport allowed vlan add 1,2

HTH,

John

HTH, John *** Please rate all useful posts ***
2 REPLIES

Re: Clarification on trunking on this 'cascaded' switch

That's correct, but you'd need to create a vlan 2 on the vlan 1 switch and vice versa. The vlan's need to match on both switches. Then configure your int fa0/10 like your example.

You *may* need to change your line to allow vlan 1 also (but it's native by default, so you may not):

switchport allowed vlan add 1,2

HTH,

John

HTH, John *** Please rate all useful posts ***
Hall of Fame Super Gold

Re: Clarification on trunking on this 'cascaded' switch

John's right. Aside from creating the VLAN 2 SVI, if your switch is the 2900/3500, 2950/3550, X4013+, you need to create VLAN 2 on the VLAN database.

112
Views
0
Helpful
2
Replies