< Home

mpls l2vpn pw bfd

Function

The mpls l2vpn pw bfd command enables dynamic BFD for PWs and adjusts BFD parameters on an AC interface.

The undo mpls l2vpn pw bfd command restores default BFD parameters of dynamic BFD for PWs on an AC interface.

By default, dynamic BFD for PWs is not configured on an AC interface.

Format

mpls l2vpn pw bfd [ detect-multiplier multiplier | min-rx-interval rx-interval | min-tx-interval tx-interval ] * [ remote-vcid vc-id ] [ secondary ]

undo mpls l2vpn pw bfd [ detect-multiplier | min-rx-interval | min-tx-interval ] * [ secondary ]

undo mpls l2vpn pw bfd [ detect-multiplier multiplier | min-rx-interval rx-interval | min-tx-interval tx-interval ] * [ remote-vcid vc-id ] [ secondary ]

Parameters

Parameter Description Value
detect-multiplier multiplier Specifies the local detection multiplier. The value is an integer that ranges from 3 to 50. The default value is 3.
min-rx-interval rx-interval Specifies the minimum interval for receiving BFD packets.

The value ranges from 100 to 1000, in milliseconds. By default, the value is 1000. After the set service-mode enhanced command is configured on the S5720-HI, S5731-H, S5731S-H, S5730-HI, and S6720-HI, the value ranges from 3 to 1000. After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730S-H, and S6730-H, the value ranges from 3 to 1000.

min-tx-interval tx-interval Specifies the minimum interval for sending BFD packets.

The value ranges from 100 to 1000, in milliseconds. By default, the value is 1000. After the set service-mode enhanced command is configured on the S5720-HI, S5731-H, S5731S-H, S5730-HI, and S6720-HI, the value ranges from 3 to 1000. After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730S-H, and S6730-H, the value ranges from 3 to 1000.

remote-vcid vc-id Specifies the VC ID of the peer device. This parameter is mandatory when a multi-hop PW is detected. The value of this parameter is the VC ID of the remote end of the PW. The value is an integer that ranges from 1 to 4294967295.
secondary Configures BFD and its parameters on the secondary PW. By default, BFD and its parameters are configured on the primary PW.
NOTE:
The secondary parameter cannot be run on Loopback interface view.
-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a network where BFD is used to detect faults, run the mpls l2vpn pw bfd command to enable dynamic BFD for PWs and adjust BFD parameters on an AC interface.

Precautions

To reduce usage of system resources, when a BFD session is detected in Down state, the system changes the minimum interval for receiving BFD packets and the minimum interval for sending BFD packets to random values between 1000 ms and 3000 ms. When the BFD session becomes Up, the configured intervals are restored.

Example

# Enable dynamic BFD for PWs on VLANIF 10 and set BFD parameters.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] mpls l2vc 2.2.2.2 100 
[HUAWEI-Vlanif10] mpls l2vpn pw bfd min-rx-interval 100 min-tx-interval 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >