The notify neighbor-down command configures a BFD session to notify the upper layer protocol when the BFD session detects a neighbor Down event.
The undo notify neighbor-down command restores the default configuration.
By default, when the BFD detection time expires or a BFD session detects a neighbor Down event, the BFD session notifies the upper layer protocol.
When you use a BFD session to detect faults on an LSP, you need only be concerned about whether a fault occurs on the link from the local end to remote end. In this situation, run the notify neighbor-down command to configure the BFD session to notify the upper layer protocol only when the BFD session detects a neighbor Down event. This configuration prevents the BFD session from notifying the upper layer protocol when the BFD detection time expires and ensures that services are not interrupted.
# Configure the BFD session to notify the upper layer protocol when the BFD session detects a neighbor Down event.
<HUAWEI> system-view [HUAWEI] bfd atob bind ldp-lsp peer-ip 10.1.2.1 nexthop 10.1.1.2 interface vlanif 100 [HUAWEI-bfd-lsp-session-atob] discriminator local 1 [HUAWEI-bfd-lsp-session-atob] discriminator remote 2 [HUAWEI-bfd-lsp-session-atob] notify neighbor-down [HUAWEI-bfd-lsp-session-atob] commit