Configuring Inbound Or Outbound Route Filtering - HP 6125G Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

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
1.
Enter system view.
2.
Enter RIP view.
3.
Enable RIP to advertise a
default route.
4.
Return to system view.
5.
Enter interface view.
6.
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.
To configure route filtering:
Step
1.
Enter system view.
2.
Enter RIP view.
3.
Configure the filtering of
incoming routes.
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 }
Command
system-view
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
filter-policy { acl-number |
gateway ip-prefix-name | ip-prefix
ip-prefix-name [ gateway
ip-prefix-name ] } import
[ interface-type interface-number ]
26
Remarks
N/A
N/A
Optional.
Not enabled by default.
N/A
N/A
Optional.
By default, a RIP interface can
advertise a default route if the RIP
process is configured with default
route advertisement.
Remarks
N/A
N/A
Not configured by default.
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents