![Huawei S6700 Series Configuration Manual Download Page 57](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517057.webp)
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
rip
[
process-id
]
The RIP process is enabled and the RIP view is displayed.
Step 3
Run:
undo host-route
RIP is disabled from adding host routes to the routing table.
NOTE
undo host-route
command will not be effective in RIP version 2. By default, RIP version 2 always supports
host-route.
----End
2.6.4 Configuring RIP to Filter the Received Routes
By specifying ACLs and IP prefix lists, you can configure the inbound policy to filter the routes
to be received. You can also configure a router to receive only RIP packets from a specified
neighbor.
Context
The switch can filter routing information. To filter the imported and advertised routes, you can
configure inbound and outbound routing policies by specifying ACLs and IP prefix lists.
You can also configure the switch to receive RIP packets only from a specified neighbor.
Do as follows on the RIP switch:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
rip
[
process-id
]
The RIP process is enabled and the RIP view is displayed.
Step 3
Depending on type of desired filtering, run one of following commands to configure RIP to filter
the received routes:
l
Run:
filter-policy
{
acl-number
|
acl-name
acl-name
}
import
The learned routing information is filtered based on an ACL.
l
Run:
filter-policy
gateway
ip-prefix-name
import
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
2 RIP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
38