The dhcp client track command enables association between the DHCP client and BFD/IP link on the current interface.
The undo dhcp client track command disables association between the DHCP client and BFD/IP link on the current interface.
By default, association between the DHCP client and BFD/IP link is disabled on the current interface.
Parameter |
Description |
Value |
|---|---|---|
| bfd-session local-id | Specifies the local ID of the tracked BFD session. |
The value must be the local ID of an existing BFD session. |
| ip-link ip-link-name | Specifies the name of the IP link. |
The value must be the name of an existing IP link. |
When association between DHCP and BFD is configured on the DHCP client, the next-hop address specified for the static BFD session must be nexthop dhcp. That is, the gateway address obtained by the DHCP client is used as the next-hop address to forward BFD packets.
When track ip-link is specified in the command, DHCP is associated with IP link. Similar to association between DHCP and BFD, association between DHCP and IP link also applies to dual upstream links. However, association between DHCP and BFD supports bidirectional detection and fast fault detection, while association between DHCP and IP link provides unidirectional detection.
The parameter dhcp client track can take effect only after the DHCP client on the interface obtains an IP address.