#
interface Gigabitethernet1/0/0
undo shutdown
ip address 10.1.1.2 255.255.255.252
mpls
mpls ldp
#
interface Gigabitethernet1/0/1
undo shutdown
ip address 10.1.2.1 255.255.255.252
mpls
mpls ldp
#
interface LoopBack1
ip address 3.3.3.3 255.255.255.255
#
cfm md md1
ma ma1
map vsi ldp1
ccm-interval 30
mep mep-id 3 interface gigabitethernet 2/0/0.1 pe-vid 100 ce-vid 10 inward
mep ccm-send mep-id 3 enable
remote-mep mep-id 1
remote-mep ccm-receive mep-id 1 enable
remote-mep mep-id 2
remote-mep ccm-receive mep-id 2 enable
#
ospf 1
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 10.1.2.0 0.0.0.3
network 10.1.1.0 0.0.0.3
#
return
l
Configuration file of Switch1
#
sysname Switch1
#
vlan batch 100
#
interface GigabitEthernet1/0/0
undo shutdown
port trunk allow-pass vlan 100
#
interface GigabitEthernet1/0/1
undo shutdown
port vlan-stacking vlan 10 stack-vlan 100
#
return
l
Configuration file of Switch2
#
sysname Switch2
#
vlan batch 100
#
interface GigabitEthernet1/0/0
undo shutdown
port trunk allow-pass vlan 100
#
interface GigabitEthernet1/0/1
undo shutdown
port vlan-stacking vlan 10 stack-vlan 100
#
return
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.
588