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.

This command also shows other information about the BGP session. The first line<br />

shows the addresses and AS number of the peer border router and the address and<br />

AS number of the local router:<br />

Peer: 10.0.31.1+1778 AS 65505 Local: 10.0.31.2+179 AS 65500<br />

The number following the remote peer’s address is the TCP port number used for<br />

the connection. The second line shows the peer description that you configured with<br />

the set description command.<br />

The Options line shows the BGP options that the peers have agreed to use for the<br />

session:<br />

Options: <br />

The next lines of the output show the specific values of options and other information<br />

about the session:<br />

Holdtime: 90 Preference: 170<br />

Holdtime is the hold timer value, which is the maximum length of time that one peer<br />

will wait to get a BGP message from the other side (either an update or a keepalive<br />

message) before assuming that this session is down. RPD uses the Preference value<br />

to select among routes learned from different sources (see Table 8-2). These two output<br />

fields report the values configured with the hold-time and preference statements.<br />

Because we haven’t configured these values, both fields show the default<br />

values: 170 for the route preference and 90 seconds for the hold time (three times the<br />

default keepalive message interval of 30 seconds).<br />

A few lines down in the output, you see the keepalive interval. The Number of flaps<br />

field tells you whether the BGP session has gone down and come back up:<br />

Number of flaps: 0<br />

Because we just established the session, the value is 0. You can use this field to track<br />

whether the session has been interrupted. The Peer ID and Local ID fields show the<br />

router ID of each peer, which are configured with the set routing-options router-id<br />

command. The Active Holdtime field is the hold timer that has been negotiated<br />

between the BGP peers and is actually being used on the session.<br />

Peer ID: 192.168.14.1 Local ID: 192.168.16.1 Active Holdtime: 90<br />

The next several lines show the NLRI learned from the BGP update messages sent on<br />

this session. These two lines show the address family that is being advertised by the<br />

peer and used by the session, which can be either unicast (as shown here) or multicast:<br />

NLRI advertised by peer: inet-unicast<br />

NLRI for this session: inet-unicast<br />

The route refresh line shows that the peer supports the BGP route refresh capability,<br />

defined in RFC 2918, which allows BGP peers to readvertise their prefixes to the<br />

peer. Route refresh facilitates nondisruptive routing-policy changes.<br />

426 | Chapter 13: BGP<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!