32
Configuring received/redistributed route filtering
Perform this task to filter received and redistributed routes by using a filtering policy.
To configure route filtering:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIP view.
rip
[
process-id
] [
vpn-instance
vpn-instance-name
]
N/A
3.
Configure the filtering of
received routes.
filter-policy
{
ipv4
-
acl-number
|
gateway
prefix-list-name
|
prefix-list
prefix-list-name
[
gateway
prefix-list-name
] }
import
[
interface-type
interface-number
]
By default, the filtering of
received routes is not
configured.
This command filters received
routes. Filtered routes are not
installed into the routing table or
advertised to neighbors.
4.
Configure the filtering of
redistributed routes.
filter-policy
{
ipv4
-
acl-number
|
prefix-list
prefix-list-name
}
export
[
protocol
[
process-id
] |
interface-type
interface-number
]
By default, the filtering of
redistributed routes is not
configured.
This command filters
redistributed routes, including
routes redistributed with the
import-route
command.
Setting a preference for RIP
If multiple IGPs find routes to the same destination, the route found by the IGP that has the highest
priority is selected as the optimal route. Perform this task to assign a preference to RIP. The smaller
the preference value, the higher the priority.
To set a preference for RIP:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIP view.
rip
[
process-id
] [
vpn-instance
vpn-instance-name
]
N/A
3.
Set a preference for RIP.
preference
{
preference
|
route-policy
route-policy-name
}
*
The default setting is 100.
Configuring RIP route redistribution
Perform this task to configure RIP to redistribute routes from other routing protocols, including OSPF,
IS-IS, BGP, static, and direct.
To configure RIP route redistribution:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
Summary of Contents for HPE FlexNetwork 7500 series
Page 505: ...493 Connector N A ...