Command Manual – IPv4 RoutingH3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration Commands3-45[Sysname-ospf-100] quit[Sysname] interface vlan-interface 10[Sysname-Vlan-interface10] ospf authentication-mode md5 15 cipher abc# Configure the network 131.119.0.0/16 in Area 1 to support simple authentication, andset for the interface the authentication password to abc, and password type to cipher. system-view[Sysname] ospf 100[Sysname-ospf-100] area 1[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255[Sysname-ospf-100-area-0.0.0.1] authentication-mode simple[Sysname-ospf-100-area-0.0.0.1] quit[Sysname-ospf-100] quit[Sysname] interface vlan-interface 10[Sysname-Vlan-interface10] ospf authentication-mode simple cipher abc3.1.40 ospf costSyntaxospf cost valueundo ospf costViewInterface viewParametersvalue: OSPF cost, in the range 1 to 65535.DescriptionUse the ospf cost command to set an OSPF cost for the interface.Use the undo ospf cost command to restore the default OSPF cost for the interface.By default, an OSPF interface calculates its cost with the formula: interface defaultOSPF cost=100 Mbps/interface bandwidth(Mbps). Default OSPF costs of someinterfaces are:z 1785 for the 56kbps serial interfacez 1562 for the 64kbps serial interfacez 48 for the E1 (2.048Mbps) interfacez 1 for the Ethernet interfaceYou can use the ospf cost command to set an OSPF cost for an interface manually.This configuration is not supported on the NULL interface.