517
max-metric: Advertises the locally generated Type-1 LSAs with the maximum cost of 65535.
external-lsa max-metric-value: Specifies a cost for external LSAs, in the range of 1 to 16777215. The
default is 16711680 .
summary-lsa max-metric-value: Specifies a cost for Type-3 and Type-4 LSAs, in the range of 1 to
167 77215. Th e d efa ul t i s 16711680 .
include-stub: Sets the cost for Type-9 LSAs that reference Type-1 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.
Usage guidelines
You can use the stub-router r-bit command or stub-router max-metric command to configure a router as
a stub router.
• The stub-router r-bit command clears the R-bit of the Option field in Type-1 LSAs. When the R-bit is
clear, the OSPFv3 router can participate in OSPFv3 topology distribution without forwarding traffic.
• The stub-router max-metric command specifies the OSPFv3 max-metric router LSA feature. This
feature enables OSPFv3 to advertise its locally generated Type-1 LSAs with a maximum cost of
65535. Neighbors do 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] ospfv3 100
[Sysname-ospfv3-100] stub-router r-bit
transmit-pacing
Use transmit-pacing to configure the maximum number of LSU packets that can be sent at the specified
interval.
Use undo transmit-pacing to restore the default.
Syntax
transmit-pacing interval interval count count
undo transmit-pacing
Default
An OSPFv3 interface sends a maximum of three LSU packets every 20 milliseconds.
Views
OSPFv3 view
Predefined user roles
network-admin