Configuring Association Between EFM and BFD
Context
For details on the principle and usage scenarios of association between EFM and BFD, see Fault Information Advertisement Between EFM and Other Modules.
When EFM detects a link fault, it will notify BFD of the fault.
When BFD detects a link fault, it will notify EFM of the fault.
Static BFD for LSP (LDP, TE, TE LSP, static LSP, and VLL PW) sessions (a PST is required)
BFD for IP sessions (no PST is required)
Pre-configuration Tasks
Perform the task of Configuring Basic EFM Functions.
Perform the task of Configuring Single-Hop BFD, Configuring Multi-Hop BFD, Configuring Static BFD with Automatically Negotiated Discriminators, or Configuring the BFD Echo Function.
Procedure
- Run system-view
The system view is displayed.
- Run oam-mgr
The OAM management view is displayed.
- Run the following commands as required.
Unidirectional association
Run the oam-bind ingress efm interface interface-type interface-number egress bfd-session bfd-session-id command to configure EFM to notify BFD of faults.
Run the oam-bind ingress bfd-session bfd-session-id egress efm interface interface-type interface-number command to configure BFD to notify EFM of faults.
Bidirectional association
Run the oam-bind efm interface interface-type interface-number bfd-session bfd-session-id command to configure EFM and BFD to notify each other of faults.
The functions of two commands used to configure association functions in opposite directions are the same as those of the command used to configure the bidirectional association function.
If the oam-bind efm interface interface-type interface-number bfd-session bfd-session-id command is run, the oam-bind ingress efm interface interface-type interface-number egress bfd-session bfd-session-id and oam-bind ingress bfd-session bfd-session-id egress efm interface interface-type interface-number commands will be displayed in the configuration file.