Configuring Association Between EFM and BFD
If EFM is deployed at the user side and BFD is deployed at the network side of a device, association between EFM and CFM can be configured. This allows EFM and CFM to notify each other of faults and ensures reliable service transmission.
Context
For details on the principles and usage scenarios of association between EFM and BFD, see Overview of EFM OAM.
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)
Perform the following steps on each device with EFM or BFD deployed:
Pre-configuration Tasks
Configure basic BFD functions.
Procedure
- Run system-view
The system view is displayed.
- Run oam-mgr
The OAM management view is displayed.
- Perform either of the following configurations as required.Table 6-17 Association between EFM and BFD Scenario
Scenario
Configuration Scheme 1
Configuration Scheme 2
Bidirectional fault notification between EFM and BFD
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.
NOTE:If the oam-bind efm interface interface-type interface-number bfd-session bfd-session-id command is run, the oam-bind ingress bfd-session bfd-session-id egress efm interface interface-type interface-number and oam-bind ingress efm interface interface-type interface-number egress bfd-session bfd-session-id commands will be displayed in the configuration file.
The following commands can be used together to configure EFM and CFM to notify each other of faults and can be used in any order: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.
Unidirectional fault notification between EFM and BFD
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.
N/A
- Run commit
The configuration is committed.