cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2214
Views
0
Helpful
19
Replies

Vlan Configuration

dcgtechnologies
Level 1
Level 1

Hello, I am new to the forum and I am in the process configuring a VLAN from switch1 to switch2. The Vlan is connected to Switch 1 on port Gi1/0/1 and I had it configured with my old Cisco Aironet AP on port Gi1/0/24 and it worked great. But now I have bought a Cisco 3750X switch which we can call switch 2. I am putting my new Cisco Aironet AP on port Gi1/0/48 on Switch 2 and it is not working at all and from what I can see I am missing the port for the VLAN 2 I would need to add to get it to work properly. When I plug it back in to port Gi1/0/24 it works great as they are on the same switch, but when I go to port Gi1/0/48 on Switch 2 it does not work at all. Can someone please help me on the solution to this? I am thinking I might need to trunk the uplink ports but I am not sure as everything I have on VLAN1 works perfectly. Any ideas? Thank you.

1 Accepted Solution

Accepted Solutions

G1/0/24 of SW1 has right trunk port configuration, apply the same config on G1/0/25 of SW1 and G1/1/1 on SW2

 

G1/0/48 on SW2 has to be access port (if AP is local mode). 

 

Hope that clears

 

Rasika

View solution in original post

19 Replies 19

if you have CLI access to those switches, pls check SW1 & SW2 interconnection is up & trunk it properly.

#switchport mode trunk

 

HTH

Rasika

Which port do I need to run it on? The VLAN is on my firewall and goes through Gi1/0/1 on Swich1 and on Switch 2 the port I want to use is Gi/1/0/48. Since they are on two different switches. The interconnectivity is up and running just fine? I show the default Vlan 1 communicating just fine when I have the Access Port on Vlan 1, but Vlan 2 on the Access Point is not working correctly. How would they need to be configured?

Have you interconnected SW1 & SW2 ? or are they connect to firewall directly ?

The interconnectivity is up and running just fine between both switches and only switch 1 is connected to the firewall, but keep in mind Switch 1 and Switch 2 have interconnectivity on port Gi1/1/1 and Gi1/0/25 using a Fiber interconnect cable. The Vlan 2 is setup up to give out DHCP using a VLAN setup on my firewall which is ran through Switch 1 on port Gi1/0/1. When I connect it to port Gi1/0/24 is Vlan 1 and 2 work fine. I show the default Vlan 1 communicating just fine when I have the Access Point on on Switch 2 on port Gi1/0/48, but Vlan 2 on the Access Point is not working correctly and there are no ports assigned. See config below for VLAN 2 on Switch 2:
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
2 VLAN  active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
2 enet 100002 1500 - - - - - 0 0

Remote SPAN VLAN
----------------
Disabled

Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Any ideas? Thanks.

Make sure you have a trunk port configuredlowing the vlans between switch 1 and switch 2. If the issue is broke between the two switches, you can easily figure that out by setting up a port on switch 2 for vlan 2 and connect a laptop to it and see if the laptop gets an ip and has connectivity out. 

-Scott
*** Please rate helpful posts ***

How could I configure this? Do you have the commands to perform this action? Thank you.

Here is the output I get when trying to configure the trunk on SW2:

SW2#show interfaces GigabitEthernet 1/0/48 trunk

Port Mode Encapsulation Status Native vlan
Gi1/0/48 auto 802.1q other 1

Port Vlans allowed on trunk
Gi1/0/48 none

Port Vlans allowed and active in management domain
Gi1/0/48 none

Port Vlans in spanning tree forwarding state and not pruned
Gi1/0/48 none
SW2#

I have used the switchport command over and over with no such luck.

Have you defined vlan 2 on SW2 ? If not define that first.

 

When your AP is plugged on G1/0/48 on SW2 & it is powered, pls issue "show span vlan 2" on SW2 and provide us the output.

 

HTH

Rasika

Yes it is powered up and running great. Like I said VLAN 1 is working just fine on the AP. The results for VLAN 2 on Switch 2 for spanning tree are below:

show span vlan 2

Spanning tree instance(s) for vlan 2 does not exist.
How do I enable this? Thank you.

Define the L2 vlan on SW2 first.

SW2

#vlan 2

#exit

 

Then issue "show span vlan 2" & ensure SW1 connected port appear as root port for vlan 2.

 

HTH

Rasika

Are you saying that Vlan 2 does not exist on Switch 2? How would I define the port for Switch 1 on Switch 2? I am confused. Sorry forgive my ignorance.

Yes, it seems vlan 2 is not there in SW2.

when I perform a show vlan ID 2 I get results. See below:

SW2#show vlan id 2

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
2    VLAN      active

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
2    enet  100002     1500  -      -      -        -    -        0      0

Remote SPAN VLAN
----------------
Disabled

Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

SW2# show span vlan 2

Spanning tree instance doe vlan 2 does not exist.

 

When I show the vlan is 2 I see the Vlan there, but there is no port associated with it. Thank you.

 

 

See output from show vlan on Sw2:
SW2#show vlan

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3
Gi1/0/4, Gi1/0/5, Gi1/0/6
Gi1/0/7, Gi1/0/8, Gi1/0/9
Gi1/0/10, Gi1/0/11, Gi1/0/12
Gi1/0/13, Gi1/0/14, Gi1/0/15
Gi1/0/16, Gi1/0/17, Gi1/0/18
Gi1/0/19, Gi1/0/20, Gi1/0/21
Gi1/0/22, Gi1/0/23, Gi1/0/24
Gi1/0/25, Gi1/0/26, Gi1/0/27
Gi1/0/28, Gi1/0/29, Gi1/0/30
Gi1/0/31, Gi1/0/32, Gi1/0/33
Gi1/0/34, Gi1/0/35, Gi1/0/36
Gi1/0/37, Gi1/0/38, Gi1/0/39
Gi1/0/40, Gi1/0/41, Gi1/0/42
Gi1/0/43, Gi1/0/44, Gi1/0/45
Gi1/0/46, Gi1/0/47, Gi1/0/48
Gi1/1/1, Gi1/1/2, Gi1/1/3
Gi1/1/4
2 VLAN 2 active
3 VLAN 3 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode 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
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
From what I see here they are there. What am I missing here? Thank you :)
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card