R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
254
NOTE:
The router enabled to advertise a default route does not receive default routes from RIP neighbors.
Configuring inbound/outbound route filtering
The device supports route filtering. You can filter routes by configuring the inbound and outbound route
filtering policies by referencing an ACL or IP prefix list. You can also configure the router to receive only
routes from a specified neighbor.
Follow these steps to configure route filtering:
To do… Use the command…
Remarks
Enter system view system-view ––
Enter RIP view rip [ process-id ] [ vpn-instance vpn-instance-name ] ––
Configure the filtering of
incoming routes
filter-policy { acl-number | gateway ip-prefix-name |
ip-prefix ip-prefix-name [ gateway ip-prefix-name ] } import
[ interface-type interface-number ]
Required
Not configured by
default
Configure the filtering of
outgoing routes
filter-policy { acl-number | ip-prefix ip-prefix-name } export
[ protocol [ process-id ] | interface-type interface-number ]
Required
Not configured by
default
NOTE:
• Using the filter-policy import command filters incomin
g
routes. Routes not passin
g
the filterin
g
will be
neither installed into the routing table nor advertised to neighbors.
• Using the filter-policy export command filters outgoing routes, including routes redistributed with the
import-route command.
Configuring a priority for RIP
Multiple IGP protocols may run in a router. If you want RIP routes to have a higher priority than those
learned by other routing protocols, assign RIP a smaller priority value to influence optimal route selection.
Follow these steps to configure a priority for RIP:
To do… Use the command…
Remarks
Enter system view system-view ––
Enter RIP view
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
––
Configure a priority for RIP
preference [ route-policy route-policy-name ]
value
Optional
100 by default
Configuring RIP route redistribution
If a router runs RIP and other routing protocols, you can configure RIP to redistribute OSPF, BGP, static,
or direct routes.
Follow these steps to configure RIP route redistribution:
To do… Use the command…
Remarks
Enter system view system-view ––