Configuring Rip To Import External 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

2.5.4 Configuring RIP to Import External Routes

To enrich its routing information, RIP can import the routes learned by other processes or other
routing protocols.
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 (Optional) Run:
default-cost cost
The default cost of imported routes is set.
If no cost is specified when external routes are imported, the default cost is used.
Step 4 Run:
import-route bgp [ permit-ibgp ] [ cost { cost | transparent } | route-policy route-
policy-name ]
isis } [ process-id ] } } [ cost cost | route-policy route-policy-name ]
Step 5 (Optional) Run:
filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name } export
[ protocol [ process-id ] | interface-type interface-number ]
The imported routes are filtered when being advertised.
If the routing information to be advertised by RIP contains the routes imported from other routing
protocols, you can specify protocol to filter the specified routes. If protocol is not specified, all
the routing information to be advertised will be filtered, including the imported routes and local
RIP routes (directly connected routes).
----End
Issue 01 (2012-03-15)
*
or import-route { { static | direct | unr } | { { rip | ospf |
NOTE
NOTE
Import of IBGP routes in RIP process can lead to routing loops. Administrator should take care of routing
loops before configuring permit-ibgp.
NOTE
The Tag field in RIP is 16 bits in length, whereas the Tag field in other routing protocols is 32 bits in length.
If the routes of other routing protocols are imported and the tag is used in the routing policy, ensure that
the tag value does not exceed 65535. Otherwise, the routing policy becomes invalid or the matching result
is incorrect.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 RIP Configuration
*
35

Advertisement

Table of Contents
loading

Table of Contents