06-01-2019 01:01 PM - edited 06-01-2019 01:04 PM
Hi, Im having some trouble with switching and BVIs. Im trying to setup an AP with local switching so i need a trunk port. This is my network setup.
When I plug the AP directly into the switch below the router all the vlans work however when I have it connected to the POE modules only a single vlan will pass traffic.
When I go to the routers config page it shows that the vlans that don't pass traffic (11 and 12) are down
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/0.10 unassigned YES unset up up
GigabitEthernet0/0.11 unassigned YES unset up up
GigabitEthernet0/0.12 unassigned YES unset up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
GigabitEthernet0/1/0 unassigned YES unset up up
GigabitEthernet0/1/1 unassigned YES unset up up
GigabitEthernet0/1/2 unassigned YES unset down down
GigabitEthernet0/1/3 unassigned YES unset down down
GigabitEthernet0/1/4 unassigned YES unset down down
GigabitEthernet0/1/5 unassigned YES unset down down
GigabitEthernet0/1/6 unassigned YES unset down down
GigabitEthernet0/1/7 unassigned YES unset down down
BVI10 10.0.0.221 YES NVRAM up up
BVI11 10.0.1.10 YES NVRAM up up
BVI12 10.0.2.10 YES NVRAM up up
Vlan1 unassigned YES unset up up
Vlan10 unassigned YES unset up up
Vlan11 unassigned YES unset down down
Vlan12 unassigned YES unset down down
Starting from the bottom the port connecting the switch to the router is configured as follows
interface ethernet 1/47 jumbo frame mtu 9014 switchport allowed vlan add 1 untagged switchport mode trunk switchport allowed vlan add 1,10-12 tagged
The router is configured as follows
interface GigabitEthernet0/0 no ip address duplex auto speed auto ! interface GigabitEthernet0/0.10 encapsulation dot1Q 10 bridge-group 10 ! interface GigabitEthernet0/0.11 encapsulation dot1Q 11 bridge-group 11 ! interface GigabitEthernet0/0.12 encapsulation dot1Q 12 bridge-group 12 ! interface Vlan1 no ip address ! interface Vlan10 no ip address bridge-group 10 ! interface Vlan11 no ip address bridge-group 11 ! interface Vlan12 no ip address bridge-group 12 interface BVI10 ip address 10.0.0.10 255.255.255.0 ! interface BVI11 ip address 10.0.1.10 255.255.255.0 ! interface BVI12 ip address 10.0.2.10 255.255.255.0 ! bridge 10 protocol ieee bridge 10 route ip bridge 11 protocol ieee bridge 11 route ip bridge 12 protocol ieee bridge 12 route ip !
Finally the POE module on the router is configured as follows.
interface GigabitEthernet0/1/0 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address ! interface GigabitEthernet0/1/1 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address ! interface GigabitEthernet0/1/2 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address ! interface GigabitEthernet0/1/3 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address ! interface GigabitEthernet0/1/4 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address ! interface GigabitEthernet0/1/5 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address ! interface GigabitEthernet0/1/6 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address ! interface GigabitEthernet0/1/7 switchport trunk native vlan 10 switchport trunk allowed vlan 1,2,10-12,1002-1005 switchport mode trunk no ip address
The problem has to be from the router up as everything else on the network is working fine. I can ping the BVI IPs from the different vlans so that access is working. However when i connect the AP to the POE module only Vlan 10 pases traffic.
Is there something wrong with my config ?
Solved! Go to Solution.
06-02-2019 02:11 PM
Ok. It was the vlan database.
When I set one of the ports to an access port I got the following.
(config-if)#switchport access vlan 11
% Access VLAN does not exist. Creating vlan 11
So I went to the vlan database
after entering
vlan database
vlan 11
vlan 12
the vlans came online so it turns out they have to be created in the vlan database and the config as an interface.
06-01-2019 05:13 PM
06-02-2019 04:57 AM - edited 06-02-2019 06:59 AM
The switch is not a cisco and its configured for trunking (its an edgecore). I can ping the BVI interface IP addresses from devices connected to the switch on the same vlan.
Here is the sh vlans output
06-02-2019 06:02 AM - edited 06-02-2019 10:46 AM
06-02-2019 02:11 PM
Ok. It was the vlan database.
When I set one of the ports to an access port I got the following.
(config-if)#switchport access vlan 11
% Access VLAN does not exist. Creating vlan 11
So I went to the vlan database
after entering
vlan database
vlan 11
vlan 12
the vlans came online so it turns out they have to be created in the vlan database and the config as an interface.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide