cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
433
Views
0
Helpful
4
Replies

I am trying to figure out how access-list work from a bgb environment using

ccoletti
Level 1
Level 1

Hi

I am trying to figure out how access-list work from a bgb environment using cisco 2821 flash:c2800nm-advipservicesk9-mz.124-7a.bin

Is it ingress or egress from the Ethernet or serial interface that access-list 6 is applied?

router bgp 200

no synchronization

bgp log-neighbor-changes

network 10.9.2.61 mask 255.255.255.255

network 142.65.244.0 mask 255.255.255.0

neighbor 10.20.0.160 remote-as 400

no auto-summary

Access-list 6 remark Test system deny

Access-list 6 deny 142.65.129.161

Access-list 6 permits any

Thx you

Rq

Charles

4 Replies 4

royalblues
Level 10
Level 10

Charles,

With the config you provided, the access-list doesn't seem to be influencing the BGP at all.

Narayan

ccoletti
Level 1
Level 1

Narayan,

That alarming, would you know where there is a link that can explain

Access-list and how they are applied to a bgp system. Thank you for the quick

Response.

Charlie

Harold Ritter
Cisco Employee
Cisco Employee

Charles,

As Narayan indicated, the access-list is currently apply to you BGP config.

What is it you are trying to achieve. Are you trying to filter traffic, in which case you would apply the access-list inbound or outbound on a given interface or are you trying to filter routing updates, in which case the access-list would be applied either via the "neighbor distribute-list" or "route-map" command.

Hope this helps,

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

Hello ,

i understand.

thank you for the quick responce.

charlie

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco