< Home

Data Model

The data model file matching BFD management is huawei-bfd.yang.

Table 1 BFD management

Object

Description

Value

Remarks

/huawei-bfd:bfd/enable

Indicates whether to enable BFD globally.

The value is of the Boolean type:

  • true: The function is enabled.
  • false: The function is disabled.

The default value is false.

N/A

/huawei-bfd:bfd/bfd-session/session-name

Indicates the name of a BFD session.

The value is a string of 1 to 15 characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.

N/A

/huawei-bfd:bfd/bfd-session/default-destination-ip

Indicates whether to bind a BFD session to the default multicast IP address.

The value is of the Boolean type:

  • true: The function is enabled.
  • false: The function is disabled.

This object can only be set to true.

  • If this object is configured, the out-interface object must be configured, and the auto object must be set to false.
  • Either this object or the config-destination-ip object must be configured.

/huawei-bfd:bfd/bfd-session/config-destination-ip

Indicates the peer IP address bound to a BFD session.

The value is in dotted decimal notation.

Either this object or the default-destination-ip object must be configured.

/huawei-bfd:bfd/bfd-session/vpn-instance-name

Indicates the name of a VPN instance bound to a BFD session.

The value is a character string.

The value must be the name of an existing VPN instance.

/huawei-bfd:bfd/bfd-session/out-interface

Indicates the type and number of the interface bound to a BFD session.

The value is a character string.

This object can only be set to an interface that has been created in ietf-interfaces.

If one-arm-echo is set to true, this object must be configured.

/huawei-bfd:bfd/bfd-session/source-ip

Indicates the source IP address carried in BFD packets.

The value is in dotted decimal notation.

If auto is set to true, this object must be configured.

/huawei-bfd:bfd/bfd-session/one-arm-echo

Indicates the BFD session with the one-arm-echo function.

The value is of the Boolean type:

  • true: The function is enabled.

  • false: The function is disabled.

The default value is false.

NA

/huawei-bfd:bfd/bfd-session/auto

Indicates whether to enable automatic negotiation of local and remote discriminators.

The value is of the Boolean type:

  • true: The function is enabled.
  • false: The function is disabled.

The default value is false.

N/A

/huawei-bfd:bfd/bfd-session/local-discriminator

Indicates the local discriminator of static BFD sessions.

The value is an integer in the range from 1 to 8191.

If auto is set to true, this object cannot be configured.

If one-arm-echo is set to true, remote-discriminator cannot be configured.

/huawei-bfd:bfd/bfd-session/remote-discriminator

Indicates the remote discriminator of static BFD sessions.

/huawei-bfd:bfd/bfd-session/detect-multiplier

Indicates the local detection multiplier of a BFD session.

The value is an integer in the range from 3 to 50.

The default value is 3.

N/A

/huawei-bfd:bfd/bfd-session/desired-min-tx-interval

Indicates the interval for sending BFD packets, in milliseconds.

The value is an integer in the range from 100 to 1000.

The default value is 1000.

NOTE:

When the device uses the enhanced mode, the value is an integer in the range from 3 to 1000.

N/A

/huawei-bfd:bfd/bfd-session/desired-min-rx-interval

Indicates the interval for receiving BFD packets, in milliseconds.

/huawei-bfd:bfd/bfd-session/min-interval

Indicates the interval for sending and receiving BFD packets.

/huawei-bfd:bfd/bfd-session/commit

Indicates whether to submit the BFD session configuration.

The value is of the Boolean type:

  • true: The function is enabled.
  • false: The function is disabled.

This object must be set to true.

N/A

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >