4-37Examples# Configure area 1 where the network segment 131.119.0.0 of interface VLAN-interface 10 resides tosupport MD5 cipher text authentication. Set the authentication key identifier to 15 and the authenticationkey to abc. system-viewSystem 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 abcospf costSyntaxospf cost valueundo ospf costViewInterface viewParametersvalue: Cost for running an OSPF process on an interface, in the range of 1 to 65535.DescriptionUse 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. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] interface Vlan-interface 10[Sysname-Vlan-interface10] ospf cost 33ospf dr-prioritySyntaxospf dr-priority priority