101
Usage guidelines
The value of the GR restart interval cannot be smaller than the maximum OSPF neighbor dead time of all
the OSPF interfaces. Otherwise, GR restart might fail.
Examples
# Configure the GR interval for OSPF process 1 as 100 seconds.
<Sysname> system-view
[Sysname] ospf 1
[Sysname-ospf-1] graceful-restart interval 100
Related commands
ospf timer dead
host-advertise
Use
host-advertise
to advertise a host route.
Use
undo host-advertise
to remove a host route.
Syntax
host-advertise
ip-address cost
undo host-advertise
ip-address
Default
No host route is advertised.
Views
OSPF area view
Predefined user roles
network-admin
Parameters
ip-address
: Specifies the IP address of a host.
cost
: Specifies a cost for the route, in the range of 1 to 65535.
Examples
# Advertise 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
import-route (OSPF view)
Use
import-route
to redistribute AS-external routes from another routing protocol.
Use
undo import-route
to disable route redistribution from another routing protocol.