18: QoS: VLAN 802.1Q PCP tagging
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW1000 Series User Manual
Issue: 1.9
Page 137 of 350
option vlan_qos_map_ingress '3:3'
option vlan_qos_map_egress '0:3'
config interface 'VLAN_4'
option ifname 'eth3 eth4.4'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.3.1'
option netmask '255.255.255.0'
option vlan_qos_map_ingress '5:5'
option vlan_qos_map_egress '0:5'
UCI/Package Option
Description
UCI: network.<if
name>.vlan_qos_map_ingress
Opt: list vlan_qos_map_ingress
VLAN priority code point to socket buffer mapping.
Example: network.<if name>. vlan_qos_map_ingress =1:1
UCI: network.<if
name>.vlan_qos_map_egress
Opt: list vlan_qos_map_egress
Socket buffer to VLAN priority code point mapping.
Example: network.<if name>. vlan_qos_map_egress =0:1
The above sample configuration specifies that any frames on VLAN2, VLAN3 and VLAN4
will be processed or have their PCP value adjusted according to QoS values set.
VLAN1
VLAN1 is an untagged VLAN so there are no 802.1Q tags on the frames.
VLAN2
Any frames received on VLAN2 destined to VLAN2 with PCP priority of 1 will be
forwarded without altering the priority; it will be still set to 1.
Any frames received on VLAN2 destined to VLAN2 with a PCP priority set to 0 will
have a priority of 1 set as they leave the router on VLAN2.
VLAN3
Any frames received on VLAN3 destined to VLAN3 with a PCP priority of 3 will be
forwarded without altering the priority; it will be still set to 3.
Any frames received on VLAN3 destined to VLAN2 with PCP priority set to 0 will
have a priority of 3 set as they leave the router on VLAN3.
VLAN4
Any frames received on VLAN4 destined to VLAN2 with PCP priority of 5 will be
forwarded without altering the priority; it will be still set to 5.
Any frames received on VLAN4 destined to VLAN2 with PCP priority set to 0 will
have a priority of 5 set as they leave the router on VLAN4.