![Huawei AR3200 Series Configuration Manual - Lan Download Page 146](http://html.mh-extra.com/html/huawei/ar3200-series/ar3200-series_configuration-manual-lan_169302146.webp)
ff00-0000
[Huawei-classifier-c1]
if-match vlan-id 2
[Huawei-classifier-c1]
quit
# Configure traffic behavior
b1
on the Router to re-mark the priority of voice data packets.
[Huawei]
traffic behavior b1
[Huawei-behavior-b1]
remark dscp 46
[Huawei-behavior-b1]
quit
# Create traffic policy
p1
on the Router, bind the traffic behavior and traffic classifier to the
traffic policy, and apply the traffic policy to the inbound direction of Ethernet2/0/1.
[Huawei]
traffic policy p1
[Huawei-trafficpolicy-p1]
classifier c1 behavior b1
[Huawei-trafficpolicy-p1]
quit
[Huawei]
interface ethernet 2/0/1
[Huawei-Ethernet2/0/1]
traffic-policy p1 inbound
[Huawei-Ethernet2/0/1]
quit
[Huawei]
quit
Step 4
Verify the configuration.
Run the
display voice-vlan oui
command to check the OUI of the voice VLAN.
<Huawei>
display voice-vlan oui
---------------------------------------------------
OuiAddress Mask Description
---------------------------------------------------
0011-2200-0000 ffff-ff00-0000
Run the
display voice-vlan 2 status
command to check the voice VLAN configuration,
including the status, aging time, and mode in which the interface is added to the voice VLAN.
<Huawei>
display voice-vlan 2 status
Voice VLAN Configurations:
---------------------------------------------------
Voice VLAN ID : 2
Voice VLAN status : Enable
Voice VLAN aging time : 100(minutes)
Voice VLAN 8021p remark : 6
Voice VLAN dscp remark : 46
----------------------------------------------------------
Port Information:
-----------------------------------------------------------
Port Add-Mode Security-Mode Legacy
-----------------------------------------------------------
Ethernet2/0/1 Auto Security Disable
Run the
display traffic policy user-defined
command to view details about the traffic policy
configuration.
<Huawei>
display traffic policy user-defined p1
User Defined Traffic Policy Information:
Policy: p1
Classifier: c1
Operator: AND
Behavior: b1
Marking:
Remark DSCP 46
----End
Configuration Files
Configuration file of the Router
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
4 Voice VLAN Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
135