Disabling host route reception, Advertising a default route – H3C Technologies H3C SecPath F1000-E User Manual
Page 381
356
NOTE:
You need to disable RIPv2 route automatic summarization before advertising a summary route on an
interface.
Disabling host route reception
Sometimes a router may receive from the same network many host routes, which are not helpful for
routing and consume a large amount of network resources. You can disable RIP from receiving host
routes to save network resources.
To disable RIP from receiving host routes:
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.
Disable RIP from receiving host
routes.
undo host-route
Enabled by default.
NOTE:
RIPv2 can be disabled from receiving host routes, but RIPv1 cannot.
Advertising a default route
You can configure RIP to advertise a default route with a specified metric to RIP neighbors.
•
In RIP view, you can configure all the interfaces of the RIP process to advertise a default route; in
interface view, you can configure a RIP interface of the RIP process to advertise a default route. The
interface view takes precedence over on the interface.
•
If a RIP process is enabled to advertise a default route, to disable an interface of the RIP process
from default route advertisement, you can use the rip default-route no-originate command on the
interface.
To configure RIP to advertise a default route:
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.
Enable RIP to advertise a default
route.
default-route { only | originate }
[ cost cost ]
Optional.
Not enabled by default.
4.
Return to system view.
quit
N/A
5.
Enter interface view.
interface interface-type
interface-number
N/A
6.
Configure the RIP interface to
advertise a default route.
rip default-route { { only | originate }
[ cost cost ] | no-originate }
Optional.
By default, a RIP interface can
advertise a default route if the
RIP process is configured with
default route advertisement.
- 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