Got it

Route filtering error

Created: Nov 23, 2020 13:21:08Latest reply: Nov 23, 2020 13:21:28 331 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all,

As shown in the following figure, I want to router A does not learn the route the 192.168.10.21/32 advertised by router B. So I have configured the following filter-policy.

OSPF route filter

#  

ip ip-prefix prefix1 index 10 permit 192.168.10.21 32

#                                                                              

route-policy test deny node 10                                                 

 if-match interface Ethernet0/0/0                                              

 if-match ip-prefix prefix1                                                    

#

ospf 1                                                                         

 filter-policy route-policy test import

#

However, after configured the filter-policy, all the OSPF routes are filtered.

What’s the problem with the configuration?

Thanks in advance.


Featured Answers

Recommended answer

Popeye_Wang
Admin Created Nov 23, 2020 13:21:28

Hi,

By default, all routes that do not match the route-policy are filtered. Therefore, you should add a new node to the route-policy to permit other OSPF routers.

  route-policy test permit node 20   


View more
  • x
  • convention:

All Answers

Hi,

By default, all routes that do not match the route-policy are filtered. Therefore, you should add a new node to the route-policy to permit other OSPF routers.

  route-policy test permit node 20   


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.