Host-Advertise; Import-Route (Ospf View) - H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Examples
# Configure the Graceful Restart interval for OSPF process 1 as 100 seconds.
<Sysname> system-view
[Sysname] ospf 1
[Sysname-ospf-1] graceful-restart interval 100

host-advertise

Syntax
host-advertise ip-address cost
undo host-advertise ip-address
View
OSPF area view
Default Level
2: System level
Parameters
ip-address: IP address of a host
cost: Cost of the route, in the range 1 to 65535.
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 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

import-route (OSPF view)

Syntax
import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | type type | tag tag |
route-policy route-policy-name ] *
undo import-route protocol [ process-id | all-processes ]
View
OSPF view
Default Level
2: System level
4-39

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents