beautypg.com

PLANET XGS3-24040 User Manual

Page 281

background image

Chapter 37 OSPF

37-5

Command

Explanation

Global Mode

[no] router ospf [process <id>]

Enables OSPF protocol; the “no router

ospf” command disables OSPF protocol.

(required)

OSPF Protocol Configuration Mode

router-id

no router-id

Configures the ID number for the layer3

switch running OSPF; the “no router id

command cancels the ID number. The IP

address of an interface is selected to be the

layer3 switch ID. (optional)

[no] network { |

/} area

Configure certain segment to certain area,

the no [no] network { |

/}

area

command cancels this configuration.

(required)

2. Configure OSPF protocol parameters

1Configure OSPF packet sending mechanism parameters

1)Configure OSPF packet verification

2)Set the OSPF interface to receive only

3)Configure the cost for sending packets from the interface

Command

Explanation

Interface Configuration Mode

ip ospf authentication

{ message-digest | null}

no ip ospf authentication

Configures the authentication method by the

interface to accept OSPF packets; the no ip

ospf authentication command restores the

default settings.

ip ospf authentication-key LINE

no ip ospf authentication-key

Configure the key of the authentication process

of OSPF data packets receiving for the

interfaces; the no action of this command

restores the default settings.

[no] passive-interface {IFNAME |

ethernet IFNAME | Vlan <ID>}

Sets an interface to receive only, the no

passive-interface {IFNAME

| ethernet

IFNAME | Vlan <ID>} command cancels this

configuration.

ip ospf cost <cost >

no ip ospf cost

Sets the cost for running OSPF on the interface;

the “no ip ospf cost” command restores the

default setting.