Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP neighbor received routes

What is the difference between "sh ip bgp neighbor <> routes" and "sh ip bgp neighbor <> received-routes"?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

BGP neighbor received routes

Hi Kashish,

Here's the definition from the documentation:

routes:

Displays all routes that are received and  accepted. The output  displayed when this keyword is entered is a subset  of the output  displayed by the received-routes keyword.

received-routes:

Displays all received routes (both accepted and rejected) from the specified neighbor.

The "routes" keyword shows the routes coming from agiven neighbor after the inbound policy has been applied. The "received-routes" shows the routes coming from a given neighbor before the inbound policy has been implied. The latter needs "soft-reconfiguration inbound" to be configured.

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Cisco Employee

BGP neighbor received routes

Hi Kashish,

The function of the "soft-reconfiguration inbound" command is to keep all prefixes in local memory even if they have been rejected by the inbound policy. Without this command, prefixes rejected by the inbound policy are not kept in memory and therefore "show ip bgp neighbor received-routes" is unable to show these rejected prefixes.

If you enter the "show ip bgp neighbor received-routes" command without "soft-reconfiguration inbound" being configured for the specific neighbor, IOS will issue the following message:

Test#sh ip bgp neighbors 192.168.12.2 received-routes

% Inbound soft reconfiguration not enabled on 192.168.12.2

Test#

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
4 REPLIES
Cisco Employee

BGP neighbor received routes

Hi Kashish,

Here's the definition from the documentation:

routes:

Displays all routes that are received and  accepted. The output  displayed when this keyword is entered is a subset  of the output  displayed by the received-routes keyword.

received-routes:

Displays all received routes (both accepted and rejected) from the specified neighbor.

The "routes" keyword shows the routes coming from agiven neighbor after the inbound policy has been applied. The "received-routes" shows the routes coming from a given neighbor before the inbound policy has been implied. The latter needs "soft-reconfiguration inbound" to be configured.

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

BGP neighbor received routes

Thnx Harold.

This part is not clear to me:

>> The latter needs "soft-reconfiguration inbound" to be configured.

Could you explain this?

Cisco Employee

BGP neighbor received routes

Hi Kashish,

The function of the "soft-reconfiguration inbound" command is to keep all prefixes in local memory even if they have been rejected by the inbound policy. Without this command, prefixes rejected by the inbound policy are not kept in memory and therefore "show ip bgp neighbor received-routes" is unable to show these rejected prefixes.

If you enter the "show ip bgp neighbor received-routes" command without "soft-reconfiguration inbound" being configured for the specific neighbor, IOS will issue the following message:

Test#sh ip bgp neighbors 192.168.12.2 received-routes

% Inbound soft reconfiguration not enabled on 192.168.12.2

Test#

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

BGP neighbor received routes

Thanks so much!

2738
Views
10
Helpful
4
Replies
CreatePlease login to create content