HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

178
stub-router
Use stub-router to configure a router as a stub router.
Use undo stub-router to restore the default.
Syntax
stub-router [ external-lsa [ max-metric-value ] | include-stub | on-startup { seconds | wait-for-bgp
[ seconds ] } | summary-lsa [ max-metric-value ] ] *
undo stub-router
Default
No router is a stub router.
Views
OSPF view
Predefined user roles
network-admin
Parameters
external-lsa max-metric-value: Specifies a cost for the external LSAs, in the range of 1 to 16777215. The
default is 16711680 .
include-stub: Sets the cost of the stub links (link type 3) in Router LSAs to the maximum value 65535.
on-startup seconds: Specifies the router as a stub router during reboot, and specifies the timeout time in
the range of 5 to 86400 seconds.
wait-for-bgp seconds: Specifies the router as a stub router during BGP route convergence after reboot,
and specifies the timeout time in the range of 5 to 86400 seconds. The default timeout time is 600
seconds.
summary-lsa max-metric-value: Specifies a cost for the Type-3 LSAs, in the range of 1 to 16777215. The
default cost value is 16711680 .
Usage guidelines
The router LSAs sent by the stub router over different links contain different link type values. A value of 3
represents a link to a stub network, and the cost of the link is not changed. A value of 1, 2, or 4 represents
a point-to-point link, a link to a transit network, or a virtual link, and the cost of such links is set to 65535.
Neighbors on such links will not send packets to the stub router as long as they have a route with a
smaller cost.
Examples
# Configure a stub router.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] stub-router
transmit-pacing
Use transmit-pacing to configure the maximum number of LSU packets that can be sent at the specified
interval.