The oam-bind ingress vrrp vrid egress cfm md ma command enables VRRP to instruct the MGR module to notify CFM of a fault.
The undo oam-bind ingress vrrp vrid egress cfm md ma command disables VRRP from instructing the MGR module to notify CFM of a fault.
By default, VRRP is disabled from instructing the MGR module to notify CFM of a fault.
Parameter | Description | Value |
---|---|---|
vrid vrid |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
interface interface-type interface-number |
Specifies the type and number of an interface. |
- |
md-name |
Specifies the name of an MD. |
The value is a string of 1 to 43 case-sensitive characters. Question marks (?), hyphens (-) are not supported. |
ma-name |
Specifies the name of an MA. |
The value is a string of 1 to 43 case-sensitive characters. Question marks (?), hyphens (-) are not supported. The total length of MA and MD names must be no greater than 44 characters. |
Usage Scenario
To improve network reliability, associate CFM with VRRP. With this association, when CFM or VRRP detects a link fault, it instructs the MGR module to notify the other mechanism of the fault.
The association between CFM and VRRP can be unidirectional or bidirectional.Table1 CFM and VRRP association configurations
Scenario | Configuration Solution 1 | Configuration Solution 2 |
---|---|---|
Bidirectional association between CFM and VRRP | Run the oam-bind cfm md ma vrrp vrid command to configure the bidirectional association between CFM and VRRP.If you have run the oam-bind cfm md ma vrrp vrid command, the configuration file contains the following commands:oam-bind ingress vrrp vrid egress cfm md ma.oam-bind ingress cfm md ma egress vrrp vrid. | Perform the following operations: Run the oam-bind ingress vrrp vrid egress cfm nd ma command to enable VRRP to instruct the MGR module to notify CFM of a fault. Run the oam-bind ingress cfm md ma egress vrrp vrid command to enable CFM to instruct the MGR module to notify VRRP of a fault. |
Unidirectional association between CFM and VRRP | Perform either of the following operations: Run the oam-bind ingress vrrp vrid egress cfm nd ma command to enable VRRP to instruct the MGR module to notify CFM of a fault.Run the oam-bind ingress cfm md ma egress vrrp vrid command to enable CFM to instruct the MGR module to notify VRRP of a fault. | None |
Prerequisites
CFM and VRRP have been configured.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/1 [~HUAWEI-GigabitEthernet0/1/1] ip address 10.1.1.1 255.255.255.0 [*HUAWEI-GigabitEthernet0/1/1] vrrp vrid 1 virtual-ip 10.1.1.111 [*HUAWEI-GigabitEthernet0/1/1] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md mdcustomer [*HUAWEI-md-mdcustomer] ma macustomer [*HUAWEI-md-mdcustomer-ma-macustomer] oam-mgr [*HUAWEI-oam-mgr] oam-bind ingress vrrp vrid 1 interface GigabitEthernet0/1/1 egress cfm md mdcustomer ma macustomer