Beruflich Dokumente
Kultur Dokumente
MSTP+ Products
MSTP Product Team, Network
Product Service Dept.
www.huawei.com
Preface
This course is developed based on the
promotion and application of the MSTP+
product.
With the development of the packet-oriented
transport network, the carrier places more
attention to the maintainability of the equipment
and thus the operations, administration, and
maintenance (OAM) of the packet services
should be solved.
This course is intended to make the field
engineers know the OAM function of packet
services of the MSTP+ product and to master
the principles and usage of the OAM function of
packet services.
Page 3
Guidelines
Page 4
Objectives
Page 5
Contents
ETH_OAM
MPLS_OAM
Page 6
Preface
The Ethernet technology is simple and low-cost, and can increase
the bandwidth. Therefore, either as a service type or a network
structure, Ethernet technology is applied on the enterprise
networks, MAN, and WAN in a large scale. The maintainability
and operability of the traditional Ethernet, however, is poor. With
the promotion of the Ethernet, the more requirements are placed
on the OAM function of the Ethernet.
Currently, OAM of the Ethernet can be classified into the end-toend OAM (802.1AG) and point-to-point OAM (802.3AH).
Page 7
The IEEE 802.1AG OAM focuses on the maintenance of end-to-end Ethernet links. The
application of the IEEE 802.1AG OAM is based on services.
The IEEE 802.3AH OAM focuses on the maintenance of end-to-end Ethernet links
between two directly-connected devices on the Ethernet in the first mile (EFM). The
application of the IEEE 802.3AH OAM is not based on specific services.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page 8
Page 9
Contents
ETH_OAM
Page 10
Contents
Page 11
VLAN-based OAM.
Main functions:
Loopback (LB)
OAM Ping
Page 12
OAM Mac Destination Address: Indicates the MAC address of the sink MP.
OAM Mac Source Address: Indicates the MAC address of the source MP.
Ether Type (VLAN): Indicates the Ethernet data type, such as 0x8100.
VLAN Tag: Indicates the VLAN value of the service traffic.
Ether Type (OAM): Indicates the packet type of the ETH-OAM protocol. The packet type
of the IEEE 802.1AG OAM is 0x8809.
OAM Type: Indicates that the MP differs and responds to various OAM operations
according to the types of OAM packets.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page 13
MD Name
Page 14
MA Name
VLAN
CCM Interval
Page 15
Maintenance point (MP) is the functional entity of the IEEE 802.1AG OAM,
including the maintenance end point (MEP) and maintenance intermediate
point (MIP).
All the OAM operations must be started by the MEP. The MIP cannot start
any OAM operation or send any OAM packet.
Page 16
MEPID
Port
Direction
Page 17
Lets the OAM packets at higher layers than the MIP to pass through.
Transparent transmission
Obtaining and processing all OAM packets at the layer of the MIP
Discards all OAM packets at lower layers than that of the MIP according to
certain specific operation codes.
Page 18
Layer level: User ME level > Vendor ME level > Carrier ME level
The dashed lines in the diagram show the logic channels where IEEE 802.1AG OAM packets pass through. For MPs at different layers,
the processing methods for the OAM packets are as follows:
In the case of the OAM protocol packets whose level is higher than the MP, the MP transparently transmits the packets.
In the case of the OAM protocol packets whose level is lower than the MP, the MP discards the packets directly.
In the case of the OAM protocol packets whose level is the same as the MP, the MP responds to or terminates the packets according to the
types of the OAM packets.
Page 19
Contents
Page 20
The source MEP constructs the CCM packets and transmits the packets periodically.
After receiving the CCM packets, the sink MEP starts the CC. If the sink MEP fails to receive the CCM
packets from the source MEP within the check period (that is, 3.5 times of the transmit period), it
reports the CC_LOS alarm automatically till the link restores normality.
As shown in the previous figure, after the CC of MEP1 is started, MEP1 transmits CCM packets.
MEP2, MEP3, and MEP4 that are in the same MD of MEP1 receive CCM packets from MEP1
periodically. Once the link fails, the sink MEP cannot receive the CCM packets in 3.5 times of the
transmit period, and then the sink MEP reports the EX_ETHOAM_CC_LOS alarm, which lasts till the
link restores normality.
Page 21
LB test is based on bi-directional services. The source MEP constructs the loopback message (LBM)
packets and fills the MP (MIP or MEP) ID in the packets. Then the source MEP transmits the packets
and starts the timer at the same time.
After receiving the LBM packets, the sink MP constructs the loopback return (LBR) packets and
transmits them back to the source MEP. In this case, the loopback test is successful.
If the source MEP timer times out and fails to receive the LBR packets from the sink MP, the loopback
test fails.
As shown in the previous figure, MEP1 transmits LBM packets to sink MEP4; after MIP2 and MIP3
receive the packets and find that the MPID of these packets is different from the MPID of themselves,
MIP2 and MIP3 transparently transmit these packets. After receiving these packets, the sink MEP4
transmits the LBR packets to the source MEP1. At this moment, the loopback test is complete.
Only MEPs can initiate the LB test, but both the MEP and MIP can work as the receive end in the test.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page 22
The source MEP constructs the link trace message (LTM) packets and fills the sink MEP ID in the packets. Then the
source MEP transmits the packets and starts the timer at the same time.
All MIPs that belong to this MD in the link transmit the received LTM packets to the sink MEP. At the same time, a link
trace reply (LTR) packet is returned to the source MEP.
After the sink MEP receives the LTM packets, the packet transmission is complete. Then, the sink MEP transmits LTR
packets to the source MEP. In this case, the link trace test is successful. If the source MEP timer times out and fails to
receive the LTR packets from the sink MEP, the loopback test fails.
As shown in the previous figure
1. The source MEP1 transmits the LTM packet to the sink MEP4.
2. After receiving the LTM packet, MIP2 transmits the LTR packet to the source MEP1 and forwards the LTM packet at the
same time.
3. After receiving the LTM packet, MIP3 transmits the LTR packet to the source MEP1 and forwards the LTM packet at the
same time.
4. After receiving the LTM packet, the sink MEP4 terminates the LTM packet and transmits the LTR packet to the source
MEP1.
Only an MEP can initiate or terminate an LT test.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page 23
IP-ping: In the case that the equipment at both ends supports the ARP
and ICMP protocols, the ping test can be initiated on the Huawei
equipment, which does not respond to the ping test initiated by the
peer equipment.
Page 24
Contents
ETH_OAM
Page 25
Contents
Page 26
It mainly solves the Ethernet OAM of the "first mile". It also applicable to
the Ethernet physical link between two equipment.
Main Functions
OAM Capability Discovering
OAM Link Monitoring
Remote Fault Detecting
OAM Remote Loopback
Self-Loop Test
Page 27
Page 28
As shown in the previous figure, the IEEE 802.3AH OAM is mainly applicable to CE
NEs and data communication equipment that are directly connected.
The IEEE 802.3AH OAM is only applicable to external physical ports and the OAM
PDU cannot be forwarded on the system side.
Page 29
Page 30
Mode
OAM Mode
Active: Be able to initiate the link discovering and remote
loopback.
Passive: Different from the active mode, in the passive
mode, the link discovering and remote loopback cannot be
initiated actively. The other processing in the passive mode
is the same as that in the active mode.
Page 31
Active
NE1
802.3AH packets
transmitted by NE1
802.3AH packets
transmitted by NE2
NE2
Page 32
Page 33
Link
Monitoring
Link performance monitoring is used to monitor the bit error performance (error
frames or error signals). When the local end detects that the bit errors exceed the
threshold, the bit error event is transmitted to the opposite end over the specified
OAMPDU. In this case, the opposite end reports the alarm accordingly.
Error frame: Indicates that the number of error frames exceeds the threshold in a period.
Count of error frame seconds: Indicates the count of seconds when error frames occur
within the specified seconds.
Error code: Indicates that the number of error codes exceeds the threshold in a period.
When the IEEE 802.3AH OAM protocol is enabled at a port, the protocol queries
the RMON statistic of the hardware chip periodically to obtain the information such
as the number of correct packets and the number of error packets. After related
processing of the information, it can be judged whether the previous three
performance events occur. If a performance event is generated, the peer end is
notified with this event through the OAMPDU. After receiving the notification, the
peer end reports the ETHOAM_RMT_SD alarm.
Page 34
Fault type:
Link fault: This type of fault is transmitted when the local port is
shut down.
Page 35
Remote Loopback
Passive
Active
NE1
NE2
Only the active end can initiate the remote loopback request.
If the equipment at both ends initiate the remote loopback
request, the end with larger MAC address enters the passive
loopback state.
After entering the loopback state, NE2 returns the packets
(excluding the OAM packets) that are received on the
loopback port to NE1.
NE1 transmits the test packets to detect the link. The MAC
address, length, and number of the test packets can be
specified. After receiving the test packets, NE2 returns the
packets to NE1, and then NE1 performs the packet loss
statistics.
The loopback cancelling process is similar the loopback
requesting process.
Page 36
Self-Loop Test
The self-loop test can detect the self-loop of a port with a fiber connecting the Rx
and Tx and the self-loop on a board with a fiber connecting two ports on the board.
With the self-loop detecting function enabled on all ports of the equipment, once a
self-loop (described previously) occur in the networking process, the self-loop is
detected and the ETHOAM_SELF_LOOP or ETHOAM_VCG_SELF_LOOP alarm
is reported to prompt the user.
Page 37
Contents
ETH_OAM
MPLS_OAM
Page 38
The MPLS OAM can effectively detect, confirm, and locate the internal
defects of the MPLS-layer network, and thus can monitor the network
performance. By providing an OAM mechanism independent of any upper
layer or lower layer, the MPLS OAM supports the following features:
Providing the query based on requirements and the consecutive detection so that at
any moment you can learn whether the monitored LSP has defects.
Detecting, analyzing, and locating the defects in the network, and reporting the
defect information to the T2000.
Fast triggering protection switching when the link has a defect or becomes faulty.
Monitoring and reporting the packet loss ratio, delay, and delay variation in real
time.
The MPLS OAM complies with the ITU-T Y.1711 and ITU-T Y.1731.
Page 39
You can check the connectivity of a label switch path (LSP) by performing
a connectivity verification (CV) or fast failure detection (FFD).
The CV and FFD processes are the same except for that CV packets are
transmitted always at a rate (1 frame/s, not for setting) whereas FFD
packets are transmitted at a user-defined rate.
Page 40
MPLS OAM-CC
MPLS_TUNNEL_LOCV
NB 1
ETH
GE/FE
MSTP+
SDH
GE/FE
NB2
ETH
MSTP+
GE
MSTP+
MPLS
MSTP+
RNC
or ETH
Core
network
MSTP+
GE
MSTP+
RNC
CV packet: The ingress node transmits the CV packet at an interval of 1s. The egress
node checks the number and correctness of received CV packets in any 3s.
FFD packet: The function of the FFD packet is the same as the CV packet, which is used
to check the continuity. The ingress node transmits the FFD packet at an interval of 3.3
ms to 500 ms. The egress node checks the number and correctness of received FFD
packets in the period of any three transmit intervals. The transmit interval can be 3.3 ms,
10 ms, 20 ms, 50 ms, 100 ms, 200 ms, and 500 ms.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page 41
MPLS OAM-Mismatch
MPLS_TUNNEL_LOCV
NB 1
ETH
MSTP+
GE/FE
MSTP+
MPLS
ETH
MSTP+
RNC
MPLS
GE/FE
NB2
GE
MSTP+
Core
network
MSTP+
GE
MSTP+
RNC
MPLS_TUNNEL_MISMATCH
Page 42
MPLS OAM-Mismerge
NB 1
MPLS_TUNNEL_MISMERGE
ETH
GE/FE
MSTP
+
MSTP
+
GE/FE
NB2
ETH
MPLS
MPLS
GE
MSTP
+
RNC
MSTP
+
GE/FE
Core
network
MSTP
+
GE
NB3
ETH
MSTP
+
MSTP
+
RNC
MPLS_TUNNEL_LOCV
Page 43
MPLS OAM-BDI
MPLS_TUNNEL_BDI
Bind the
reverse tunnel
NB 1
ETH
Bind the
reverse tunnel
GE/FE
MSTP+
MSTP+
GE/FE
NB2
ETH
MPLS
MPLS
MPLS_TUNNEL_LOCV
GE
MSTP+
RNC
MSTP+
Core
network
MSTP+
GE/FE
GE
NB3
ETH
MSTP+
MSTP+
RNC
BDI packet: The BDI packet is used by the egress node to notify the
ingress node of the LSP defect information.
Page 44
MPLS OAM-FDI
NB 1
MPLS_TUNNEL_FDI
ETH
GE/FE
MSTP+
GE
MSTP+
GE/FE
NB2
ETH
MPLS
MPLS
MSTP+
RNC
MSTP+
Core
network
MSTP+
GE/FE
GE
NB3
ETH
MSTP+
MSTP+
RNC
FDI packet: The FDI packet is used by the LSP upstream node to notify the
LSP egress node of the bottom layer defect information. At the node that is
most close to the defect, the FDI packets are inserted to the LSP where the
defect occurs.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page 45
NB 1 ETH
GE/FE
MSTP+
GE
MSTP+
GE/FE
NB2
ETH
MPLS
MPLS
MSTP+
RNC
MSTP+
Core
network
MSTP+
GE/FE
GE
NB3
ETH
MSTP+
MSTP+
RNC
The MPLS ping and MPLS echo request messages should arrive at
the egress node of the tunnel. Then, the control plane of the egress
node checks whether the node is the egress for the FEC. The MPLS
ping packets help check whether the LSP is successfully set up.
Page 46
STM-X
STM-X
MSTP+
GE/FE
NB2
ETH
MSTP+
MPLS
MPLS
RNC
MSTP+
Core
network
MSTP+
GE/FE
GE
NB3
ETH
MSTP+
MSTP+
RNC
The MPLS trace route and MPLS Echo Request packets should be transmitted
to each transit node. Then, the control plane of each transmit node checks
whether the node is an intermediate node on the LSP. You can locate the place
where a network fault occurs by using the trace route function.
Page 47
OAM Type
CV/FFD
Function
Unidirectional continuity check
Application Scenario
Real-time status detection of the
tunnel
Ping
Trace route
Fault locating
Note: For the MPLS APS 1+1/1:1 protection, the corresponding MPLS OAM must be enabled.
Page 48
Thank You
www.huawei.com