Junos OS

 View Only


This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.

OSPF router filter based on Advertise router

This thread has been viewed 1 times
  • 1.  OSPF router filter based on Advertise router

    Posted 12-01-2021 05:45
    I am testing some complex scenarios and I need to filter OSPF advertised route (Not LSA obviously )based on Route-Source IP address. In IOS there is a command for filtering based route source. The configuration example can be something like this:
    ip access-list standard OSPF-ROUTE-SOURCE
    route-map OSPF1-FILTER deny 10
    match ip route-source OSPF-ROUTE-SOURCE
    route-map OSPF1-FILTER permit 1000
    router ospf 1
    redistribute connected subnets route-map Connected->OSPF1
    redistribute ospf 2 subnets route-map OSPF2->OSPF1
    network area 0
    network area 0
    network area 0
    default-information originate metric-type 1
    distribute-list route-map OSPF1-FILTER in
                   mpls ldp autoconfig

    I wonder is there any configuration method in JunOS for this purpose or not?
    For the record, I am using Junos: 18.1R1.9 on vMX
    Thank you for your help and support

    Ali Soltan