The detect retransmit interval command configures an interval for detecting address segment availability and the number of retransmissions of detection requests in a dynamic address pool.
The undo detect retransmit interval command cancels the configuration.
By default, the number of retransmissions of detection requests is 2, and the detection interval is 30 minutes.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
day |
Specifies the interval days for detecting address segment availability. |
Specifies days. The value is an integer ranging from 0 to 999. The default value is 0. |
hour |
Specifies the interval hours for detecting address segment availability. |
Specifies hours. The value is an integer ranging from 0 to 23. The default value is 0. |
minute |
Specifies the interval minutes for detecting address segment availability. |
Specifies minutes. The value is an integer ranging from 0 to 59. The default value is 30. |
retransmit retransmit-value |
Specifies the number of retransmissions of detection requests. |
The value is an integer ranging from 1 to 10. The default value is 2. |
Usage Scenario
If data inconsistency occurs between a DAP server and a BRAS due to link faults, conflicting IP addresses may be assigned. To ensure data consistency, run the detect retransmit interval command to configure an interval for detecting address segment availability and the number of retransmissions of detection requests in a dynamic address pool. Then, the BRAS sends messages to the DAP server at intervals to detect the address segment availability. If an address segment is allowed to be used, the DAP server responds with a detection success message. If an address segment is not allowed to be used, the DAP server responds with a detection denial message.
If a detection success message is received from the DAP server, the BRAS updates the timestamp of the address segment and collects message and packet statistics. If a detection denial message is received from the DAP server, the BRAS sets the state of the address segment to block after updating the timestamp of the address segment. The BRAS will not assign IP addresses from this address segment to subsequent users. After all users on the vBRAS-UP go offline when the leases of the IP addresses assigned to the users from this address segment expire, the BRAS releases the address segment to the DAP server. If no response message is received from the DAP server after the number of retransmissions of detection requests reaches the configured value, the BRAS sets the state of the address segment to block. During the period when the address segment is blocked, the BRAS continues to send detection requests to the DAP server. If a detection success message is received and the address segment is not released, the address segment can be used to assign IP addresses to users again. However, if the address segment has been released when a detection success message is received, the BRAS collects statistics only.Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] ip pool odaptest bas dynamic Info: It's successful to create an IP address pool [*HUAWEI-ip-pool-odaptest] commit [~HUAWEI-ip-pool-odaptest] detect retransmit 5 interval 0 0 30