The oam-bind cfm md ma vrrp vrid command configures the bidirectional association between CFM and VRRP.
The undo oam-bind cfm md ma vrrp vrid command deletes the bidirectional association between CFM and VRRP.
By default, the bidirectional association between CFM and VRRP is disabled.
Parameter | Description | Value |
---|---|---|
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. |
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. |
- |
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. If the VRRP module detects a link fault, it instructs the CFM module to notify the remote end of the fault. If the CFM module detects a link fault, it instructs the VRRP module to perform a link switchover. The following commands are used when CFM is associated with VRRP:Prerequisites
CFM and VRRP have been configured.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/17 [~HUAWEI-GigabitEthernet0/1/17] ip address 10.1.1.1 255.255.255.0 [*HUAWEI-GigabitEthernet0/1/17] vrrp vrid 1 virtual-ip 10.1.1.111 [*HUAWEI-GigabitEthernet0/1/17] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma1 [*HUAWEI-md-md1-ma-ma1] oam-mgr [*HUAWEI-oam-mgr] oam-bind cfm md md1 ma ma1 vrrp vrid 1 interface GigabitEthernet0/1/17