cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
267
Views
10
Helpful
1
Replies

R1(config)#router bgp 1 R1(config-router)#neighbor 192.168.12.2 send-c

krahulbgp
Level 1
Level 1

here ,this config was done for bgp community . Can i use distribut-list method instead of route-map command

\R1(config)#router bgp 1
R1(config-router)#neighbor 192.168.12.2 send-community
R1(config)#route-map NO_ADVERTISE permit 10 /neighbor 192.168.12.2 route-map no advertise out
R1(config-route-map)#set community no-advertise

Like this:--

R1(config)#router bgp 1
R1(config-router)#neighbor 192.168.12.2 send-community
R1(config)#neighbor 192.168.12.2 distribute-list "no advertise" out
R1(config-route-map)#set community no-advertise

1 Accepted Solution

Accepted Solutions

Hello

You can use either but there is a inbound/outbound order of evaluation which is:

Inbound:               Outbound
route-map           distribute-list  
filter-list               prefix-list
prefix-list             filter-list 
distribute-list       route-map






Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

1 Reply 1

Hello

You can use either but there is a inbound/outbound order of evaluation which is:

Inbound:               Outbound
route-map           distribute-list  
filter-list               prefix-list
prefix-list             filter-list 
distribute-list       route-map






Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card