ON THIS PAGE
Debugging BGP Peering and Route Exchange in Contrail
Use the troubleshooting steps and guidelines in this topic when you have errors with Contrail BGP peering and route exchange.
Example Cluster
Examples in this document refer to a virtual cluster that is set up as follows:
Config Nodes : [‘nodea22’, ‘nodea20’] Control Nodes : [‘nodea22’, ‘nodea20’] Compute Nodes : [‘nodea22’, ‘nodea20’] Collector : [‘nodea22’] WebU : nodea22 Openstack : nodea22
Verifying the BGP Routers
Use this procedure to launch various introspects to verify the setup of the BGP routers in your system.
Use this procedure to launch various introspects to verify the setup of the BGP routers in your system.
Verifying the Route Exchange
The following two virtual networks are used in the sample debugging session for route exchange.
vn1 -> 1.1.1.0/24 vn2 -> 2.2.2.0/24
Example Procedure for Verifying Route Exchange
Debugging Route Exchange with Policies
This section uses the sample output and the sample vn1 and vn2 to demonstrate methods of debugging route exchange with policies.
Debugging Peering with an MX Series Router
This section sets up an example BGP MX Series peer and provides some troubleshooting scenarios.
Debugging a BGP Peer Down Error with Incorrect Family
Use this procedure to identify and resolve errors that arise from families mismatched configurations.
This example uses locations at http: //<host
ip address>:
. Be sure to replace <host
ip address>
with the correct address for your environment.
Configuring MX Peering (iBGP)
Checking Route Exchange with an MX Series Peer
Checking the Route in the MX Series Router
Use Junos CLI show commands from the router to check the route. These commands assume that the routing instance with the imported route table from Contrail is configured on the MX Series router, either manually or by using Device Manager.
run show route table public.inet.0 public.inet.0: 5 destinations, 6 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[Static/5] 15w6d 08:50:34 > to <ip address> via ge-1/0/1.0 <ip address> *[Direct/0] 15w6d 08:50:35 > via ge-1/0/1.0 <ip address> *[Local/0] 15w6d 08:50:51 Local via ge-1/0/1.0 <ip address> *[BGP/170] 01:13:34, localpref 100, from <ip address> AS path: ?, validation-state: unverified > via gr-1/0/0.32771, Push 16 [BGP/170] 01:13:34, localpref 100, from <ip address> AS path: ?, validation-state: unverified > via gr-1/0/0.32771, Push 16 <ip address> *[BGP/170] 00:03:20, localpref 100, from <ip address> AS path: ?, validation-state: unverified > via gr-1/0/0.32769, Push 16 run show route table bgp.l3vpn.0 receive-protocol bgp <ip address> detail bgp.l3vpn.0: 92 destinations, 130 routes (92 active, 0 holddown, 0 hidden) * <ip address> (1 entry, 0 announced) Import Accepted Route Distinguisher: <ip address> VPN Label: 16 Nexthop: <ip address> Localpref: 100 AS path: ? Communities: target:64512:1 target:64512:10003 unknown iana 30c unknown iana 30c unknown type 8004 value fc00:1 unknown type 8071 value fc00:4