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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Filter by neighbor (EIGRP)

Hi All, I am wondering whether I can filter network advertisements received from EIGRP neighbor by peer or neighbor. I need to suppress all the advertised networks received by a specific peer. I cannot use static neighbor as I am on nx-os. Thanks!
2 ACCEPTED SOLUTIONS

Accepted Solutions

Helloexample - neighboring

Hello

example - neighboring eigrp peer is 11.11.11.2

 

distance command filtering
access-list 10 permit 0.0.0.0

router eigrp xx
distance 255 11.11.11.2 0.0.0.0 10

Distribute-list filtering
access-list 100 deny ip host 11.11.11.2 any
access-list 100 permit ip any any

router eigrp xx
distribute-list 100 in (interface)

 

res

Paul

Please don't forget to rate any posts that have been helpful. Thanks.

HelloWhen using distribute

Hello

When using distribute list in eigrp with acl  you match on the advertised peer and what you you want to filter.

 

in this case acl 100 will match on any prefix originating from eigrp peer11.11.11.2 and deny it inbound

 

res

Paul 

Please don't forget to rate any posts that have been helpful. Thanks.
6 REPLIES

Helloexample - neighboring

Hello

example - neighboring eigrp peer is 11.11.11.2

 

distance command filtering
access-list 10 permit 0.0.0.0

router eigrp xx
distance 255 11.11.11.2 0.0.0.0 10

Distribute-list filtering
access-list 100 deny ip host 11.11.11.2 any
access-list 100 permit ip any any

router eigrp xx
distribute-list 100 in (interface)

 

res

Paul

Please don't forget to rate any posts that have been helpful. Thanks.
New Member

Thanks Paul,Does "access-list

Thanks Paul,

Does "access-list 100 deny ip host 11.11.11.2 any" deny only network 11.11.11.2/32 or denies the whole peer that could be advertising way more networks? So I can use /32 access-lists not only to deny/permit networks from receiving/advertising but also deny all networks advertised/received from/to specific neighbouring peer?

HelloWhen using distribute

Hello

When using distribute list in eigrp with acl  you match on the advertised peer and what you you want to filter.

 

in this case acl 100 will match on any prefix originating from eigrp peer11.11.11.2 and deny it inbound

 

res

Paul 

Please don't forget to rate any posts that have been helpful. Thanks.
New Member

Thanks Paul - now I gave to

Thanks Paul - now I gave to do the same thing on Nexus OS.

There is no distribute list by ACL, so wondering how I can do the same thing but on NX-OS?

 

 

Cisco Employee

Hello Ruterford , On nexus we

Hello Ruterford ,

 

On nexus we can apply distribute list on an interface using either prefix-list or route map . 

 

Hope this helps .

 

Regards

Sunil Bhadauria

!Kindly rate the post if helpful !

New Member

Thanks Sunil,Can you please

Thanks Sunil,

Can you please give me an example ?

As I need to filter by neighbour and not by prefix.

 

Thx.

385
Views
0
Helpful
6
Replies
CreatePlease to create content