/
802.1Q VLAN
802.1Q VLAN
In the following topology, user needs to configure 2 VLANs in switches A and B.
Figure 4-1. 802.1Q network configuration
Configure Switch-A
In Switch-A, user needs to configure ge-1/1/1~ge-1/1/4 as access port while configuring te-1/1/49 as trunk port because the 10Gbit link will trunk the traffic of VLAN-2 and VLAN-3.
root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/1 vlan_mode=access tag=2 -- set Interface te-1/1/1 type=pica8 root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/2 vlan_mode=access tag=2 -- set Interface te-1/1/2 type=pica8 root@PicOS-OVS# root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/3 vlan_mode=access tag=3 -- set Interface te-1/1/3 type=pica8 root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/4 vlan_mode=access tag=3 -- set Interface te-1/1/4 type=pica8 root@PicOS-OVS# root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/49 vlan_mode=trunk trunk=2,3 -- set Interface te-1/1/49 type=pica8 root@PicOS-OVS#
Configure Switch-B
In Switch-B, user needs to configure ge-1/1/1~ge-1/1/4 as access port while te-1/1/49 as trunk port because the 10Gbit link will trunk the traffic of VLAN-2 and VLAN-3.
root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/1 vlan_mode=access tag=2 -- set Interface te-1/1/1 type=pica8 root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/2 vlan_mode=access tag=2 -- set Interface te-1/1/2 type=pica8 root@PicOS-OVS# root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/3 vlan_mode=access tag=3 -- set Interface te-1/1/3 type=pica8 root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/4 vlan_mode=access tag=3 -- set Interface te-1/1/4 type=pica8 root@PicOS-OVS# root@PicOS-OVS# ovs-vsctl add-port br0 te-1/1/49 vlan_mode=trunk trunk=2,3 -- set Interface te-1/1/49 type=pica8 root@PicOS-OVS#
, multiple selections available,
Related content
802.1Q VLAN
802.1Q VLAN
More like this
802.1Q VLAN
802.1Q VLAN
More like this
802.1Q VLAN
802.1Q VLAN
More like this
802.1Q VLAN
802.1Q VLAN
More like this
802.1Q VLAN
802.1Q VLAN
More like this
802.1Q VLAN
802.1Q VLAN
More like this
Copyright © 2025 Pica8 Inc. All Rights Reserved.