NOTE
In VPLS networking, the configuration is the same as in the VLL networking. In VLAN networking, run
the following commands to set the MEP type as outward:
[PE1-md-md1-ma-ma1]
mep mep-id 31 interface gigabitEthernet1/0/1 outward
[PE1-md-md1-ma-ma1]
mep ccm-send enable
[PE1-md-md1-ma-ma1]
remote-mep mep-id 32
[PE1-md-md1-ma-ma1]
remote-mep ccm-receive enable
[PE1-md-md1-ma-ma1]
quit
[PE1-md-md1]
quit
# Configure PE2.
[PE2]
cfm md md1
[PE2-md-md1]
ma ma1
[PE2-md-md1-ma-ma1]
mep mep-id 32 interface gigabitEthernet1/0/1.1 inward
NOTE
In VPLS networking, the configuration is the same as in the VLL networking. In VLAN networking, run
the following commands to set the MEP type as outward:
[PE2-md-md1-ma-ma1]
mep mep-id 31 interface gigabitEthernet1/0/1 outward
[PE2-md-md1-ma-ma1]
mep ccm-send enable
[PE2-md-md1-ma-ma1]
remote-mep mep-id 31
[PE2-md-md1-ma-ma1]
remote-mep ccm-receive enable
[PE2-md-md1-ma-ma1]
quit
[PE2-md-md1]
quit
Step 4
Set the MEP type as outward on each CE.
# Configure CE1.
[CE1]
cfm md md2
[CE1-md-md2]
ma ma2
[CE1-md-md2-ma-ma2]
mep mep-id 61 interface gigabitEthernet1/0/1 outward
[CE1-md-md2-ma-ma2]
ccm-interval 10000
[CE1-md-md2-ma-ma2]
mep ccm-send enable
[CE1-md-md2-ma-ma2]
remote-mep mep-id 62
[CE1-md-md2-ma-ma2]
remote-mep ccm-receive enable
[CE1-md-md2-ma-ma2]
quit
[CE1-md-md2]
quit
# Configure CE2.
[CE2]
cfm md md2
[CE2-md-md2]
ma ma2
[CE2-md-md2-ma-ma2]
mep mep-id 62 interface gigabitEthernet1/0/1 outward
[CE2-md-md2-ma-ma2]
ccm-interval 10000
[CE2-md-md2-ma-ma2]
mep ccm-send enable
[CE2-md-md2-ma-ma2]
remote-mep mep-id 61
[CE2-md-md2-ma-ma2]
remote-mep ccm-receive enable
[CE2-md-md2-ma-ma2]
quit
[CE2-md-md2]
quit
Step 5
Configure the AIS function.
# Configure PE1.
[PE1]
cfm md md1
[PE1-md-md1]
ma ma1
[PE1-md-md1-ma-ma1]
ais enable
[PE1-md-md1-ma-ma1]
ais link-status interface gigabitEthernet1/0/2
[PE1-md-md1-ma-ma1]
ais level 6
[PE1-md-md1-ma-ma1]
ais interval 1
[PE1-md-md1-ma-ma1]
ais vlan vid 10 mep 31
[PE1-md-md1]
quit
# Configure PE2.
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
8 Ethernet OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
901