402
15.4.2.2.12 ip ospf priority
Command: ip ospf priority <priority>
no ip ospf priority
Function: Set the priority of the interface in “designated layer3 switch” (DR) election; the
“no ip ospf priority” command restores the default setting.
Parameter: < priority> is the priority value, ranging from 0 to 255.
Defaulted: The priority of the interface when electing designated layer3 switch is 1.
Command mode: Interface Mode
Usage Guide: When two layer3 switches in the same network segment want to be the
“designated layer3 switch”(DR), the DR is decided by the priority value, the switch with
higher priority becomes the DR; if priority values are equal, the switch with the larger
router-id is selected. When a layer3 switch has a priority value of 0, it will not be elected to
be either “designated layer3 switch” or “backup designated layer3 switch”.
Example: Configure the priority of the interface when electing designated layer3 switch
(DR). Exclude interface vlan1 from the election, i.e., set the priority to 0.
Switch(Config-If-Vlan1)#ip ospf priority 0
15.4.2.2.13 ip ospf retransmit-interval
Command: ip ospf retransmit-interval <time>
no ip ospf retransmit-interval
Function: Set the interval for retransmission of link-state advertisement among neighbor
layer3 switches; the “no ip ospf retransmit” command restores the default setting.
Parameter: <time> is the interval of link-state status advertisement retransmission to a
neighbor layer3 switch in seconds, ranging from 1 to 65535.
Default: The default retransmission interval is 5 seconds.
Command mode: Interface Mode
Usage Guide: When a layer3 switch transfers link-state advertisement to its neighbor, it
keeps advertising until an acknowledgement is received from the other end, if no
acknowledge packet is received within the interval set, it will resend the link-state
advertisement. The retransmission interval must be greater than the time for a packet to
travel to a layer3 switch and return.
Example: Set the re-authentication time of LSA for interface vlan1 to 10 seconds.
Switch(Config-If-Vlan1)#ip ospf retransmit 10
15.4.2.2.14 ip ospf transmit-delay