Issue Description
Customer feedback that the traffic policy apply fail in Huawei S6720 200R009C00SPC500, and want to know the reason.
Alarm Information
=========================================================================
===============display traffic-policy applied-record===============
=========================================================================
#
-------------------------------------------------
Policy Name: af1
Policy Index: 0
Classifier:match-any Behavior:af1
-------------------------------------------------
*interface XGigabitEthernet0/0/2.1709
traffic-policy af1 inbound
slot 0 : fail
*interface XGigabitEthernet0/0/2.3173
traffic-policy af1 inbound
slot 0 : fail
*interface XGigabitEthernet0/0/2.3870
traffic-policy af1 inbound
slot 0 : fail
*system
traffic-policy af1 global inbound slot 0
slot 0 : success
-------------------------------------------------
Policy total applied times: 4.
#
Handling Process
Step 1 check the traffic policy configuration as follow:
traffic behavior af1
remark 8021p 1
#
traffic classifier match-any operator or
if-match any
#
traffic policy af1 match-order config
classifier match-any behavior af1
#
remark 8021p 1
#
traffic classifier match-any operator or
if-match any
#
traffic policy af1 match-order config
classifier match-any behavior af1
#
Step 2 check the port configuration as follow:
interface XGigabitEthernet0/0/2.1709
mtu 1600
qinq mapping vid 1710 map-vlan vid 1709
traffic-policy af1 inbound
mpls l2vc 10.3.1.4 152 tunnel-policy T1
#
interface XGigabitEthernet0/0/2.3173
mtu 1600
qinq mapping vid 1711 map-vlan vid 3173
traffic-policy af1 inbound
mpls l2vc 10.3.1.4 156 tunnel-policy T2
#
interface XGigabitEthernet0/0/2.3870
mtu 1600
qinq mapping vid 1712 map-vlan vid 3870
traffic-policy af1 inbound
mpls l2vc 10.3.1.4 158 tunnel-policy T3
#
mtu 1600
qinq mapping vid 1710 map-vlan vid 1709
traffic-policy af1 inbound
mpls l2vc 10.3.1.4 152 tunnel-policy T1
#
interface XGigabitEthernet0/0/2.3173
mtu 1600
qinq mapping vid 1711 map-vlan vid 3173
traffic-policy af1 inbound
mpls l2vc 10.3.1.4 156 tunnel-policy T2
#
interface XGigabitEthernet0/0/2.3870
mtu 1600
qinq mapping vid 1712 map-vlan vid 3870
traffic-policy af1 inbound
mpls l2vc 10.3.1.4 158 tunnel-policy T3
#
Root Cause
The traffic behavior Remark 8021p and qinq mapping vid 1710 map-vlan vid 1709 conflict,It cause the fail.
Solution
The traffic behavior Remark 8021p and qinq mapping vid 1710 map-vlan vid 1709 both opreation for vlan, so it will conflict and cause the fail.
So we suggest customer change the traffic behavior for example remark dscp or others behavior
Suggestions
The conflict operation may cause the traffic policy fail. Before configuration suggest check our production document there have the detail limit description.