Examples
# Configure area 1 where the network segment 131.119.0.0 of interface VLAN-interface 10 resides to
support MD5 cipher text authentication. Set the authentication key identifier to 15 and the authentication
key to abc.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ospf 1
[Sysname-ospf-1] area 1
[Sysname-ospf-1-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-1-area-0.0.0.1] authentication-mode md5
[Sysname-ospf-1-area-0.0.0.1] quit
[Sysname-ospf-1] quit
[Sysname] interface Vlan-interface 10
[Sysname-Vlan-interface10] ospf authentication-mode md5 15 abc
ospf cost
Syntax
ospf cost value
undo ospf cost
View
Interface view
Parameters
value: Cost for running an OSPF process on an interface, in the range of 1 to 65535.
Description
Use the ospf cost command to configure the OSPF cost on an interface.
Use the undo ospf cost command to restore the default.
By default, the OSPF cost on an interface is 10.
You can use the display ospf brief command to display the OSPF cost information.
Related commands: display ospf brief.
Examples
# Specify the OSPF cost on the interface as 33.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 10
[Sysname-Vlan-interface10] ospf cost 33
ospf dr-priority
Syntax
ospf dr-priority priority
4-37
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers