Examples
ospf
Syntax
View
Parameters
Description
Examples
ospf authentication-mode
Syntax
Use the
undo opaque-capability
The feature is disabled by default.
# Enable advertising and receiving opaque LSAs.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100]opaque-capability enable
ospf [ process-id | router-id router-id | vpn-instance instance-name ]*
undo ospf process-id
System view
process-id: OSPF process ID, in the range 1 to 65535.
router-id: OSPF router ID, in dotted decimal format.
instance-name: VPN instance name, a string of 1 to 31 case-sensitive characters.
Use the
ospf
command to enable an OSPF process.
Use the
command to disable an OSPF process.
undo ospf
No OSPF process is enabled by default.
You can enable multiple OSPF processes on a router and specify different Router
IDs for these processes.
When using OSPF as the IGP for MPLS VPN implementation, you need to bind the
OSPF process with a VPN instance.
Enabling OSPF first is required before performing other tasks.
# Enable OSPF process 100 and specify Router ID as 10.10.10.1.
<Sysname> system-view
[Sysname] ospf 100 router-id 10.10.10.1
[Sysname-ospf-100]
For MD5/HMAC-MD5 authentication:
ospf authentication-mode { md5 | hmac-md5 } key-id [ plain | cipher ] password
undo ospf authentication-mode { md5 | hmac-md5 } key-id
command to restore the default.
1143