550
C
HAPTER
6: R
OUTING
P
ROTOCOL
import-route
Syntax
import-route protocol [ cost value ] [ route-policy route-policy-name ]
undo import-route protocol
View
RIP view
Parameter
■
protocol: Specifies the source routing protocol to be imported by RIP. At
present, RIP can import the following routes: direct, ospf, ospf-ase, ospf-nssa,
static, and bgp and isis.
■
value: Cost value of the route to be imported, ranging from 1 to 16..
■
route-policy route-policy-name: Configured to import the route matching the
condition of the specified Route-policy only.
Description
Using the import-route command, you can import the routes of other protocols
into RIP. Using the undo import-route command, you can cancel the routes
imported from other protocols.
By default, RIP does not import any other routes.
The import-route command is used to import the route of another protocol by
using a certain value. RIP regards the imported route as its own route and
transmits it with the specified value. This command can greatly enhance the RIP
capability of obtaining routes, thus increasing the RIP performance.
If the cost value is not specified, routes will be imported according to the default
cost. It is in the range of 1 to 16. If it is larger than or equal to 16, it indicates an
unreachable route and the transmission will be stopped in 120 seconds.
For the related command, see default cost.
Example
Import a static route with cost being 4.
[3Com-rip] import-route static cost 4
Set the default cost and import an OSPF route with the default cost.
[3Com-rip] default cost 3
[3Com-rip] import-route ospf
ipv4-family vpn-instance
Syntax
ipv4-family [ unicast ] vpn-instance vpn-instance-name
undo ipv4-family [ unicast ] vpn-instance vpn-instance-name
View
RIP view
Parameter
■
unicast: Unicast address.
■
vpn-instance-name: Associates the specified VPN instance with the IPv4
address family. Enter the MBGP address family view of RIP with this parameter.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...