traffic-policy match-mpls-layer l2-inbound

Function

The traffic-policy match-mpls-layer l2-inbound command configures MF traffic classification based on MPLS information for outgoing traffic on the public network in Layer 2 forwarding scenarios.

The undo traffic-policy match-mpls-layer l2-inbound command cancels MF traffic classification based on MPLS information for outgoing traffic on the public network.

By default, MF traffic classification is implemented not based on MPLS information for outgoing traffic on the public network in Layer 2 forwarding scenarios.

Format

traffic-policy match-mpls-layer l2-inbound

undo traffic-policy match-mpls-layer l2-inbound

Parameters

None

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

There are VLL, VPLS, EVPN, local CCC, local VSI, VLAN services in Layer 2 MPLS forwarding scenarios. To implement MF classification for these packets, run the traffic-policy match-mpls-layer l2-inbound command to configure MF traffic classification based on MPLS information for outgoing traffic on the public network.

Precautions

The traffic-policy match-mpls-layer l2-inbound command takes effect for the entire board. Before running the traffic-policy match-mpls-layer l2-inbound or undo traffic-policy match-mpls-layer l2-inbound command, ensure the configurations on all interfaces are correct.

In VS mode, this command can be configured only in the admin VS and takes effect for all VSs.

Example

# Configure MF traffic classification based on MPLS information for the outgoing public network traffic.
<HUAWEI> system-view
[~HUAWEI] slot 1
[~HUAWEI-slot-1] traffic-policy match-mpls-layer l2-inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >