p2mp-template

Function

The p2mp-template command specifies the tunnel template to be referenced by a Resource Reservation Protocol-Traffic Engineering (RSVP-TE) point-to-multipoint (P2MP) LSP.

The undo p2mp-template command deletes the configuration.

By default, an RSVP-TE P2MP LSP is established without referencing a tunnel template.

Format

p2mp-template template-name

undo p2mp-template

Parameters

Parameter Description Value
template-name

Specifies the name of a tunnel template to be referenced by an RSVP-TE P2MP LSP.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

I-PMSI MPLS TE view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

On a next-generation multicast virtual private network (NG MVPN), the MPLS module automatically establishes an RSVP-TE P2MP LSP. An automatically established RSVP-TE P2MP LSP, however, does not have a tunnel interface on which tunnel attributes can be configured. To allow automatically established RSVP-TE P2MP LSPs to have tunnel attributes, run the p2mp-template command to specify a tunnel template and configure tunnel attributes in the template. Then automatically established RSVP-TE P2MP LSPs that reference this tunnel template can have all tunnel attributes configured in the tunnel template.

Precautions

If the tunnel template specified in the p2mp-template command does not exist, the RSVP-TE P2MP LSP cannot be established. Before running the p2mp-template command, ensure that the mpls te p2mp-template command has been run.

Example

# Configure RSVP-TE P2MP LSPs to reference the tunnel template P1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI] quit
[*HUAWEI] mpls te p2mp-template P1
[*HUAWEI-te-p2mp-template-P1] quit
[*HUAWEI] multicast mvpn 2.2.2.2
[*HUAWEI] ip vpn-instance mcast1
[*HUAWEI-vpn-instance-mcast1] ipv4-family
[*HUAWEI-vpn-instance-mcast1-af-ipv4] route-distinguisher 1:1
[*HUAWEI-vpn-instance-mcast1-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-mcast1-af-ipv4] mvpn
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn] ipmsi-tunnel
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn-ipmsi] mpls te
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn-ipmsi-mpls-te] p2mp-template P1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >