27 ip ospf authentication-key, 28 ip ospf cost, Ip ospf authentication – PLANET XGS3-24042 User Manual
Page 565: Ip ospf cost

35-204
35.27 ip ospf authentication-key
Command:
ip ospf [<ip-address>] authentication-key
no ip ospf [<ip-address>] authentication
Function:
Specify the authentication key required in sending and receiving OSPF packet on the interface; the
“no ip ospf [<ip-address>] authentication” cancels the authentication key.
Parameter:
<ip-address> is the interface IP address shown in dotted decimal notation;
Default:
Authentication not required in receiving OSPF packets on the interface.
Command Mode:
Interface Configuration Mode.
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf authentication-key password
35.28 ip ospf cost
Command:
ip ospf [<ip-address>] cost
no ip ospf [<ip-address>] cost
Function:
Specify the cost required in running OSPF protocol on the interface; the “no ip ospf [<ip-address>]
cost” command restores the default value.
Parameter:
<ip-address> is the interface IP address shown in dotted decimal notation.
Default:
Default OSPF cost on the interface is auto-figure out based bandwidth.
Command Mode:
Interface Configuration Mode.