H3C S7500E Series Command Manual page 342

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Description
Use the host-advertise command to advertise a host route.
Use the undo host-advertise command to remove a host route.
No host route is advertised by default.
Examples
# Advertise the host route 1.1.1.1 with a cost of 100.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 0
[Sysname-ospf-100-area-0.0.0.0] host-advertise 1.1.1.1 100
3.1.29 import-route
Syntax
import-route protocol [ process-id | allow-ibgp ] [ cost cost | type type | tag tag |
route-policy route-policy-name ]*
undo import-route protocol [ process-id ]
View
OSPF view
Parameters
protocol: Redistributes routes from the protocol, which can be direct, static, rip, ospf,
isis or bgp.
process-id: Process ID, which is optional when the protocol is rip, ospf or isis, in the
range 1 to 65535.
allow-ibgp: Allows IBGP routes redistribution. It is optional only when the protocol is
bgp.
cost cost: Specifies a route cost, in the range 0 to 16777214. The default is 1.
type type: Specifies a cost type, 1 or 2. The default is 2.
tag tag : Specifies a tag for external LSAs. The default is 1.
route-policy route-policy-name: Specifies a route policy to redistribute qualified routes
only. A Route policy name is a string of up to 19 characters.
Description
Use the import-route command to redistribute routes from another protocol.
Use the undo import-route command to disable route redistribution from a protocol.
Route redistribution from another protocol is not configured by default.
Chapter 3 OSPF Configuration Commands
3-35

Advertisement

Table of Contents
loading

Table of Contents