oam-bind ingress cfm md ma egress vrrp vrid

Function

The oam-bind ingress cfm md ma egress vrrp vrid command enables CFM to instruct the MGR module to notify VRRP of a fault.

The undo oam-bind ingress cfm md ma egress vrrp vrid command disables CFM from instructing the MGR module to notify VRRP of a fault.

By default, CFM is disabled from instructing the MGR module to notify VRRP of a fault.

Format

oam-bind ingress cfm md md-name ma ma-name egress vrrp vrid vrid interface { interface-name | interface-type interface-number }

undo oam-bind ingress cfm md md-name ma ma-name egress vrrp vrid vrid interface { interface-name | interface-type interface-number }

Parameters

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.

-

Views

OAM management view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
oammgr write

Usage Guidelines

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.

Prerequisites

CFM and VRRP have been configured.

Example

# Enable CFM to instruct the MGR module to notify VRRP of a fault.
<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 cfm md mdcustomer ma macustomer egress vrrp vrid 1 interface GigabitEthernet0/1/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >