4-4
Parameters
md5
: Specifies the MD5 ciphertext authentication mode.
simple
: Specifies the simple authentication mode.
Description
Use the
authentication-mode
command to specify an authentication mode for the OSPF area.
Use the
undo authentication-mode
command to remove the authentication mode.
By default, no authentication mode is configured for an OSPF area.
Routers that reside in the same area must have the same authentication mode: non-authentication,
simple, or MD5.
Related commands:
ospf authentication-mode
.
Examples
# Configure OSPF area 0 to use the MD5 ciphertext authentication mode.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 0
[Sysname-ospf-100-area-0.0.0.0] authentication-mode md5
bandwidth-reference (OSPF view)
Syntax
bandwidth-reference
value
undo bandwidth-reference
View
OSPF view
Default Level
2: System level
Parameters
value
: Bandwidth reference value for link cost calculation, in the range 1 to 2147483648 Mbps.
Description
Use the
bandwidth-reference
command to specify a reference bandwidth value for link cost
calculation.
Use the
undo bandwidth-reference
command to restore the default value.
The default value is 100 Mbps.
When links have no cost values configured, OSPF calculates their cost values using formula:
Cost=Reference bandwidth value / Link bandwidth. If the calculated cost is greater than 65535, the
value of 65535 is used.
Examples
# Specify the reference bandwidth value as 1000 Mbps.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] bandwidth-reference 1000