cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
651
Views
10
Helpful
4
Replies

BGP and Route Map

IeSa50839
Level 1
Level 1

Hi Community 

Is there any command to check which route-map has been used to advertise routes to an iBGP or eBGP neighbor? 

 

Thanks in advance. 

 

 

1 Accepted Solution

Accepted Solutions

Hello,

 

in addition to Giuseppe's remarks (and I am not really sure what you are after), but you could also filter the output of 'sh run'.

 

In this example, the output of:

 

R1#sh run | include remote-as 2|route-map

 

would be:

 

neighbor 192.168.1.2 remote-as 2
neighbor 192.168.1.2 route-map RM out
route-map RM permit 10

View solution in original post

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @IeSa50839 ,

show ip bgp neighbors

 

it should provide also what route filters are applied to each neighbor if any.

 

Alternatively you can examine the configuration.

 

Hope to help

Giuseppe

 

 

Hello,

 

in addition to Giuseppe's remarks (and I am not really sure what you are after), but you could also filter the output of 'sh run'.

 

In this example, the output of:

 

R1#sh run | include remote-as 2|route-map

 

would be:

 

neighbor 192.168.1.2 remote-as 2
neighbor 192.168.1.2 route-map RM out
route-map RM permit 10

Thank you Georg

Review Cisco Networking products for a $25 gift card