Import-Route (Ospf View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1136
C
76: OSPF C
HAPTER
View
Parameters
Description
Examples

import-route (OSPF view)

Syntax
View
Parameters
Description
C
ONFIGURATION
OMMANDS
OSPF area view
ip-address: IP address of a host
cost: Cost of the route, in the range 1 to 65535.
Use the
host-advertise
Use the
undo host-advertise
No host route is configured by default.
# Configure host route 1.1.1.1 and specify cost 100 for it.
<Sysname> system-view
[Sysname] ospf 100
[Sysname] area 0
[Sysname-ospf-100-area-0.0.0.0] host-advertise 1.1.1.1 100
import-route protocol [ process-id | allow-ibgp ] [ cost cost | type type | tag tag |
route-policy route-policy-name ]*
undo import-route protocol [ process-id ]
OSPF view
protocol: Redistributes routes from the specified protocol, which can be bgp,
direct, isis, ospf, rip, or static.
process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only
when the protocol is rip, ospf, or isis.
allow-ibgp: Allows to redistribute IBGP routes; optional only when the protocol is
bgp.
cost cost: Specifies route cost, in the range 0 to 16777214, which defaults to 1.
type type: Specifies cost type, 1 or 2, which defaults to 2.
tag tag : Specifies for external LSAs the tag, in the range 0 to 4294967295, which
defaults to 1.
route-policy route-policy-name: Specifies a route policy to redistribute qualified
routes only. route-policy-name is a string of up to 19 characters.
Use the
import-route
protocol.
Use the
undo import-route
routing protocol.
command to advertise a host route.
command to remove a host route.
command to redistribute routes from another routing
command to disable route redistribution from a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents