Advertising A Default Route; Configuring Inbound Or Outbound Route Filtering - H3C S5500-EI Configuration Manual

Switch series layer 3 - ip routing
Hide thumbs Also See for S5500-EI:
Table of Contents

Advertisement

To do...
Disable RIP from receiving host
routes
NOTE:
RIPv2 can be disabled from receiving host routes, but RIPv1 cannot.

Advertising a default route

Under the following conditions, 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.
Follow these steps to configure RIP to advertise a default route:
To do...
Enter system view
Enter RIP view
Enable RIP to advertise a default
route
Return to system view
Enter interface view
Configure the RIP interface to
advertise a default route
NOTE:
The router enabled to advertise a default route does not receive default routes from RIP neighbors.

Configuring inbound or 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:
Use the command...
undo host-route
Use the command...
system-view
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
default-route { only | originate }
[ cost cost ]
quit
interface interface-type
interface-number
rip default-route { { only |
originate } [ cost cost ] |
no-originate }
30
Remarks
Required
Enabled by default
Remarks
––
––
Optional
Not enabled by default
––
––
Optional
By default, a RIP interface can
advertise a default route if the RIP
process is configured with default
route advertisement.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5500-si

Table of Contents