Configuring inbound/outbound route filtering, Configuring a priority for rip, Configuring rip route redistribution – H3C Technologies H3C SecPath F1000-E User Manual
Page 382
357
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.
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
incoming routes.
filter-policy { acl-number | gateway
ip-prefix-name | ip-prefix
ip-prefix-name [ gateway
ip-prefix-name ] } import
[ interface-type interface-number ]
Not configured by default.
4.
Configure the filtering of
outgoing routes.
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ protocol
[ process-id ] | interface-type
interface-number ]
Not configured by default.
NOTE:
•
Using the filter-policy import command filters incoming routes. Routes not passing the filtering 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.
To configure a priority 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.
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.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer