< Home

retransmission-limit

Function

The retransmission-limit command enables the retransmission limit and set the maximum count of retransmission.

The undo retransmission-limit command cancels the retransmission limit.

By default, the retransmission limit is disabled.

Format

retransmission-limit [ max-number ]

undo retransmission-limit

Parameters

Parameter Description Value
max-number Indicates the maximum count of retransmission. The value is an integer that ranges from 2 to 255. The default value is 30.

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The retransmission-limit command can be used to enable Retransmission Limitation for OSPF (RL-for OSPF) to prevent dead loops caused by repeated transmissions when neighbors cannot receive packets.

Configuration Impact

The OSPF retransmission limit can be used in the following packets:

  • DD packet

  • Update packet

  • Request packet

If the three types of packets cannot receive the response packets, enable the retransmission attribute, limit the count of retransmission, and disconnect the neighbor when the retransmission exceeds the specified count.

Example

# Enable OSPf retransmission limit and set the maximum number of retransmissions to 40.

<sysname> system-view
[sysname] ospf 1
[sysname-ospf-1] retransmission-limit 40
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >