BGP Troubleshooting on MPLS L3VPN.

Displaying and Maintaining MPLS L3VPN

How to Reset BGP Connections

When BGP configuration changes, you can use the soft reset function or reset BGP connections to make new configurations take effect. Soft reset requires that BGP peers have route refreshment capability (supporting Route-Refresh messages).
  • Perform a soft reset of the BGP connections in a specified VPN instance
(refresh bgp vpn-instance vpn-instance-name {ip-address | all | external | group group-name} export | import )


  • Perform a soft reset of the BGP VPNv4 connections
(refresh bgp vpnv4 { ip-address | all | external | group group-name | internal } { export | import })


  • Reset BGP connections of a VPN instance
(reset bgp vpn-instance vpn-instance-name { as-number | ip-address | all | external | group group-name})


  • Reset BGP VPNv4 connections
(reset bgp vpnv4 { as-number | ip-address | all | external | internal | group group-name })


Displaying and Maintaining MPLS L3VPN
  • Display information about the routing table associated with a VPN instance
(display ip routing-table vpn-instance vpn-instance-name [ verbose ])

  • Display information about a specified or all VPN instances
(display ip vpn-instance [ instance-name vpn-instance-name ])

  • Display information about the FIB of a VPN instance
(display fib vpn-instance vpn-instance-name [ include string ])

  • Display statistics about the VPN instance forwarding table
(display fib statistics vpn-instance)

  • Display information about labeled routes in the BGP routing table
(display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table label)

  • Display information about a specified or all BGP VPNv4 peer group
(display bgp vpnv4 { all | vpn-instance vpn-instance-name } group [ group-name ])

  • Display information about BGP VPNv4 routes injected into a specified or all VPN instances
(display bgp vpnv4 { all | vpn-instance vpn-instance-name } network)

  • Display BGP VPNv4 AS path information
(display bgp vpnv4 { all | vpn-instance vpn-instance-name } paths [ as-regular-expression ])

  • Display information about BGP VPNv4 peers
(display bgp vpnv4 { all | vpn-instance vpn-instance-name } peer [ group-name log-info | ip-address { log-info | verbose } | verbose ])

  • Display all BGP VPNv4 routing information
(display bgp vpnv4 all routing-table [ network-address [ { mask | mask-length } [ longer-prefixes ] ] | as-path-acl as-path-acl-number | cidr | community [ aa:nn ]&<1-13> [ no-export-subconfed | no-advertise | no-export ] * [ whole-match ] | community-list { basic-community-list-number [ whole-match ] | adv-community-list-number }&<1-16> | different-origin-as | peer ip-address { advertised-routes | received-routes } [ statistic ] | regular-expression as-regular-expression | statistic ])

  • Display the BGP VPNv4 routing information of a specified RD
(display bgp vpnv4 route-distinguisher route-distinguisher routing-table [ network-address [ { mask | mask-length } [ longer-prefixes ] ] | as-path-acl as-path-acl-number | cidr | community [ aa:nn ]&<1-13> [ no-export-subconfed | no-advertise | no-export ]* [ whole-match ] | community-list { basic-community-list-number [ whole-match ] | adv-community-list-number }&<1-16> | different-origin-as | regular-expression as-regular-expression ])

  • Display the BGP VPNv4 routing information of a specified VPN instance
(display bgp vpnv4 vpn-instance vpn-instance-name routing-table [ network-address [ { mask | mask-length } [ longer-prefixes ] ] | as-path-acl as-path-acl-number | cidr | community [ aa:nn ]&<1-13>[ no-export-subconfed | no-advertise | no-export ]* [ whole-match ] | community-list { basic-community-list-number [ whole-match ] | adv-community-list-number }&<1-16> | dampened | dampening parameter | different-origin-as | flap-info [ as-path-acl as-path-acl-number | network-address [ mask [ longer-match ] | mask-length [ longer-match ] ] | regular-expression as-regular-expression ] | peer ip-address { advertised-routes | received-routes } | regular-expression as-regular-expression | statistic ])

  • Display information about OSPF sham links
(display ospf [ process-id ] sham-link [ area area-id ])

  • Display information about a specified or all tunnel policies
(display tunnel-policy { all | policy-name tunnel-policy-name })

  • Clear the route flap dampening information of a VPN instance
(reset bgp vpn-instance vpn-instance-name dampening [ network-address [ mask | mask-length ])

  • Clear route flap history information about a BGP peer of a VPN instance
(reset bgp vpn-instance vpn-instance-name ip-address flap-info
reset bgp vpn-instance vpn-instance-name flap-info [ ip-address [ mask | mask-length ] | as-path-acl as-path-acl-number | regexp as-path-regexp ])

Note:

For commands to display information about a routing table, refer to IP Routing Table Commands in the IP Routing Volume.

No comments:

Post a Comment