traffic-policy match-ip-layer

Function

The traffic-policy match-ip-layer command configures MF traffic classification based only on IP Layer (Layer 3) information for outgoing or incoming traffic on the public network.

The undo traffic-policy match-ip-layer command restores the default settings.

By default, MF traffic classification is implemented based on Layer 2 and MPLS Layer information for outgoing or incoming traffic on the public network.

Format

traffic-policy match-ip-layer { mpls-pop | mpls-push } *

undo traffic-policy match-ip-layer [ mpls-pop | mpls-push ]

Parameters

Parameter Description Value
mpls-pop

Indicates the outgoing traffic on the public network.

-

mpls-push

Indicates the incoming traffic on the public network.

-

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

The traffic-policy match-ip-layer mpls-pop command configures MF traffic classification based on IP Layer information for outgoing traffic on the public network.

The traffic-policy match-ip-layer mpls-push command configures MF traffic classification based on IP Layer information for incoming traffic on the public network.

The undo traffic-policy match-ip-layer mpls-pop command configures MF traffic classification based on Layer 2 and MPLS Layer information for outgoing traffic on the public network.

The undo traffic-policy match-ip-layer mpls-push command configures MF traffic classification based on Layer 2 and MPLS Layer information for incoming traffic on the public network.

Precautions

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

This command can be used only on the PE device

Example

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