The destination remote-discriminator command configures the mapping between the IP/IPv6 address and discriminator of an SBFD reflector.
The undo destination remote-discriminator command deletes the mapping between the IP/IPv6 address and discriminator of an SBFD reflector.r.
By default, no mapping between the IP address and discriminator of an SBFD reflector is configured.
destination { ipv4 ip-address | ipv6 Ipv6Address } remote-discriminator discriminator-value
destination ipv6 Ipv6Address remote-discriminator DiscrIpAddress
undo destination { ipv4 ip-address | ipv6 Ipv6Address } remote-discriminator discriminator-value
undo destination ipv6 Ipv6Address remote-discriminator DiscrIpAddress
Parameter | Description | Value |
---|---|---|
ipv4 ip-address |
Specifies the IP address of a reflector. |
The value is a unicast address in dotted decimal notation. |
ipv6 Ipv6Address |
Specifies the IPv6 address of a reflector. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
discriminator-value |
Specifies the discriminator of the reflector. |
The value is an integer ranging from 1 to 4294967295. |
DiscrIpAddress |
SBFD remote discriminators' mapping IPv4 addresses. |
The value is a unicast address in dotted decimal notation. |
Usage Scenario
The initiator uses the configured discriminator to negotiate with the reflector to establish an SBFD session. If no discriminator is configured, the initiator uses the default discriminator (peer ip address) to negotiate with the reflector to establish an SBFD session.
You can configure a 32-bit integer-type discriminator or an IP-address-type discriminator. A device converts the discriminators into a uniform form for management, ensuring that each discriminator is globally unique in a domain. When a device functions as the SBFD initiator, if the destination ipv6remote-discriminator command has been run to configure the mapping between the IPv6 address and discriminator of the SBFD reflector, the initiator uses the configured discriminator to negotiate with the reflector for SBFD session setup. When a device functions as the SBFD initiator, if the destination ipv6remote-discriminator command has been run to configure the mapping between the IPv6 address and the IPv4 address mapped to the discriminator of the SBFD reflector, the initiator uses the configured IPv4 address to negotiate with the reflector for SBFD session setup. If the destination ipv6 remote-discriminator command is not run, the SBFD session cannot go up through negotiation and state is AdminDown.Prerequisites
SBFD has been enabled using the sbfd command.
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] sbfd [*HUAWEI-sbfd] destination ipv6 100::100 remote-discriminator 1.1.1.1
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] sbfd [*HUAWEI-sbfd] destination ipv6 100::100 remote-discriminator 16777216
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] sbfd [*HUAWEI-sbfd] destination ipv4 10.10.20.2 remote-discriminator 16777216