lpt oam-period

Function

The lpt oam-period command configures an OAM detection period for an LPT instance.

The undo lpt oam-period command restores the default OAM detection period for an LPT instance.

By default, the OAM detection period is 10 for an LPT instance.

Format

lpt oam-period time

undo lpt oam-period

Parameters

Parameter Description Value
time

Sets an OAM detection period for an LPT instance.

The value is an integer ranging from 10 to 100, in 100 milliseconds. The step is 1.

Views

LPT PTP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
lpt write

Usage Guidelines

To configure an OAM detection period for an LPT instance, run the lpt oam-period command. This period is carried in sent packets, and the peer timeout period is three times the OAM detection period.

Example

# Set an OAM detection period to 2s for an LPT instance.
<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
[*HUAWEI-ptplpt-GigabitEthernet0/1/1] lpt oam-period 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >