26 ip ospf authentication-key, 27 ip ospf cost, Ip ospf authentication – PLANET XGS3-24040 User Manual
Page 465: Ip ospf cost
![background image](https://www.manualsdir.com/files/865186/content/doc465.png)
33-178
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 message-digest
33.26 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
33.27 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.