Configuring Rip To Filter The Received Routes - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
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.
----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:
l Run:
Issue 01 (2012-03-15)
NOTE
undo host-route command will not be effective in RIP version 2. By default, RIP version 2 always supports
host-route.
filter-policy { acl-number | acl-name acl-name } import
The learned routing information is filtered based on an ACL.
filter-policy gateway ip-prefix-name import
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 RIP Configuration
38

Advertisement

Table of Contents
loading

Table of Contents