EasyManuals Logo

H3C S3600 Series Command Manual

H3C S3600 Series
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #351 background imageLoading...
Page #351 background image
4-31
import-route
Syntax
import-route protocol [ process-id ] [ cost value | type value | tag value | route-policy
route-policy-name ] *
undo import-route protocol [ process-id ]
View
OSPF view
Parameters
protocol: Source routing protocol whose routes will be imported. At present, it can be direct, ospf,
ospf-ase, ospf-nssa, rip, or static.
process-id: OSPF Process ID, in the range of 1 to 65535. This argument is valid only when the routing
protocol is ospf, ospf-ase, or ospf-nssa.
route-policy: Redistributes only the routing information matching the routing policy.
route-policy-name: Name of a routing policy, a string of up to 19 characters.
cost value: Specifies the cost of redistributed routes. The cost value ranges from 0 to 16777214 and
defaults to 1.
type value: Specifies the type of redistributed routes. The type value is 1 or 2 and defaults to 2.
tag value: Specifies the tag of redistributed routes. A tag can be used by a route policy. The tag value
ranges from 0 to 4294967295 and defaults to 1.
Description
Use the import-route command to redistribute external routes.
Use the undo import-route command to disable importing redistribution from other protocols.
You are recommended to configure the route type, cost and tag together in one command. When you
configure them individually, the new configuration for an attribute will overwrite the old configuration for
the attribute.
By default, OSPF does not redistribute any routing information of other protocols.
Examples
# Redistribute routes from RIP and specify the type as type-2, tag as 33, and cost as 50 for redistributed
routes.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ospf 1
[Sysname-ospf-1] import-route rip type 2 tag 33 cost 50

Table of Contents

Other manuals for H3C S3600 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3600 Series and is the answer not in the manual?

H3C S3600 Series Specifications

General IconGeneral
BrandH3C
ModelS3600 Series
CategorySwitch
LanguageEnglish

Related product manuals