1:Create ont line profile as bellow(all the values are for example):
ont-lineprofile gpon profile-id 109
mapping-mode vlan-priority
gem mapping 1 1 vlan 10 priority 0 (0,2,5,6 are priority)
gem mapping 1 2 vlan 10 priority 2
gem mapping 1 3 vlan 10 priority 5
gem mapping 1 4 vlan 10 priority 6
commit
2:Create ont service profile as bellow:
Ont-srvprofile gpon profile-id 109
Ont-port eth adaptive
Port vlan eth 1 translation 10 user-vlan 10
Commit
3:Create traffic table which copy user cos priority.
Traffic table ip index 109 cir off priority user-cos 0 priority-policy tag-in-package(value 0: default priority, if the traffic doesn’t take any priority, system will add 0)
4:Based on traffic has already taken vlan tag 10
service-port vlan 105 gpon 0/3/0 ont 10 gemport 1 multicast-service user-vlan 10 inbound traffic-table index 109 outbound traffic-table index 109