28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Next is information about routes learned from BGP in the inet.0 routing table:<br />

Table inet.0 Bit: 10000<br />

RIB State: BGP restart is complete<br />

Send state: in sync<br />

Active prefixes: 0<br />

Received prefixes: 0<br />

Suppressed due to damping: 0<br />

Advertised prefixes: 0<br />

The last few lines show traffic statistics for the session:<br />

Last traffic (seconds): Received 19 Sent 19 Checked 19<br />

Input messages: Total 12 Updates 0 Refreshes 0 Octets 254<br />

Output messages: Total 13 Updates 0 Refreshes 0 Octets 273<br />

Output Queue[0]: 0<br />

The show bgp summary command also shows information about the BGP connection<br />

that you can use to determine whether the session has been established:<br />

aviva@RouterF> show bgp summary<br />

Groups: 1 Peers: 1 Down peers: 0<br />

Table Tot Paths Act Paths Suppressed History Damp State Pending<br />

inet.0 0 0 0 0 0 0<br />

Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#A<br />

ctive/Received/Damped...<br />

10.0.31.1 65505 29 30 0 0 13:56 0/0/0<br />

0/0/0<br />

The first line shows the number of groups configured (here, 1) and the number of<br />

peers that are up (1) and down (0). Because our router currently has just one peer,<br />

this line tells us that the peer is up. The Table portion of the output provides a summary<br />

of the BGP route information in each routing table. This output shows that the<br />

inet.0 routing table doesn’t yet have any BGP routes.<br />

The Peer portion of the output shows the address of the BGP peer (10.0.31.1), its AS<br />

number (65505), and traffic statistics for the session. The State column shows three<br />

values separated by slashes that correspond to the states Active/Received/Damped. If<br />

the session with the neighbor is actively establishing itself but is not yet up, the State<br />

column shows Active. If the state is Connect or Idle and has remained that way for<br />

more than several minutes (the Last Up/Dwn field tells how long the neighbor has been<br />

in the particular state), this is a sign that the connection is not establishing. Use the<br />

show interfaces terse command to check that the physical connection to the peer is<br />

physically up and the show chassis hardware command to make sure that the network<br />

interface card is still installed and present in your router. If you determine that<br />

the Layer 1 and Layer 2 portions of the connection are functioning, move up the protocol<br />

stack. Try pinging the remote IP address to help identify if any filters are in<br />

place that might block the connection. You can also try ICMP tests and a Telnet test<br />

from the local IP address to port 179 on the remote IP address to determine whether<br />

you can establish a socket between the two IP addresses.<br />

Configuring a BGP Session Between Routers in Two ASs | 427<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!