Another VLAN scenario
Posted: Tue Jul 31, 2018 5:47 pm
Hello,
I've picked up a couple of these WS-8-150-DC switches, and I'm tinkering with it on my bench here, and I've been through the other vlan threads, but can't seem to make things work like I want to.
What I'm trying to do is two things, have the switch itself on a MGMT vlan other than 1, so that I can see it in my existing mgmt network, and two, have untagged traffic be tagged in a trunk port.
On the 2nd Item,
Normally, in a cisco switch, I'll have the data and mgmt vlans assigned to a trunk port going to an AP, and that port I'll set the native vlan to the data vlan.
So it would look like this:
interface GigabitEthernet0/2
description ***UBNT AP***
switchport trunk encapsulation dot1q
switchport trunk native vlan 20
switchport trunk allowed vlan 20,30
switchport mode trunk
spanning-tree portfast trunk
!
That way the untagged CPE traffic passing through the AP is tagged by the switchport in vlan 20, while I can manage the AP and cpe radios in the other vlan, because the AP tags its mgmt traffic.
I've tried to set a port to Trunk with the vlan's allowed and vlan 20 to Q, and 30 to T, and untrunked in the same manner, but can't seem to get the traffic to work. The tagged mgmt traffic works fine.
The first item, I'm configuring the switch from port 6, and I leave port 6 at U, I tag the AP and link ports (ports 1 and 2). If I change the vlan from 1 to anything, I lose connection to the switch on port 6, and it doesn't come up in the mgmt vlan either ?? I've been tinkering with it all afternoon with no success. I did update to v1.5.0 also.
Thanks for any insight
I've picked up a couple of these WS-8-150-DC switches, and I'm tinkering with it on my bench here, and I've been through the other vlan threads, but can't seem to make things work like I want to.
What I'm trying to do is two things, have the switch itself on a MGMT vlan other than 1, so that I can see it in my existing mgmt network, and two, have untagged traffic be tagged in a trunk port.
On the 2nd Item,
Normally, in a cisco switch, I'll have the data and mgmt vlans assigned to a trunk port going to an AP, and that port I'll set the native vlan to the data vlan.
So it would look like this:
interface GigabitEthernet0/2
description ***UBNT AP***
switchport trunk encapsulation dot1q
switchport trunk native vlan 20
switchport trunk allowed vlan 20,30
switchport mode trunk
spanning-tree portfast trunk
!
That way the untagged CPE traffic passing through the AP is tagged by the switchport in vlan 20, while I can manage the AP and cpe radios in the other vlan, because the AP tags its mgmt traffic.
I've tried to set a port to Trunk with the vlan's allowed and vlan 20 to Q, and 30 to T, and untrunked in the same manner, but can't seem to get the traffic to work. The tagged mgmt traffic works fine.
The first item, I'm configuring the switch from port 6, and I leave port 6 at U, I tag the AP and link ports (ports 1 and 2). If I change the vlan from 1 to anything, I lose connection to the switch on port 6, and it doesn't come up in the mgmt vlan either ?? I've been tinkering with it all afternoon with no success. I did update to v1.5.0 also.
Thanks for any insight