The default-ip-address command configures the default multicast IP address used by all BFD sessions.
The undo default-ip-address command restores the default multicast IP address.
By default, BFD uses the multicast IP address 224.0.0.184.
Parameter |
Description |
Value |
---|---|---|
ip-address |
Specifies the default multicast IP address. |
The value ranges from 224.0.0.107 to 224.0.0.250. |
Usage Scenario
When using BFD to detect the physical status of a link, you may not specify the peer IP address. In certain situations, the peer such as the member link of the Eth-Trunk is not assigned an IP address. In this case, you need to bind a BFD session to a multicast IP address and send BFD control packets to the multicast IP address.
You must change the default multicast IP address in the following situations:
On the network, other protocols use the multicast IP address.
If multiple BFD sessions exist on a path, for example, Layer 3 interfaces are connected through Layer 2 switching devices that support BFD, configure different default multicast IP addresses for the devices where different BFD sessions are established. In this manner, BFD packets can be correctly forwarded.
Prerequisites
BFD has been enabled globally using the bfd command in the system view.
Precautions
If a BFD session that is bound to the default multicast IP address is configured, you cannot change the default multicast IP address.