Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 3 OSPF Configuration Commands
3-61
Description
Use the
stub-router
command to configure the router as a stub router.
Use the
undo
stub-router
command to restore the default.
By default, no router is configured as a stub router.
The router LSAs from the stub router may contain different link type values. A value of 3
means a link to the stub network, so the cost of the link remains unchanged. A value of
1, 2 or 4 means a point-to-point link, a link to a transit network or a virtual link; in such
cases, a maximum cost value of 65535 is used. Thus, other neighbors find the links to
the stub router have such big costs, they will not send packets to the stub router for
forwarding as long as there is a route with a smaller cost.
Examples
# Configure a stub router.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] stub-router
3.1.61 vlink-peer
Syntax
vlink-peer
router-id
[
hello
seconds
|
retransmit
seconds
|
trans-delay
seconds |
dead
seconds
|
simple
[
plain
|
cipher
]
password
| {
md5
|
hmac-md5
}
key-id
[
plain
|
cipher
]
password
]*
undo
vlink-peer
router-id
[
hello
|
retransmit
|
trans-delay
|
dead
| [
simple
| {
md5
|
hmac-md5
}
key-id
] ]*
View
OSPF area view
Parameters
router-id
: Router ID of the neighbor on the virtual link.
hello
seconds
: Hello interval in seconds, in the range 1 to 8192. The default is 10. It
must be identical to the hello interval on its virtual link neighbor.
retransmit seconds
: Retransmission interval in seconds, in the range 1 to 3600, which
defaults to 5.
trans-delay seconds
: Transmission delay interval in seconds, in the range 1 to 3600,
which defaults to 1.
dead
seconds
: Dead interval in seconds, in the range 1 to 32768, which defaults to 40
and is identical to the value on its virtual link neighbor. The dead interval is at least four
times the hello interval.