Troubleshoot existing routes and configurations using the BGP and routing daemons. Use the BGP daemon to display the current configuration, BGP summary, and BGP neighbors. Use the routing daemon to display all received routes that are mapped by both the provider edge (PE) router and customer edge (CE) router.
Troubleshooting Using the BGP Daemon
At the command prompt (#), enter the following command:
config_routing --bgp --enable
The BGP daemon is now enabled.
- At the command prompt (#), complete the following steps:
Enter the following command:
config_routing --bgp --connect
You are prompted for the BGP password.
Enter the default password:
bgp
The BGPconsole (BGP>) is displayed.
At the BGP console (BGP>), enter the following command:
enable
The BGP daemon is now in privileged mode. The BGP privileged mode console (BGP#) is displayed.
To display BGP configuration from the BGP privileged mode console (BGP#), enter the following command:
show running-config
The BGP configuration is displayed.
- To monitor and debug the BGP daemon, complete the following steps:
From the BGP privileged mode console (BGP#), enter the following command:
terminal monitor
Monitoring the BGP daemon is enabled.
At the BGP privileged mode console (BGP#), enter the following command:
config terminal
The BGP daemon is now in BGP terminal configuration mode. The BGP terminal configuration mode console (BGP(config)#) is displayed.
At the BGP terminal configuration mode console (BGP(config)#), enter the following command:
log monitor
BGP daemon debugging is enabled.
Exit the BGP terminal configuration mode by entering the following command:
exit
The BGP privileged mode console (BGP#) is displayed.
To display the BGP summary from the BGP terminal configuration mode (BGP#), enter the following command:
show ip bgp summary
The BGP summary is displayed.
To display BGP neighbors from the BGP terminal configuration mode (BGP#), enter the following command:
show ip bgp neighbors
Troubleshooting Using the Routing Daemon
At the command prompt (#), enter the following command:
config_routing --bgp --enable
The BGP daemon is now enabled.
- At the command prompt (#), complete the following steps:
Enter the following command:
config_routing --connect
You are prompted for the Routing password.
- Enter the default password:
routing
The routing console (Routing>) is displayed.
At the routing console (Routing>), enter the following command:
show ip route
All received routes are displayed.