Beruflich Dokumente
Kultur Dokumente
BRKRST-1101
Cisco Public
Network Monitoring
Service Monitoring
Monitor service
End-to-end monitoring Linked to customer SLAs
BRKRST-1101
Cisco Public
Traditional management tools: MIBs to provide management information for SNMP management applications
MIB counters and Trap notifications form MPLS
New management tools: MPLS OAM -> for reactive trouble shooting
Ping and trace capabilities of MPLS label switched paths
Monitoring and Performance Management via MPLS Aware Netflow and IP SLA for MPLS L3 VPN Automated MPLS OAM -> for proactive trouble shooting
Automated LSP ping/trace via Auto IP SLA
BRKRST-1101
Cisco Public
OAM Feature
RFC4379
MPLS LSP Ping/Trace for RSVP IPv4 FECs VCCV LSP Ping (single and multi-segment PW) VCCV BFD (incl. Fault, AC Notification)
PW3E
BRKRST-1101
Cisco Public
Requirement
Solution
MPLS LSP traceroute for hop-by-hop fault localization MPLS LSP traceroute for path tracing IPv4 LDP prefix, VPNv4 prefix: tunnel monitoring
Applications
TE tunnel L2 VPNs
RFC Standards
BRKRST-1101
Cisco Public
MPLS OAM
Embedded management capabilities used for node-specific and end-toend MPLS failure detection A broken LSP will affect end to end connectivity and services, it is difficult to troubleshoot an MPLS failure:
Requires the operator to do manual/hop-by-hop work
MPLS
50 R3 LSP Broken 49 R2
R1
MPLS OAM facilitates and speeds Up troubleshooting of MPLS failures Principlesimilar to traditional (ICMP based) tools:
LSP Ping: based on echo request and echo reply LSP Trace: packets with incremental TTL Virtual Circuit Connection Verification (VCCV): end-to-end fault detection and diagnostics for an emulated PW service
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
The Cisco IOS CLI VRF ping and Cisco IOS CLI VRF traceroute : => ping and traceroute of IP prefixes stored in a VRF
VPN/VRF routing table used to route the ICMP packet IP datagram uses the MP BGP label and the LDP label ICMP echo reply/request or Traceroute mechanisms ICMP extensions for MPLS
BRKRST-1101
Cisco Public
TTL=2
R1
R2
R3
R4
BRKRST-1101
Cisco Public
P1
Incoming tag ->50 Outgoing tag for 135.15.252.1->49
P2
P3
Incoming tag ->49 Incoming tag ->35 Outgoing tag for Outgoing tag for 135.15.252.1->35 135.15.252.1->pop tag
PE2
PE1 looks at the VRF routing table and finds 10.0.0.0 [200/0] via 135.15.252.10, 00:40:19
PE1#traceroute vrf NMtest ip 10.0.0.1 Type escape sequence to abort. MP BGP label->82 Tracing the route to 10.0.0.1 1 135.15.202.1 [MPLS: Labels 50/82 Exp 0] 0 msec 0 msec 0 msec 2 10.200.14.1 [MPLS: Labels 49/82 Exp 0] 0 msec 0 msec 0 msec 3 10.200.12.2 [MPLS: Labels 35/82 Exp 0] 0 msec 0 msec 0 msec 4 10.0.0.1 0 msec 0 msec * PE1#
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
BRKRST-1101
Cisco Public
10
MPLS AOM
50 R3 LSP Broken
49 R1 R2
11
Packets contain Control Information and Diagnostic Information from LSR at Failure Point for Fault Localization and Many Options to provide for Efficient Troubleshooting information
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
12
50 R4
49 R2 R1 MPLS Echo-Reply
R3
LSP Broken
Label stack is same as used by the LSP and this makes the echo to be switched in-band of LSP Same label stack takes the same path as MPLS data Where the LSP is broken, the Packet Is consumed by the router trying to forward the packet using the IP header
IP-DA = Loopback
In this case R2 would not forward the echo-req to R1, but rather consumes the packet and reply to it accordingly
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
13
50 R3
SA=Source Addr DA=Destination Addr
49 R4 R2 R1 MPLS Echo-Reply
LSP reply will be generated as an IP packet which may use an LSP path back if available Reply contains Return Code information An Echo reply, which may or not be labeled, Information is displayed on R3 which initiated the MPLS OAM test (probe) Diagnostic Capability at Failure Point for Fault Localization and More Options to provide for Efficient Troubleshooting information
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
14
Value
1
Meaning
MPLS Echo Request MPLS Echo Reply
Version Number
Message Type Reply Mode
Must Be Zero
Return Code Rtrn Subcode
Sender s Handle Sequence Number Timestamp Sent (NTP Seconds) Timestamp Sent (NTP Fraction of usecs) Timestamp Received (NTP Seconds) Timestamp Received (NTP Fraction of usecs) TLVs
Version Number: It s Set to One Message Type: Message Type Field Tells Whether the Packet Is an MPLS Echo Request or MPLS Echo Reply
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
15
Value
1
Meaning
Do Not Reply Reply via an IPv4 UDP Packet Reply via an IPv4 UDP packet with Router Alert
Version Number
Message Type Reply Mode
Must Be Zero
Return Code Rtrn Subcode
Sender s Handle Sequence Number Timestamp Sent (NTP Seconds) Timestamp Sent (NTP Fraction of usecs) Timestamp Received (NTP Seconds) Timestamp Received (NTP Fraction of usecs) TLVs
Reply Mode: The Reply Mode Is Used to Control How the Target Router Replies to MPLS Echo Request
Default Is to Send a Reply with a Value of 2
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
16
Return Code
IP/MPLS Header Version Number
Message Type Reply Mode
Value Meaning The Error Code Is Contained in the Error Code TLV Malformed Echo Request Received One Or More of the TLVs Was Not Understood Replying Router Is an Egress for the FEC Replying Router Has No Mapping for the FEC Replying Router Is Not One of the "Downstream Routers" Replying Router Is One of the "Downstream Routers", and Its Mapping for this FEC on the Received Interface Is the Given Label
Must Be Zero
Return Code Rtrn Subcode
0 1 2
Sender s Handle Sequence Number Timestamp Sent (NTP Seconds) Timestamp Sent (NTP Fraction of usecs) Timestamp Received (NTP Seconds) Timestamp Received (NTP Fraction of usecs) TLVs
The router initiating the LSP ping/trace would set the return code to zero The replying router would set it accordingly based on the following table
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved.
Cisco Public
17
ValueField
LDP IPv4 Prefix LDP IPv6 Prefix RSVP IPv4 Session Query RSVP IPv6 Session Query
This is a list of sub-TLVs Target stack TLV is included only in the echo-request and not in echoreply
5 17 20
56 13 25 10
18 18
7 8 0x0001
Prefix Length
BRKRST-1101
Cisco Public
19
15 16 0x0003 Length = 20 IPv4 Tunnel Endpoint Address Must Be Zero Tunnel ID Extended Tunnel ID IPv4 Tunnel Sender Address LSP ID Must Be Zero
31
BRKRST-1101
Cisco Public
20
Length = 16
PWID
BRKRST-1101
Cisco Public
21
MTU: MTU of the outgoing interface Address type: IPv4, IPv6, Unnumbered IPv4, Unnumbered IPv6 DS Flags: Request for ILS TLV, etc. Downstream IP Address: IP Address of the Downstream Router Downstream Interface Address: IP address of the outgoing interface for that LSP Multipath Information: Encoded IP address information about the outgoing interface Downstream labels: The outgoing labels for the LSP on the downstream router
Multipath Information (Variable Length) Downstream Label Downstream Label Protocol Protocol
Both Request and Reply Packets Responding router uses incoming DSMAP for label verification Responding routers puts in one DSMAP for each outgoing interface New draft for Detailed DSMAP (DDMAP)
BRKRST-1101
Cisco Public
22
The Above Are Three of the Sub-TLVs That We Have Already Discussed Earlier
BRKRST-1101
Cisco Public
23
24
Type escape sequence to abort. !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 284/294/300 ms
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
25
26
Loadbalancing (Cont.)
R3#sh mpls forwarding-table 10.200.0.1 Local Outgoing Prefix Bytes tag Outgoing Next Hop tag tag or VC or Tunnel Id switched interface 27 20 10.200.0.1/32 0 PO0/0 point2point 23 10.200.0.1/32 0 PO1/0 point2point R3#
R3#trace mpls ip 10.200.0.1/32 destination 127.0.0.3 Tracing MPLS Label Switched Path to 10.200.0.1/32, timeout is 2 seconds Codes: '!' - success, 'Q' - request not transmitted, '.' - timeout, 'U' - unreachable, 'R' - downstream router but not target Type escape sequence to abort. 0 10.200.134.3 MRU 4470 [Labels: 23 Exp: 0] R 1 10.200.14.4 MRU 1504 [implicit-null] 14 ms ! 2 10.200.14.1 5 ms
BRKRST-1101
R3#trace mpls ip 10.200.0.1/32 destination 127.0.0.1 Tracing MPLS Label Switched Path to 10.200.0.1/32, timeout is 2 seconds Codes: '!' - success, 'Q' - request not transmitted, '.' - timeout, 'U' - unreachable, 'R' - downstream router but not target Type escape sequence to abort. 0 10.200.123.3 MRU 4470 [Labels: 20 Exp: 0] R 1 10.200.12.2 MRU 1504 [implicit-null] 12 ms ! 2 10.200.12.1 3 ms
Cisco Public
27
28
BRKRST-1101
Cisco Public
29
R8
30
The Above Are Two of the Sub-TLVs that We Have Already Discussed Earlier
BRKRST-1101
Cisco Public
31
BRKRST-1101
Cisco Public
32
There is an intermittent response for the data traffic using the LSP R3-R4-R1-R2 Sweeping LSP ping tells us that packets over 1500 are failing
Now if I do a regular trace, I ll get the following R3#tracer 10.200.0.2 Type escape sequence to abort. Tracing the route to 10.200.0.2 1 10.200.34.4 [MPLS: Label 44 Exp 0] 0 msec 0 msec 0 msec 2 10.200.14.1 [MPLS: Label 22 Exp 0] 0 msec 0 msec 0 msec 3 10.200.12.2 0 msec * 0 msec R3#
BRKRST-1101
But if I do an LSP trace I get the following R3#tracer mpls ip 10.200.0.2/32 Tracing MPLS Label Switched Path to 10.200.0.2/32, timeout is 2 seconds Codes: '!' - success, 'Q' - request not transmitted, '.' - timeout, 'U' - unreachable, 'R' - downstream router but not target Type escape sequence to abort. 0 10.200.34.3 MRU 4470 [Labels: 44 Exp: 0] R 1 10.200.14.4 MRU 1500 [Labels: 22 Exp: 0] 4 ms R 2 10.200.12.1 MRU 4474 [implicit-null] 15 ms ! 3 10.200.12.2 20 ms
Cisco Public
33
BRKRST-1101
Cisco Public
34
PE3
P1 PE1
P2 PE2
BRKRST-1101
Cisco Public
35
CE
LSP-ping
MPLS
Scalability
Fast retry on failure Ease of configuration- automated test setup Intelligent group-based notifications Group scheduling
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved.
CE
IP SLA VPN
Cisco Public
36
3. IP SLA+ LSP-Ping
Send LSP ping to Neighbor at a time and rate controlled by IP SLA (random Start) Fast retry on failure; send trap on timeout/ connection loss
IPSLA VPN
IP SLAs
PE2
CE
PE1
LSP-ping
MPLS
PEx
Group-Schedule of IP SLA probes: Probes generated from source to all destination PEs using /32 MP-IBGP VPNv4 loopbacks
PE50
IP SLAs
IP SLA VPN
Cisco Public
37
Requirement
One tunnel can serve many pseudowires MPLS LSP ping is sufficient to monitor the PSN tunnel (PE-PE connectivity), but not VCs inside of tunnel
VCCV allows sending control packets in band of PseudoWires (PW) Two components
Solution
Signaling component: communicate VCCV capabilities as part of VC label Switching component: cause the PW payload to be treated as a control packet
Type 1: uses Protocol ID of PW Control word Type 2: use MPLS router alert label Type 3: manipulate TTL exhaust
RFC 5085
2009 Cisco Systems, Inc. All rights reserved. Cisco Public
38
7600
Customer VLAN
QinQ
Verify/Trace Emulated services (e.g. Ethernet) mapped to Customer VLANS (Attachment VCs) Trace/Verify packets take same path as data packets
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
39
40
MPLS Echo-req
R3
R1#
*Jan 19 19:32:17.726: LSPV: AToM echo request rx packet handler *Jan 19 19:32:17.726: LSPV: Echo packet received: src 10.200.0.3, dst 127.0.0.1, size 122 *Jan 19 19:32:17.734: LSPV: Echo Hdr decode: version 1, msg type 1, reply mode 2 , return_code 0, return_subcode 0, sender handle 850000D1, sequence number 1, ti mestamp sent 20:22:30 UTC Mon Jan 19 2004, timestamp rcvd 00:00:00 UTC Mon Jan 1 1900 *Jan 19 19:32:17.734: LSPV: tlvtype 1, tlvlength 20 *Jan 19 19:32:17.734: LSPV: AToM FEC decode: srcaddr 10.200.0.1, destaddr 10.200 . 0.3, vcid 10, vctype 5 *Jan 19 19:32:17.734: LSPV: Target FEC stack length = 20, retcode = 3 *Jan 19 19:32:17.734: LSPV: tlvtype 3, tlvlength 8 *Jan 19 19:32:17.734: LSPV: Pad TLV decode: type 1, size 8 *Jan 19 19:32:17.734: LSPV: Echo Hdr encode: version 1, msg type 2, reply mode 2 , return_code 4, return_subcode 0, sender handle 850000D1, sequence number 1, ti mestamp sent 20:22:30 UTC Mon Jan 19 2004, timestamp rcvd 19:32:17 UTC Mon Jan 1 9 2004 41 Cisco Public 2009 Cisco Systems, Inc. All rights reserved.
Return code 4 sent due to some error condition either of the following has occurred
Wrong VC ID Wrong VC Type Wrong Source Address
BRKRST-1101
Cisco Routers always use Type 1, if available, for LSP Ping over an AToM VC Control Channel. Type 2 Switching accommodates those VC types and implementations that do not support or interpret the AToM Control word. A new CC Type 3 new switching point TLV - is introduced to support VCCV in MS-PWs (RFC 5085)
BRKRST-1101 2009 Cisco Systems, Inc. All rights reserved. Cisco Public
42
CE
PE1#sh mpls l2transport binding 10 Destination Address: 10.200.0.1, VC ID: 10 Local Label: 16 Cbit: 0, VC Type: Ethernet, GroupID: 0 MTU: 1500, Interface Desc: n/a VCCV Capabilities: Type 1 Remote Label: 69 Cbit: 0, VC Type: Ethernet, GroupID: 0 MTU: 1500, Interface Desc: n/a VCCV Capabilities: Type 1
BRKRST-1101
PE1
PE2
CE
Cisco Public
43
CE
PE1
PE2
CE
PE1#sh mpls l2transport binding 10 Destination Address: 10.200.0.1, VC ID: 10 Local Label: 16 Cbit: 0, VC Type: Ethernet, GroupID: 0 MTU: 1500, Interface Desc: n/a VCCV Capabilities: Type 2 Remote Label: 69 Cbit: 0, VC Type: Ethernet, GroupID: 0 MTU: 1500, Interface Desc: n/a VCCV Capabilities: Type 2
BRKRST-1101
Cisco Public
44
PE1
PE2
BRKRST-1101
Cisco Public
45
VCCV for Multi-Segmented Pseudowires Ping Operation using VCCV Type III
Ping from T-PE2 to S-PE1
CE1 AC
VCID: 100
ACCESS MPLS
S-PE1
VCID: 101 MPLS Core
S-PE2
VCID: 102
ACCESS MPLS
AC CE2
T-PE1
3.
T-PE2
1.
2.
PWID 101 Sender IP: S-PE2 Remote IP: S-PE1 TTL 2 SRC IP: T-PE2 Dest IP: 127.0.0.1
4.
BRKRST-1101
Cisco Public
46
Leverages the new NetFlow version 9 export format Configure on ingress interface Supported on sampled/non-sampled NetFlow VRF aware Netflow Export support
Router(config)# ip flow-export destination 10.10.10.10 9999 vrf terps <sctp|udp>
BRKRST-1101
Cisco Public
47
IP/MPLS
204
99.99.99.99
PE
VRF = red 10.100.1.201
PE
10.100.1.204
201#sh ip bgp vpnv4 vrf red labels Network Next Hop Route Distinguisher: 1:1 (red) 24.24.24.24/32 10.100.1.204 98.98.98.98/32 172.16.98.2 99.99.99.99/32 10.100.1.204 172.16.98.0/24 0.0.0.0 172.16.99.0/24 10.100.1.204 201.201.201.201/32 0.0.0.0
BRKRST-1101
48
IP/MPLS
204
99.99.99.99
PE
VRF = red 10.100.1.201
PE
10.100.1.204
VPN Traffic flow ip flow-cache mpls label-positions 1 ! 201#sh ip cache verbose flow SrcIf Port Msk AS Et1/0 0000 /0 SrcIPaddress 172.16.98.2 0 1:18-0-1 DstIf Port Msk AS Tu0* 0000 /0 DstIPaddress NextHop 172.16.99.1 0.0.0.0
Pos:Lbl-Exp-S
BRKRST-1101
Cisco Public
49
MPLS-LSR-MIB MPLS-LDP-MIB
MPLS-FTN-MIB
MPLS-LDP-STD-MIB MPLS-L3VPN-STD-MIB
MPLS-TE-MIB RFC3812 IETF Draft
MPLS-FRR-MIB
MPLS-TE-STD-MIB
BRKRST-1101
Cisco Public
50
Interface goes down Time = t+1: Received SNMPv2c Trap from pe1:
sysUpTimeInstance = 8159906 snmpTrapOID.0 = linkDown ifIndex.5 = 5 ifDescr.5 = Ethernet1/0 ifType.5 = ethernetCsmacd(6) locIfReason.5 = administratively down
PE1
P1
PE1
LDP session
P1
BRKRST-1101
Cisco Public
51
BRKRST-1101
Cisco Public
52