![Huawei S6700 Series Скачать руководство пользователя страница 52](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517052.webp)
Pre-configuration Tasks
Before configuring the switch to control the advertising of RIP routing information, complete
the following tasks:
l
Configuring IP addresses for interfaces to ensure that neighboring nodes are reachable at
the network layer
l
Configuring Basic RIP Functions
Data Preparation
To control the advertising of RIP routing information, you need the following data.
No.
Data
1
Metric of the default route to be advertised
2
Number of the interface that is suppressed from sending RIP Update packets
3
Protocol name and process ID of the external route to be imported
2.5.2 Configuring RIP to Advertise Default Routes
A default route is a route destined for 0.0.0.0. By default, RIP does not advertise default routes
to its neighbors.
Context
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
Run:
default-route originate
[
cost
cost
| { {
match default
|
route-policy
route-policy-
name
} [
avoid-learning
] } ]
*
RIP is configured to generate a default route only if route permitted by the route policy is present
as active in the routing table.
----End
2.5.3 Disabling an Interface from Sending Update Packets
Disabling interfaces from sending Update packets is a method of preventing routing loops and
can be implemented in two ways.
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.
33