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

Page 565: Ip ospf cost

Advertising
background image


35-204

35.27 ip ospf authentication-key

Command:

ip ospf [<ip-address>] authentication-key <LINE>

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;

<LINE> specifies the key required in the plaintext authentication.

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 <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.

<cost > is the cost of OSPF protocol ranging between 1~65535.

Default:

Default OSPF cost on the interface is auto-figure out based bandwidth.

Command Mode:

Interface Configuration Mode.

Advertising
This manual is related to the following products: