redirect mldp-p2mp-tunnel

Function

The redirect mldp-p2mp-tunnel command redirects the next hop of packets to an LDP P2MP tunnel.

The undo redirect mldp-p2mp-tunnel command cancels the redirection.

By default, redirecting the next hop of packets to an LDP P2MP tunnel is not configured in traffic behavior view.

Format

redirect mldp-p2mp-tunnel mldp-p2mp-tunnel-name

undo redirect [ mldp-p2mp-tunnel ]

Parameters

Parameter Description Value
mldp-p2mp-tunnel-name

Specifies the name of an LDP P2MP tunnel.

The value is a string of 1 to 31 characters.

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To redirect the next hop of packets to an LDP P2MP tunnel, run the redirect mldp-p2mp-tunnel command. A traffic policy can be used to apply the action to the tunnel.

Precautions

A traffic behavior has only one redirect configuration. To perform a new redirection configuration, delete the existing redirection configuration.

Example

# Redirect the next hop of packets to ldp-tunnel in the view of the traffic behavior b1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mldp-p2mp-tunnel ldp-tunnel
[*HUAWEI-mldp-p2mp-tunnel-ldp-tunnel] quit
[*HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] redirect mldp-p2mp-tunnel ldp-tunnel
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >