beautypg.com

Configuring inbound/outbound route filtering – H3C Technologies H3C S7500E Series Switches User Manual

Page 46

background image

3-11

z

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 latter takes precedence over the former on the interface.

z

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…

Use the command…

Remarks

Enter system view

system-view

––

Enter RIP view

rip [ process-id ] [ vpn-instance

vpn-instance-name ]

––

Enable RIP to advertise a default

route

default-route { only | originate }

[ cost cost ]

Optional

Not enabled by default

Return to system view

quit

––

Enter interface view

interface interface-type

interface-number

––

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.

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.

Follow these steps to configure route filtering:

To do…

Use the command…

Remarks

Enter system view

system-view

––