© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.25-1 MPLS VPN Implementation Monitoring MPLS VPN Operations.

Презентация:



Advertisements
Похожие презентации
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Monitoring Frame-Mode MPLS on Cisco.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring an MP-BGP Session Between PE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Using MPLS VPN Mechanisms of Cisco IOS Platforms.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Troubleshooting MPLS VPNs.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS Traffic Engineering Monitoring Basic MPLS TE on Cisco IOS.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Technology Introducing the MPLS VPN Routing Model.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Outbound Route Filtering.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing BGP Using Route Maps to Manipulate Basic BGP Paths.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Module Summary The VRF table is a virtual routing and forwarding instance separating sites.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Introducing CEF Switching.
© 2006 Cisco Systems, Inc. All rights reserved.ISCW v Implementation of Frame Mode MPLS Implementing Frame Mode MPLS.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring VRF Tables.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Configuring OSPF Configuring OSPF Special Area Types.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Attributes Setting BGP Local Preferences.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Processing BGP Routes.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Monitoring and Troubleshooting BGP.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Troubleshooting Frame-Mode MPLS on Cisco.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Technology Forwarding MPLS VPN Packets.
Транксрипт:

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Monitoring MPLS VPN Operations

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Outline Overview Monitoring VRFs Monitoring VRF Routing Monitoring MP-BGP Sessions Monitoring an MP-BGP VPNv4 Table Monitoring per-VRF CEF and LFIB Structures Monitoring Labels Associated with VPNv4 Routes Identifying Other MPLS VPN Monitoring Commands Summary

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v show ip vrf Router# Displays the list of all VRFs configured in the router show ip vrf detail Router# Displays detailed VRF configuration show ip vrf interfaces Router# Displays interfaces associated with VRFs Monitoring VRFs

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring VRFs: show ip vrf Router#show ip vrf Name Default RD Interfaces SiteA2 103:30 Serial1/0.20 SiteB 103:11 Serial1/0.100 SiteX 103:20 Ethernet0/0 Router#

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring VRFs: show ip vrf detail Router#show ip vrf detail VRF SiteA2; default RD 103:30 Interfaces: Serial1/0.20 Connected addresses are not in global routing table No Export VPN route-target communities Import VPN route-target communities RT:103:10 No import route-map Export route-map: A2 VRF SiteB; default RD 103:11 Interfaces: Serial1/0.100 Connected addresses are not in global routing table Export VPN route-target communities RT:103:11 Import VPN route-target communities RT:103:11 RT:103:20 No import route-map No export route-map

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring VRFs: show ip vrf interfaces Router#show ip vrf interfaces Interface IP-Address VRF Protocol Serial1/ SiteA2 up Serial1/ SiteB up Ethernet0/ SiteX up

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v show ip protocols vrf vrf-name Router# Displays the routing protocols configured in a VRF show ip route vrf vrf-name Router# Displays the VRF routing table show ip bgp vpnv4 vrf vrf-name Router# Displays per-VRF BGP parameters Monitoring VRF Routing

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring VRF Routing: show ip protocols vrf Router#show ip protocol vrf SiteX Routing Protocol is "rip" Sending updates every 30 seconds, next due in 10 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Redistributing: rip, bgp Default version control: send version 2, receive version 2 Interface Send Recv Triggered RIP Key-chain Ethernet0/0 2 2 Routing for Networks: Routing Information Sources: Gateway Distance Last Update Distance: (default is 120)

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Router#show ip route vrf SiteA2 Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set O /24 [110/782] via , 02:52:13, Serial1/ /32 is subnetted, 1 subnets O [110/782] via , 02:52:13, Serial1/ /32 is subnetted, 1 subnets B [200/1] via , 01:14:32 B /24 [200/782] via , 02:05:38 B /24 [200/1] via , 02:05:38 B /24 [200/1] via , 01:14:32 … rest deleted … Monitoring VRF Routing: show ip route vrf

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring VRF Routing: show ip bgp vpnv4 vrf neighbors Router#show ip bgp vpnv4 vrf SiteB neighbors BGP neighbor is , vrf SiteB, remote AS 65032, external link BGP version 4, remote router ID BGP state = Established, up for 02:01:41 Last read 00:00:56, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities: Route refresh: advertised and received Address family IPv4 Unicast: advertised and received Received 549 messages, 0 notifications, 0 in queue Sent 646 messages, 0 notifications, 0 in queue Route refresh request: received 0, sent 0 Minimum time between advertisement runs is 30 seconds For address family: VPNv4 Unicast Translates address family IPv4 Unicast for VRF SiteB BGP table version 416, neighbor version 416 Index 4, Offset 0, Mask 0x10 Community attribute sent to this neighbor 2 accepted prefixes consume 120 bytes Prefix advertised 107, suppressed 0, withdrawn 63 … rest deleted …

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v show ip bgp neighbors Router# This command displays global BGP neighbors and the protocols negotiated with these neighbors. Monitoring MP-BGP Sessions

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring MP-BGP Sessions: show ip bgp neighbors Router#show ip bgp neighbor BGP neighbor is , remote AS 3, internal link BGP version 4, remote router ID BGP state = Established, up for 02:15:33 Last read 00:00:33, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities: Route refresh: advertised and received Address family IPv4 Unicast: advertised and received Address family VPNv4 Unicast: advertised and received Received 1417 messages, 0 notifications, 0 in queue Sent 1729 messages, 2 notifications, 0 in queue Route refresh request: received 9, sent 29 Minimum time between advertisement runs is 5 seconds For address family: IPv4 Unicast BGP table version 188, neighbor version 188 Index 2, Offset 0, Mask 0x4 1 accepted prefixes consume 36 bytes Prefix advertised 322, suppressed 0, withdrawn Continued

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring MP-BGP Sessions: show ip bgp neighbors (Cont.) Router#show ip bgp neighbor Continued For address family: VPNv4 Unicast BGP table version 416, neighbor version 416 Index 2, Offset 0, Mask 0x4 NEXT_HOP is always this router Community attribute sent to this neighbor 6 accepted prefixes consume 360 bytes Prefix advertised 431, suppressed 0, withdrawn 113 Connections established 7; dropped 6 Last reset 02:18:33, due to Peer closed the session... Rest deleted

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v show ip bgp vpnv4 all Router# Displays whole VPNv4 table. show ip bgp vpnv4 vrf vrf - name Router# Displays only BGP parameters (routes or neighbors) associated with specified VRF. Any BGP show command can be used with these parameters. show ip bgp vpnv4 rd route-distinguisher Router# Displays only BGP parameters (routes or neighbors) associated with the specified RD. Monitoring an MP-BGP VPNv4 Table

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring an MP-BGP VPNv4 Table: show ip bgp vpnv4 vrf-name Router#show ip bgp vpnv4 vrf SiteA2 BGP table version is 416, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 103:30 (default for vrf SiteA2) *> / ? *>i / ? *>i / ? *>i / i *> / ? *>i i *> ? *>i / ? *>i / ? *>i ? *>i ?

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring an MP-BGP VPNv4 Table: show ip bgp vpnv4 rd route-distinguisher Router#show ip bgp vpnv4 rd 103: BGP routing table entry for 103:30: /32, version 164 Paths: (1 available, best #1, table SiteA2) Not advertised to any peer Local, imported path from 103:10: / (metric 10) from ( ) Origin incomplete, metric 1, localpref 100, valid, internal, best Extended Community: RT:103:10

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v show ip cef vrf vrf-name Router# Displays per-VRF CEF table show ip cef vrf vrf-name ip-prefix detail Router# Displays details of an individual CEF entry, including label stack show mpls forwarding vrf vrf-name Router# Displays labels allocated by an MPLS VPN for routes in the specified VRF Monitoring per-VRF CEF and LFIB Structures

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v The show ip cef command can also display the label stack associated with the MP-IBGP route. Monitoring per-VRF CEF and LFIB Structures (Cont.) Router#show ip cef vrf SiteA detail /32, version 57, cached adjacency to Serial1/0.2 0 packets, 0 bytes tag information set local tag: VPN-route-head fast tag rewrite with Se1/0.2, point2point, tags imposed: {26 39} via , 0 dependencies, recursive next hop , Serial1/0.2 via /32 valid cached adjacency tag rewrite with Se1/0.2, point2point, tags imposed: {26 39}

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Monitoring per-VRF CEF and LFIB Structures (Cont.) Router#show mpls forwarding vrf SiteA2 Local Outgoing Prefix Bytes tag Outgoing Next Hop tag tag or VC or Tunnel Id switched interface 26 Aggregate /30[V] 0 37 Untagged /32[V] 0 Se1/0.20 point2point 38 Untagged /24[V] 0 Se1/0.20 point2point Router#show mpls forwarding vrf SiteA2 tags 37 detail Local Outgoing Prefix Bytes tag Outgoing Next Hop tag tag or VC or Tunnel Id switched interface 37 Untagged /32[V] 0 Se1/0.20 point2point MAC/Encaps=0/0, MTU=1504, Tag Stack{} VPN route: SiteA2 Per-packet load-sharing

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v show ip bgp vpnv4 [ all | rd value | vrf vrf-name ] labels Router# Displays labels associated with VPNv4 routes Monitoring Labels Associated with VPNv4 Routes Router#show ip bgp vpnv4 all labels Network Next Hop In label/Out label Route Distinguisher: 100:1 (vrf1) /nolabel /nolabel /nolabel /nolabel nolabel/26

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v telnet host /vrf vrf-name Router# Performs PE-CE Telnet through specified VRF ping vrf vrf-name ip-address Router# Performs ping based on VRF routing table trace vrf vrf-name ip-address Router# Performs VRF-based traceroute Other MPLS VPN Monitoring Commands

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Summary Use the following commands to monitor VRF information: –show ip vrf –show ip vrf detail –show ip vrf interfaces Use the following commands to monitor VRF routing: –show ip protocols vrf vrf-name –show ip route vrf vrf-name –show ip bgp vpnv4 vrf vrf-name Use the show ip bgp neighbors command to monitor MP- BGP sessions.

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Summary (Cont.) Use the show ip bgp vpnv4 command to monitor an MP-BGP VPNv4 table. Use these commands to monitor the per-VRF CEF and LFIB structures: –show ip cef vrf –show ip cef vrf detail –show mpls forwarding vrf vrf-name Use the show ip bgp vpnv4 all labels command to monitor MP-BGP VPNv4 labels. Other commands to monitor MPLS VPN are as follows: –telnet ip-address /vrf vrf-name –ping vrf vrf-name ip-address –trace vrf vrf-name ip-address

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v