37 ip ospf priority, Ip ospf priority – PLANET XGS3-24042 User Manual

Page 571

Advertising
background image


35-210

point-to-multipoint: Set the OSPF network type to point-to-multipoint.

Default:

The default OSPF network type is broadcast.

Command Mode:

Interface Configuration Mode.

Example:

The configuration below set the OSPF network type of the interface vlan 1 to point-to-point.

Switch#config terminal

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)#ip ospf network point-to-point

35.37 ip ospf priority

Command:

ip ospf [<ip-address>] priority <priority>

no ip ospf [<ip-address>] priority

Function:

Configure the priority when electing “Defined layer 3 switch” at the interface. The “no ip ospf

[<ip-address>] priority” command restores the default value.

Parameter:

<ip-address> is the interface IP address show in dotted decimal notation.

<priority> is the priority of which the valid value ranges between 0~255.

Default:

The default priority when electing DR is 1.

Command Mode:

Interface Configuration Mode.

Usage Guide:

When two layer 3 switches connected to the same segments both want to be the “Defined layer 3

switch”, the priority will decide which one should be chosen. Normally the one with higher priority

will be elected, or the one with larger router-id number if the priorities are the same. A layer 3 switch

with a priority equal to 0 will not be elected as “Defined layer 3 switch” or “Backup Defined layer 3

switch”.

Example:

Configure the priority of DR electing. Configure the interface vlan 1 to no election right, namely set

the priority to 0.

Switch#config terminal

Advertising
This manual is related to the following products: