lpt ptp interface

Function

The lpt ptp interface command creates a point-to-point LPT root interface.

The undo lpt ptp interface command deletes a point-to-point LPT root interface.

By default, no point-to-point LPT root interface is created.

Format

lpt ptp interface { interface-name | interface-type interface-number }

undo lpt ptp interface { interface-name | interface-type interface-number }

Parameters

Parameter Description Value
interface-type

Specifies an interface type.

-

interface-number

Specifies an interface number.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
lpt write

Usage Guidelines

Usage Scenario

To create a point-to-point LPT root interface, run the lpt ptp interface command.

Precautions

LPT supports primary and secondary PWs instead of bypass PWs.

Example

# Create a point-to-point LPT root interface GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet0/1/1
[*HUAWEI-GigabitEthernet0/1/1] mpls l2vc 1.1.1.1 100
[*HUAWEI-GigabitEthernet0/1/1] quit
[*HUAWEI] lpt ptp interface GigabitEthernet0/1/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >