CRS326 - VLAN Access Port

Hi,

Can anyone help me with this VLAN issue?

Basically a PC with IP 172.21.1.50/16 is connected to port spf-spfplus1 and isn’t VLAN tagged. I wish to tag this port to VLAN 150 but I can’t seem to figure it out.

To test, I have added a VLAN 150 interface and assigned IP 172.21.1.10/16 but I cannot ping the PC nor see any activity for VLAN 150 in torch.

Any help would be appreciated.


/interface bridge
add admin-mac=B8:69:F4:32:CA:AA auto-mac=no comment=defconf ether-type=0x88a8 name=bridge vlan-filtering=yes

/interface ethernet
set [ find default-name=sfp-sfpplus1 ]
set [ find default-name=sfp-sfpplus2 ]

/interface vlan
add interface=bridge name=vlan150 vlan-id=150

/interface bridge port
add bridge=bridge interface=sfp-sfpplus1 pvid=150
add bridge=bridge interface=sfp-sfpplus2
add bridge=bridge interface=vlan150

/interface bridge vlan
add bridge=bridge tagged=bridge,sfp-sfpplus2 untagged=sfp-sfpplus1 vlan-ids=150

/ip address
add address=172.21.1.10/16 interface=vlan150 network=172.21.0.0

Do not add the VLAN interface in /interface bridge port. Your have set the bridge VLAN type to 0x88a8 a.k.a. service VLAN, the default 0x8100 would be more usual.