Configuring BGP

Configuring Basic BGP Features

Verifying BGP Soft Reset

To verify whether a soft reset is successful and check information about the routing table and about BGP neighbors, perform the following steps:

Step 1 Enter the show ip bgp EXEC command to display entries in the BGP routing table. The following output shows that the peer supports the route refresh capability:

Router# show ip bgp

BGP table version is 5, local router ID is 10.0.33.34

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

 

Network

Next Hop

Metric LocPrf Weight

Path

*>

1.0.0.0

0.0.0.0

0

32768

?

 

*

2.0.0.0

10.0.33.35

10

0

35

?

*>

 

0.0.0.0

0

32768

?

 

*

10.0.0.0

10.0.33.35

10

0

35

?

*>

 

0.0.0.0

0

32768

?

 

*>

192.168.0.0/16

10.0.33.35

10

0

35

?

Step 2 Enter the show ip bgp neighbors EXEC command to display information about the BGP and TCP connections to neighbors:

Router# show ip bgp neighbors 171.69.232.178

BGP neighbor is 172.16.232.178, remote AS 35, external link

BGP version 4, remote router ID 192.168.3.3

BGP state = Established, up for 1w1d

Last read 00:00:53, hold time is 180, keepalive interval is 60 seconds

Neighbor capabilities:

Route refresh: advertised and received

Address family IPv4 Unicast: advertised and received

Address family IPv4 Multicast: advertised and received

Received 12519 messages, 0 notifications, 0 in queue

Sent 12523 messages, 0 notifications, 0 in queue

Route refresh request: received 0, sent 0

Minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast

BGP table version 5, neighbor version 5 Index 1, Offset 0, Mask 0x2

Community attribute sent to this neighbor Inbound path policy configured Outbound path policy configured

Route map for incoming advertisements is uni-in Route map for outgoing advertisements is uni-out 3 accepted prefixes consume 108 bytes

Prefix advertised 6, suppressed 0, withdrawn 0

For address family: IPv4 Multicast

BGP table version 5, neighbor version 5 Index 1, Offset 0, Mask 0x2

Inbound path policy configured Outbound path policy configured

Route map for incoming advertisements is mul-in Route map for outgoing advertisements is mul-out 3 accepted prefixes consume 108 bytes

Prefix advertised 6, suppressed 0, withdrawn 0

Connections established 2; dropped 1

Last reset 1w1d, due to Peer closed the session

Cisco IOS IP Configuration Guide

IPC-301

Page 347
Image 347
Cisco Systems 78-11741-02 manual Verifying BGP Soft Reset, IPC-301