F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

181
Ste
p
Command
Remarks
3. Configure the filtering of
inbound routes.
filter-policy { acl-number |
gateway ip-prefix-name | ip-prefix
ip-prefix-name [ gateway
ip-prefix-name ] } import
[ interface-type interface-number ]
By default, the filtering of inbound
routes is not configured.
The filter-policy import command
filters inbound routes. Filtered
routes are not installed into the
routing table or advertised to
neighbors.
4. Configure the filtering of
outbound routes.
filter-policy { acl-number |
ip-prefix ip-prefix-name } export
[ protocol [ process-id ] |
interface-type interface-number ]
By default, the filtering of outbound
routes is not configured.
The filter-policy export command
filters outbound routes, including
routes redistributed with the
import-route command.
Configuring 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 configure a preference for RIP. The smaller the
preference value, the higher the priority.
To configure a preference for RIP:
Ste
p
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 a preference for
RIP.
preference [ route-policy
route-policy-name ] value
Optional.
The default setting is 100.
Configuring RIP route redistribution
Perform this task to configure RIP to redistribute routes from other routing protocols, including OSPF, BGP,
static, and direct routes. Only active routes can be redistributed. To display active routes, use the display
ip routing-table protocol command.
To configure RIP route redistribution:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter RIP view.
rip [ process-id ] N/A
3. Configure a default metric for
redistributed routes.
default cost value
Optional.
The default setting is 0.
4. Redistribute routes from other
routing protocols.
import-route protocol [ process-id
| all-processes | allow-ibgp ] [ cost
cost | route-policy
route-policy-name | tag tag ] *
By default, route redistribution is
disabled.