View - ADTRAN Support Community
View - ADTRAN Support Community
View - ADTRAN Support Community
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Troubleshooting<br />
Debug Commands<br />
Debug IP BGP<br />
Use the debug ip bgp command to activate debug messages associated with BGP. Debug messages are<br />
displayed in real time. Use the no form of this command to disable the debug messages.<br />
Turning on a large amount of debug information can adversely affect the performance of<br />
your unit.<br />
#debug ip bgp [events | in | out | keepalives | updates | updates quiet]<br />
events Optional. Displays significant BGP events, such as a neighbor state change.<br />
in/out Optional. Displays the same information as the debug ip bgp command, but limits messages to the<br />
specified direction (in or out).<br />
keepalives Optional. Displays BGP keepalive packets.<br />
updates Optional. Displays detailed information on BGP updates for all neighbors.<br />
updates quiet Optional. Displays summary information about BGP neighbor updates. (Note: updates<br />
quiet displays a one-line summary of the output that is displayed when debug ip bgp updates is issued.)<br />
If no arguments are given, the debug ip bgp command displays general BGP events, such<br />
as sent/received message summaries, route processing actions, and results. Keepalive<br />
packets are not debugged with this command.<br />
The following example enables debug messages on general outbound BGP messages and events:<br />
#debug ip bgp out<br />
#07:42:39: BGP OUT 10.15.240.1[2]: Transmitting msg, type=UPDATE (2), len=142<br />
Clear Commands<br />
Clear IP BGP<br />
BGP sessions must be cleared for BGP policy changes, such as alterations to prefix list filters or actions<br />
taken by a route map, to take effect. Use the clear ip bgp command to clear BGP neighbors as specified:<br />
#clear ip bgp [* | | ] [in | out | soft]<br />
* Clears all BGP neighbors.<br />
Clears all BGP neighbors with the specified AS number. Range is 1 to 4294967295.<br />
Clears the BGP neighbor with the specified IPv4 address. IPv4 addresses should be<br />
expressed in dotted decimal notation (for example, 10.10.10.1).<br />
in Causes a soft reset inbound with a neighbor, reprocessing routes advertised by that neighbor.<br />
out Causes a soft reset outbound with a neighbor, resending advertised routes to that neighbor.<br />
soft Causes a soft reset both inbound and outbound.<br />
74 Copyright © 2012 <strong>ADTRAN</strong>, Inc. 61200860L1-29.4E