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

VLAN question

Hi,

I setup two ethernet switches (CAT 3750) on 8/F and 32/F. detail please check the attached file.

there are two fibers to be connected to each other. It has two VLANs on 8/F and 32/F. 192.168.12.0/24 and 192.168.24.0/24. how do I config the CAT to force the 192.168.12.0/24 traffic to fiber A and 192.168.24.0/24 go fiber B?

any suggestion?

rdgs

1 REPLY
Hall of Fame Super Bronze

Re: VLAN question

If you are only going to deal with 2 Vlans, let's call 192.168.12.0/24 Vlan12 and 192.168.24.0/24 Vlan24.

Then on the switches, where you want traffic for Vlan12 to go just issue the following on the switchports

interface fx/x

switchport mode access

switchport access vlan 12

On the switchport where you want Vlan24 just issue:

interface fx/x

switchport mode access

switchport access vlan 24

If you wanted to trunk the ports, issue the following:

interface fx/x

switch port trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 12

For Vlan12 and for Vlan24

interface fx/x

switch port trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 24

One thing to keep in mind, I recommend going with the trunk if you plan on carrying more than one Vlan over that link. If you aren't then go with the access-vlan method.

HTH,

__

Edison.

112
Views
0
Helpful
1
Replies