forward in-label 40 lsrid 1.1.1.1 tunnel-id 100
backward nexthop 3.2.1.1 out-label 16 bandwidth ct0 10000
#
interface Pos1/0/0
undo shutdown
ip address 3.2.1.2 255.255.255.0
mpls
mpls te
mpls te bandwidth max-reservable-bandwidth 100000
mpls te bandwidth bc0 100000
#
interface LoopBack1
ip address 3.3.3.3 255.255.255.255
#
interface Tunnel2/0/0
ip address unnumbered interface LoopBack1
tunnel-protocol mpls te
destination 1.1.1.1
mpls te signal-protocol cr-static
mpls te tunnel-id 200
mpls te passive-tunnel
mpls te binding bidirectional static-cr-lsp egress lsp1
mpls te commit
#
ip route-static 1.1.1.1 255.255.255.255 3.2.1.1
ip route-static 2.2.2.2 255.255.255.255 3.2.1.1
#
mpls-tp meg test
me te interface Tunnel2/0/0 mep-id 2 remote-mep-id 1
cc send enable
cc receive enable#
return
9.7.5 Example for Configuring CC and CV for a PW
PEs are connected using a PW that is built over a bidirectional LSP. CC and CV are configured
to monitor the connectivity between PEs and detect faults on the MPLS-TP network.
Networking Requirements
As shown in
, PE1, PE2, and PE3 are connected using a PW built over a bidirectional
LSP. The following deployment is performed to guarantee the connectivity and correct packet
forwarding between PE1 and PE3:
l
PE1 and PE3 serve as MEPs.
l
PE2 serves as a MIP.
Configure CC and CV on the MEPs.
l
CC is a pro-active OAM operation. It detects connectivity between the two MEPs of a
bidirectional LSP in a MEG. A MEP sends CCMs to its RMEP at intervals. If the RMEP
does not receives CCMs within a period 3.5 times the specified interval, it considers that
the connectivity between the two MEPs is faulty and will report an alarm and enter the
Down state. Then, automatic protection switching (APS) will be triggered on both MEPs.
After receiving a CCM from the MEP, the RMEP will clear the alarm and exit from the
Down state.
l
CV is also a pro-active OAM operation. It enables a MEP to report alarms when the MEP
receives unexpected packets transmitted over bidirectional LSPs. For example, if a CV-
enabled device receives a packet from a PW and finds that this packet is mistakenly
transmitted by the PW, the device will report an alarm indicating a forwarding error.
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
9 MPLS-TP OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
973