The routing information advertised by neighbors is filtered based on the IP prefix list.
l Run:
filter-policy ip-prefix ip-prefix-name [ gateway ip-prefix-name ] import
[ interface-type interface-number ]
The routes learned by the specified interface are filtered based on the IP prefix list and
neighbors.
NOTE
To filter routes to be advertised, run the filter-policy { acl-number | acl-name acl-name | ip-prefix ip-
prefix-name } export [ protocol [ process-id ] | interface-type interface-number ] command.
----End
2.6.5 Checking the Configuration
After the receiving of RIP routing information is successfully controlled, you can view the
current running status, configuration, and routing information about RIP.
Procedure
l Run the display rip [ process-id | vpn-instance vpn-instance-name ] command to check
the running status and configuration of RIP.
l Run the display rip process-id database [ verbose ] command to check all activated RIP
routes in the database.
l Run the display rip process-id interface [ interface-type interface-number ] [ verbose ]
command to check information about the RIP interface.
l Run the display rip process-id neighbor [ verbose ] command to check information about
RIP neighbors.
l Run the display rip process-id route command to check all the RIP routes that are learned
from other switchs.
----End
2.7 Configuring RIP-2 Features
Different from RIP-1, RIP-2 supports VLSM, CIDR, and authentication to ensure higher
security.
2.7.1 Establishing the Configuration Task
Before configuring RIP-2 features, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the data required for the configuration. This
will help you complete the configuration task quickly and accurately.
Applicable Environment
RIP-2 is a type of classless routing protocol. A RIP-2 packet carries subnet mask information.
Deploying a RIP-2 network saves IP addresses. For a network on which the IP addresses of
devices are not consecutive, only RIP-2 can be deployed, whereas RIP-1 cannot be deployed.
RIP-2 features include:
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.
39