discriminator local (BFD session view)

Function

The discriminator local command sets the local discriminator of a static BFD session.

The undo discriminator local command deletes the local discriminator of a static BFD session.

By default, the local discriminator of a static BFD session is not created.

Format

discriminator local discr-value

undo discriminator local

Parameters

Parameter Description Value
discr-value

Specifies the local discriminator of a BFD session.

The value is an integer ranging from 1 to 16384.

Views

BFD session view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bfd write

Usage Guidelines

Usage Scenario

During the establishment of a static BFD session, you must run the discriminator local command to set the local discriminator of the static BFD session; otherwise, the static BFD session cannot be established.

Discriminators identify different BFD sessions between virtual systems (VSs). During the negotiation of the BFD session, the two ends of the BFD session need to negotiate on the local and remote discriminators.

Prerequisites

A BFD session has been created.

Precautions

  • Only a static BFD session requires local and remote discriminators.
  • In a BFD session, the local discriminator of the local end must be the same as the remote discriminator of the remote end, and the remote discriminator of the local end must be the same as the local discriminator of the remote end. Otherwise, the BFD session cannot go Up.
  • The local discriminators of different virtual systems (VSs) must be different; otherwise, an error message will be displayed.
  • The local and remote discriminators set for a static BFD session can be changed.
  • Do not configure the same remote discriminator and local discriminator for different sessions on a device.
  • When a BFD session is Up, changing the local or remote discriminator causes the session to enter the administratively Down state. The BFD session recovers automatically without manual intervention.

Example

# Set the local discriminator of the one-arm-echo BFD session to 80.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ip address 10.1.1.2 24
[*HUAWEI-GigabitEthernet0/1/0] quit
[*HUAWEI] bfd test bind peer-ip 10.1.1.1 interface GigabitEthernet0/1/0 one-arm-echo
[*HUAWEI-session-test] discriminator local 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >