Import-Route - 3Com 5500-EI PWR Reference Manual

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

[Sysname-ospf-1] filter-policy 2000 import

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
4-31

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents