472
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 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
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf priority 0
14.6.3.28 ip ospf retransmit-interval
Command: ip ospf [<ip-address>] retransmit-interval
<time>
no ip ospf [<ip-address>] retransmit-interval
Function:
Specify the retransmit interval of link state announcements between the
interface and adjacent layer 3 switches. The “
no ip ospf [<ip-address>]
retransmit-interval
” command restores the default value
Parameter: <ip-address>
is the interface IP address show in dotted decimal notation
<time>
is the retransmit interveral of link state announcements between the interface and
adjacent layer 3 switches, shown in seconds ang raning between 1
~
65535
Default:
Default retransmit interval is 5 seconds
Command Mode:
Interface Mode
Usage Guide:
When a layer 3 switch transmits LSA to its neighbor, it will maintain the
link state announcements till confirm from the object side is received. If the confirm
packet is not received within the interval, the LSA will be retransmitted. The retransmit
interval must be larger than the time it takes to make a round between two layer 3
switches.
Example:
Configure the LSA retransmit interval of interface vlan 1 to 10 seconds
Switch#config terminal
Switch(config)#interface vlan 1