Example 815 debug ip tcp transactions Command
Alki#debug ip tcp transactions
TCP special event debugging is on Alki#clear ip bgp *
01:53:24: %BGP-5-ADJCHANGE: neighbor 192.168.32.2 Down User reset Comment: BGP session reset at user request
01:53:24: TCP0: state was ESTAB -> FINWAIT1 [179 -> 192.168.32.2(11005)] Comment: TCP session transitioned from ESTAB to FINWAIT1 01:53:24: TCP0: sending FIN
01:53:24: TCP0: state was FINWAIT1 -> FINWAIT2 [179 -> 192.168.32.2(11005)] 01:53:26: TCP0: FIN processed
01:53:26: TCP0: state was FINWAIT2 -> TIMEWAIT [179 -> 192.168.32.2(11005)] Comment: TCP session was gracefully torn down and the router is waiting to close the session between the two hosts on ports 179 and 110005 01:54:03: TCB8252932C created
01:54:03: TCP0: state was LISTEN -> SYNRCVD [179 -> 192.168.32.2(11006)] Comment: BGP was listening for TCP connection request and received it on port t 11006
01:54:03: TCP0: Connection to 192.168.32.2:11006, received MSS 1460, MSS is 516 01:54:03: TCP: sending SYN, seq 1620953691, ack 2271616142 01:54:03: TCP0: Connection to 192.168.32.2:11006, advertising MSS 1460 01:54:03: TCP0: state was SYNRCVD -> ESTAB [179 -> 192.168.32.2(11006)] Comment: The TCP session between the two routers on port 179 and 11006 was successfully established
01:54:03: TCB820E59F0 callback, connection queue = 1
01:54:03: TCB820E59F0 accepting 8252932C from 192.168.32.2.11006
01:54:03: %BGP-5-ADJCHANGE: neighbor 192.168.32.2 Up
Comment: BGP session is ESTABLISHED
01:54:26: TCP0: state was TIMEWAIT -> CLOSED [179 -> 192.168.32.2(11005)] 01:54:26: TCB 0x82528E90 destroyed
Comment: The old TCP session between ports 179 and 11005 was closed the TCB marker for the session was destroyed
After verifying that the TCP session between the routers is functioning properly, you can verify or troubleshoot the BGP session using the commands listed in Table 8-5.
|
Command |
Description |
|
show ip bgp [ip-addreas | prefix] |
Dis p°ays ehC BGP table, a s fmmary, the tab le ven ion, and the attributes as with the paths listed in the table. The IP address or prefix can optionally be limit the information returned from the command. |
|
show ip bgp neighbors [ip-address] |
Thns comm and displays d^tailed information about each of11 he neighbors th< local router is configured to peer with, including the neighbor's BGP version router ID, finite-state machine (FSM) state, the number of messages receiv d eat i3ilad TCP conne ctiun informat ion. Thp IP add rebs or prefix ca n optiouall y be used to limit the information retu the command. |
|
This comma nd di spiays a ou mmarized v easion oo the informat io n aboct each BGP neighborst rncl udis g the neighbor' s BGP go^e r ID, table xeosi (tin, inform about paths received Csooi the neighbor, and the 0ts^butes assigned to thos the nu mCer o0 mesaag es that have been sent and have been reoeived, the F and the amount of time that the ne ighbor Iras b een in th e Es tablished state. |
|
|
address ] |
The debug ip bgp comm and disploys real-time informhtion aboet all BGP p< relationshi ps, showmg FSM states, mcssages sent and received, capa bility negotia dion, and routes oeaeived. |
|
debug i p bgp events; |
Thi s command displays re wl-time on BGP ^ventSh mcluding BGP t he local table fo o routes to be adverse d, aimers, and messages sent and r |
|
debug ip bgp [ ip-addrfss] updates [aoofss-list ] [in | out] |
Thedebug ip bgp updates command displays real-time information about that have been received in UPDATE messages from peering BGP neighbors. information includes paths received, installation of paths in the main IP rout and updates sent out to neighboring routers. ThelP-aBBress parameter enables you to specify updates from a specific nei Theaccess-iist command enables you to limit the output from the comman certain updates. Thein and out parameters enable you to specify incoming or outgoing upda |
|
debug ip bgp in [ip-addrfss] |
This command displays real-time information about incoming messages sen BGP session and paths that the local router has received from its neighbors. |
|
debug ip bgp out [ip-addrfss] |
This command displays real-time information about outgoing messages sen BGP session and paths that the local router sends to its neighbors. |
|
debug ip bgp keepaNves |
This command displays real-time information on KEEPALIVE messages sent received by the local BGP speaker. |
|
debug ip routing |
This command enables you to help diagnose problems when BGP routes are being added to the main IP routing table. |
Continue reading here: Example 818 Displaying BGP Route Advertisements with the show ip be neighbors Command
Was this article helpful?