< Home

Configuring RIP to Filter the Received Routes

By specifying ACLs and IP prefix lists, you can configure the inbound policy to filter the routes to be received. You can also configure a router to receive only RIP packets from a specified neighbor.

Context

The FW can filter routing information. To filter the imported and advertised routes, you can configure inbound and outbound routing policies by specifying ACLs and IP prefix lists.

You can also configure the FW to receive RIP packets only from a specified neighbor.

Procedure

  1. Access the system view.

    system-view

  2. Configure a RIP process and access the RIP process view.

    rip [ process-id ]

  3. Depending on type of desired filtering, run one of following commands to configure RIP to filter the received routes:

    • Based on the basic ACL:

      Run filter-policy acl-number import [ interface-type interface-number ], the learned routing information is filtered based on an ACL.

    • Based on the IP prefix:
      • Run filter-policy gateway ip-prefix-name import, the routing information advertised by neighbors is filtered based on the IP prefix list.

      • Run filter-policy ip-prefix ip-prefix-name [ gateway ip-prefix-name ] import [ interface-type interface-number ], the routes learned by the specified interface are filtered based on the IP prefix list and neighbors.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic