
Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 RIP Configuration
2-11
To do…
Use the command…
Remarks
Enable RIP to advertise
a default route
default-route originate cost
value
Required
Not enabled by default
Note:
The router enabled to advertise a default route does not receive default routes from RIP
neighbors.
2.3.5 Configuring Inbound/Outbound Route Filtering
The device supports route filtering. You can filter routes by configuring the inbound and
outbound route filtering policies via 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
––
Enter RIP view
rip
[
process-id
] [
vpn-instance
vpn-instance-name
]
––
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
]
Required
Not configured by
default
Configure the filtering
of outgoing routes
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
protocol
[
process-id
] |
interface-type interface-number
]
Required
Not configured by
default
Note:
z
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.
z
Using the
filter-policy export
command filters outgoing routes, including routes
redistributed with the
import-route
command.