63
Parameters
md5
: Specifies the MD5 authentication mode.
simple
: Specifies the simple authentication mode.
Usage guidelines
Routers that reside in the same area must have the same authentication mode: no authentication, simple,
or MD5.
Examples
# Configure OSPF Area 0 to use the MD5 authentication mode.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 0
[Sysname-ospf-100-area-0.0.0.0] authentication-mode md5
Related commands
ospf authentication-mode
bandwidth-reference (OSPF view)
Use
bandwidth-reference
to specify a reference bandwidth value for link cost calculation.
Use
undo bandwidth-reference
to restore the default value.
Syntax
bandwidth-reference
value
undo bandwidth-reference
Default
The default value is 100 Mbps.
Views
OSPF view
Predefined user roles
network-admin
Parameters
value
: Specifies the bandwidth reference value for link cost calculation, in the range of 1 to 4294967
Mbps.
Usage guidelines
If no cost values are configured for links, OSPF calculates their cost values by using the 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