26 ip ospf network, 27 ip ospf priority – Accton Technology ES4626 User Manual
Page 457

457
Default:
Check mtu size in DD switch
Command Mode:
Interface Mode
Example:
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf mtu-ignore
13.6.3.26 ip ospf network
Command: ip ospf network
{broadcast|non-broadcast|point-to-point|point-to-multipoint}
no ip ospf network
Function:
This command configure the OSPF network type of the interface; the “no ip
ospf network
” command restores the default value
Parameter: broadcast:
Set the OSPF network type to broadcast.
non-broadcast:
Set the OSPF network type to NBMA
point-to-point:
Set the OSPF network type to point-to-point
point-to-multipoint:
Set the OSPF network type to point-to-multipoint
Default:
The default OSPF network type is broadcast
Command Mode: Interface 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
13.6.3.27 ip ospf priority
Command: ip ospf [<ip-address>] 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
is the priority of which the valid value ranges between 0~255.
Default:
The default priority when electing DR is 1.
Command Mode:
Interface 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