- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
06-DDR commands | 92.49 KB |
DDR commands
The dialup interfaces refer to dialer interfaces throughout this document.
bandwidth
Use bandwidth to set the expected bandwidth for a dialer interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth (in kbps) is the interface baud rate divided by 1000.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
Usage guidelines
The expected bandwidth of an interface affects the link costs in OSPF, OSPFv3, and IS-IS. For more information, see Layer 3—IP Routing Configuration Guide.
Examples
# Set the expected bandwidth of Dialer 1 to 100 kbps.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] bandwidth 100
default
Use default to restore the default settings for a dialer interface.
Syntax
default
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
|
CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impact of this command when you execute it on a live network. |
This command might fail to restore the default settings for some commands for reasons such as command dependencies or system restrictions. Use the display this command in interface view to identify these commands, and then use their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.
Examples
# Restore the default settings for Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] default
description
Use description to set a description for a dialer interface.
Use undo description to restore the default.
Syntax
description text
undo description
Default
The description of a dialer interface is interface-name Interface, for example, Dialer1 Interface.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
text: Specifies the interface description, a case-sensitive string of 1 to 255 characters.
Examples
# Set the description of Dialer 1 to dialer-intf.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] description dialer-intf
dialer bundle enable
Use dialer bundle enable to enable bundle DDR on a dialer interface.
Use undo dialer bundle enable to disable bundle DDR on a dialer interface.
Syntax
dialer bundle enable
undo dialer bundle enable
Default
Bundle DDR is disabled on a dialer interface.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
DDR includes traditional DDR and bundle DDR.
Before using bundle DDR, use this command to enable bundle DDR on a dialer interface. Then assign physical interfaces to the corresponding dialer bundle by using the dialer bundle-member command. To enable bundle DDR to receive calls, configure the dialer peer-name command on the dialer interface.
After you configure this command on a dialer interface already enabled with traditional DDR, the system clears the original traditional DDR settings.
The undo dialer bundle enable command clears all bundle DDR settings on the dialer interface.
Examples
# Enable bundle DDR on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer bundle enable
dialer bundle-member
dialer circular enable
dialer peer-name
dialer disconnect
Use dialer disconnect to disconnect dialup links on an interface.
Syntax
dialer disconnect [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
mdc-admin
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command disconnects dialup links on all interfaces.
Examples
# Disconnect dialup links on Dialer 0.
<Sysname> dialer disconnect interface dialer0
dialer queue-length
Use dialer queue-length to set the number of packets that can be buffered on a dialup interface.
Use undo dialer queue-length to restore the default.
Syntax
dialer queue-length packets
undo dialer queue-length
Default
No packets are buffered on a dialup interface.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
packets: Specifies the number of packets that can be buffered on the interface, in the range of 1 to 100.
Usage guidelines
If no connection is available when a dialup interface without a buffer queue receives a packet, the interface drops the packet. Configured with a buffer queue, the dialup interface buffers the packet until a connection is available for packet sending.
Examples
# Set the number of packets that can be buffered to 10 on Dialer 1.
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer queue-length 10
dialer timer autodial
Use dialer timer autodial to set the auto-dial timer.
Use undo dialer timer autodial to restore the default.
Syntax
dialer timer autodial autodial-interval
undo dialer timer autodial
Default
The auto-dial timer is 300 seconds.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
autodial-interval: Specifies the interval between auto-dial attempts, in the range of 1 to 604800 seconds.
Usage guidelines
DDR automatically dials the dial string at the specified interval until a connection is established. In the auto-dial method, dial attempts are not traffic triggered. Once a connection is established, it will not disconnect based on the idle timer mechanism.
Examples
# Set the auto-dial timer to 60 seconds on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer timer autodial 60
dialer number
dialer route
dialer timer enable
Use dialer timer enable to set the link holddown timer.
Use undo dialer timer enable to restore the default.
Syntax
dialer timer enable interval
undo dialer timer enable
Default
The link holddown timer is 5 seconds.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
interval: Specifies the holddown timer value in the range of 5 to 65535 seconds.
Usage guidelines
The holddown timer starts when a link is disconnected. A call attempt to bring up this link can be made only after the timer expires. This is to prevent a remote SPCS from being overloaded.
To leave enough time for callback, set the holddown timer on the client 10 or more seconds longer than that on the server. As a best practice, set the link holddown timer to 5 seconds (the default) on the server, and 15 seconds on the client.
Examples
# Set the link holddown timer to 15 seconds for Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer timer enable 15
dialer timer idle
Use dialer timer idle to set the link idle-timeout timer.
Use undo dialer timer idle to restore the default.
Syntax
dialer timer idle idle [ in | in-out ]
undo dialer timer idle
Default
The link idle-timeout timer is 120 seconds, and only outgoing interesting packets reset this timer.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
idle: Specifies the link idle-timeout timer value in the range of 0 to 65535 seconds.
in: Allows only incoming interesting packets to reset the timer.
in-out: Allows both incoming and outgoing interesting packets to reset the timer.
Usage guidelines
The link idle-timeout timer starts when a link is established. If no interesting packets arrive before the timer expires, DDR disconnects the link.
If you do not specify the in or in-out keyword, only outgoing interesting packets reset the timer.
If the timer is set to 0, DDR will never disconnect the link. For a PPPoE client application, if the timer is set to 0, a dialup connection is created automatically and remains active permanently.
Examples
# Set the link idle-timeout timer to 50 seconds on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer timer idle 50
dialer timer wait-carrier
Use dialer timer wait-carrier to set the wait-carrier timer.
Use undo dialer timer wait-carrier to restore the default.
Syntax
dialer timer wait-carrier wait-carrier
undo dialer timer wait-carrier
Default
The wait-carrier timer is 60 seconds.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
wait-carrier: Specifies the wait-carrier timer value in the range of 0 to 65535 seconds.
Usage guidelines
The wait-carrier timer limits the amount of time that DDR waits for a connection to be established for a call. The wait-carrier timer starts when a call is placed. If the connection is not established before the timer expires, DDR terminates the call.
Examples
# Set the wait-carrier timer to 100 seconds on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer timer wait-carrier 100
dialer-group
Use dialer-group to assign a dialup interface to a dialer group.
Use undo dialer-group to restore the default.
Syntax
dialer-group group-number
undo dialer-group
Default
A dialup interface does not belong to any dialer group.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
group-number: Specifies a dialer group by its number in the range of 1 to 255. Before the assignment, you must create the dialer group by using the dialer-group rule command.
Usage guidelines
A dialup interface can belong to only one dialer group. If you configure this command multiple times, the most recent configuration takes effect.
You must configure this command for DDR to send packets.
Examples
# Assign Dialer 1 to dialer group 1.
<Sysname> system-view
[Sysname] dialer-group 1 rule ip acl 3101
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer-group 1
dialer-group rule
dialer-group rule
Use dialer-group rule to create a dialer group and configure a dial rule for it.
Use undo dialer-group rule to delete a dialer group.
Syntax
dialer-group group-number rule { ip | ipv6 } { deny | permit | acl { acl-number | name acl-name } }
undo dialer-group group-number rule [ ip | ipv6 ]
Default
No dialer group exists.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
group-number: Specifies the number of the dialer group to be created, in the range of 1 to 255.
ip: Specifies the IPv4 protocol.
ipv6: Specifies the IPv6 protocol.
deny: Denies packets of the specified protocol.
permit: Permits packets of the specified protocol.
acl acl-number: Specifies an ACL by its number in the range of 2000 to 3999.
name acl-name: Specifies an ACL by its name.
Usage guidelines
A dial rule determines when an interface initiates DDR calls. You need to configure dial rules only on the initiator of DDR calls.
You can configure a dial rule to match only IP packets or use an ACL to match packets.
Permitted protocol packets or packets that match a permit statement of an ACL are interesting packets. When receiving an interesting packet, DDR performs one of the following operations:
· Sends it out and resets the idle-timeout timer if a link is present.
· Originates a new call to establish a link if no link is present.
Denied protocol packets or packets that match a deny statement of an ACL are uninteresting packets. When receiving an uninteresting packet, DDR performs one of the following operations:
· Sends it out without resetting the idle-timeout timer if a link is present.
· Drops it if no link is present.
For DDR to forward packets correctly, you must configure a dial rule and associate it with the dialup interface by using the dialer-group command.
Examples
# Create dialer group 1 and configure DDR to place calls for IPv4 packets. Associate Dialer 1 with dialer group 1.
<Sysname> system-view
[Sysname] dialer-group 1 rule ip permit
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer-group 1
# Create dialer group 1 and configure DDR to place calls for IPv6 packets. Associate Dialer 1 with dialer group 1.
<Sysname> system-view
[Sysname] dialer-group 1 rule ipv6 permit
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer-group 1
Related commands
dialer-group
display dialer
Use display dialer to display the DDR information for an interface.
Syntax
display dialer [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays the DDR information for all interfaces.
Examples
# Display the DDR information for all interfaces.
<Sysname> display dialer
Dialer0:
Dialer Route:
Dialer number:
Dialer Timers(in seconds):
Auto-dial: 300 Compete: 20 Enable: 5
Idle: 120 Wait-for-Carrier: 60
Total Channels: 1
Free Channels: 1
Table 1 Command output
Field |
Description |
Dialer0 |
Dialer interface. |
Dialer Route: |
This field is not supported in the current software version. |
Dialer number |
This field is not supported in the current software version. |
Dialer Timers(in seconds): Auto-dial: 300 Compete: 20 Enable: 5 Idle: 120 Wait-for-Carrier: 60 |
DDR timers in seconds: · Auto-dial—Auto-dial timer set by the dialer timer autodial command. · Compete—Not supported in the current software version. · Enable—Link holddown timer set by the dialer timer enable command. · Idle—Link idle-timeout timer set by the dialer timer idle command. · Wait-for-Carrier—Wait-carrier timer set by the dialer timer wait-carrier command. |
Total Channels |
Total number of physical interfaces on the interface. |
Free Channels |
Number of free channels. |
display interface dialer
Use display interface dialer to display information about a dialer interface.
Syntax
display interface [ dialer [ interface-number ] ] [ brief [ description | down ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface-number: Specifies a dialer interface by its number.
brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of each interface description.
down: Displays information about interfaces in physically down state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states.
Usage guidelines
If you do not specify the dialer keyword, this command displays information about all interfaces on the device.
If you specify the dialer keyword, this command displays information about all dialer interfaces.
Examples
# Display detailed information about Dialer 1.
<Sysname> display interface dialer 1
Dialer1
Current state: UP
Line protocol state: UP (spoofing)
Description: Dialer1 Interface
Bandwidth: 64kbps
Maximum Transmit Unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet protocol processing: disabled
Link layer protocol: PPP
LCP: initial
Physical: Dialer, baudrate: 64000 bps
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 dropped
Output: 0 packets, 0 bytes, 0 dropped
# Display brief information about Dialer 1.
<Sysname> display interface dialer 1 brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
Dia1 UP UP(s) --
# Display brief information about all dialer interfaces in physically Down state.
<Sysname> display interface dialer brief down
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
Dia1 ADM Administratively
Table 2 Command output
Field |
Description |
Dialer1 Current state |
Physical state of the dialer interface: · UP—The dialer interface is physically up. · DOWN (Administratively)—The dialer interface was shut down by using the shutdown command. To re-enable it, you must execute the undo shutdown command. |
Line protocol state |
Data link layer protocol state of the dialer interface: UP or DOWN. |
Description |
Interface description. |
Bandwidth |
Expected bandwidth of the interface. |
Maximum Transmit Unit |
MTU of the dialer interface. |
Internet protocol processing |
Network layer protocol state of the dialer interface. |
Hold timer |
Interval for sending keepalive packets. |
retry times |
Maximum number of keepalive retransmission attempts. A link is removed after the maximum number of retransmission attempts is reached. |
LCP: initial |
LCP initialization is complete. |
Physical |
Physical interface type. |
Output queue - Urgent queuing: Size/Length/Discards |
Statistics on the packets in the urgent output queue. |
Output queue - Protocol queuing: Size/Length/Discards |
Statistics on the packets in the protocol output queue. |
Output queue - FIFO queuing: Size/Length/Discards |
Statistics on the packets in the FIFO output queue. |
Last clearing of counters: Never |
Time when the reset counters interface command was last used to clear the interface statistics. This field displays Never if the reset counters interface command has never been used on the interface since device startup. |
Last 300 seconds input rate |
Input interface data rate during the latest 300 seconds. |
Last 300 seconds output rate |
Output interface data rate during the latest 300 seconds. |
Input: 0 packets, 0 bytes, 0 dropped |
Statistics on the packets reaching the interface. |
Output: 0 packets, 0 bytes, 0 dropped |
Statistics on the packets sent through the interface. |
Brief information on interfaces in route mode: |
Brief information about Layer 3 interfaces. |
Link: ADM - administratively down; Stby - standby |
Link status: · ADM—The interface has been administratively shut down. To recover its physical state, execute the undo shutdown command. · Stby—The interface is operating as a standby interface. To display the active interface, use the display interface-backup state command (High Availability Command Reference). |
Protocol: (s) - spoofing |
If the data link layer protocol state of an interface is shown as UP, but its link is an on-demand link or not present at all, its protocol attribute includes the spoofing flag (an s in parentheses). |
Interface |
Abbreviated interface name. |
Link |
Physical link state of the interface: · UP—The interface is up. · ADM—The interface has been administratively shut down. To bring up the interface, execute the undo shutdown command. · Stby—The interface is operating as a standby interface. |
Protocol |
Data link layer protocol state of the dialer interface: · UP. · DOWN. · UP(s)—The interface is up, but its link is an on-demand link or not present at all. |
Primary IP |
Primary IP address of the interface. |
Description |
Description of the interface. |
Cause |
Reason why a physical link is down. If the port has been shut down by using the shutdown command, this field displays Administratively. To restore the physical state of the interface, use the undo shutdown command. Not connected indicates no physical connection due to absence or failure of a network cable. |
Related commands
reset counters interface
interface dialer
Use interface dialer to create a dialer interface and enter its view, or enter the view of an existing dialer interface.
Use undo interface dialer to delete a dialer interface.
Syntax
interface dialer number
undo interface dialer number
Default
No dialer interface exists.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
number: Specifies the number of the dialer interface, in the range of 0 to 1023.
Usage guidelines
A dialer interface has a fixed baud rate of 64000 bps.
Examples
# Create Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
mtu
Use mtu to set the maximum transmission unit (MTU) of a dialer interface.
Use undo mtu to restore the default.
Syntax
mtu size
undo mtu
Default
The MTU of dialer interfaces is 1500 bytes.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
size: Specifies the MTU in bytes. The value range for this argument is 128 to 1500.
Usage guidelines
The MTU setting of a dialer interface affects the fragmentation and reassembly of IP packets.
Examples
# Set the MTU of Dialer 1 to 1200 bytes.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] mtu 1200
reset counters interface
Use reset counters interface to clear the statistics of a dialer interface.
Syntax
reset counters interface [ dialer [ interface-number ] ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
dialer: Specifies dialer interfaces.
interface-number: Specifies a dialer interface by its number.
Usage guidelines
Use this command to clear history statistics if you want to collect traffic statistics for a specific time period.
If you do not specify the dialer keyword, this command clears statistics for all interfaces.
If you specify the dialer keyword, this command clears statistics for all dialer interfaces.
If you specify a dialer interface, this command clears statistics for the specified dialer interface.
Examples
# Clear the statistics of Dialer 1.
<Sysname> reset counters interface dialer 1
Related commands
display interface dialer
service
Use service to specify a primary traffic processing slot for an interface.
Use undo service to restore the default.
In standalone mode:
service slot slot-number
undo service slot
In IRF mode:
service chassis chassis-number slot slot-number
undo service chassis
Default
No primary traffic processing slot is specified for an interface
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)
Usage guidelines
Specify traffic processing slots if a feature requires that all traffic on a dialer interface be processed on the same slot.
For high availability, you can specify one primary and one backup traffic processing slot by using the service command and the service standby command, respectively.
To avoid processing slot switchover, specify the primary slot before specifying the backup slot. If you specify the backup slot before specifying the primary slot, traffic is switched over to the primary slot immediately after you specify the primary slot.
If you specify both primary and backup slots for an interface, traffic on that interface is processed as follows:
· The backup slot takes over when the primary slot becomes unavailable. The backup slot continues to process traffic for the interface after the primary slot becomes available again. The switchover will not occur until the backup slot becomes unavailable.
· When no specified traffic processing slots are available, the traffic is processed on the slot at which it arrives. Then, the processing slot that first becomes available again takes over.
If you do not specify a primary or a backup traffic processing slot for an interface, traffic on that interface is processed on the slot at which the traffic arrives.
Examples
# Specify a primary traffic processing slot for Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] service slot 0
service standby
service standby
Use service standby to specify a backup traffic processing slot for an interface.
Use undo service standby to restore the default.
Syntax
In standalone mode:
service standby slot slot-number
undo service standby slot
In IRF mode:
service standby chassis chassis-number slot slot-number
undo service standby chassis
Default
No backup traffic processing slot is specified for an interface
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)
Usage guidelines
Specify traffic processing slots if a feature requires that all traffic on a dialer interface be processed on the same slot.
For high availability, you can specify one primary and one backup traffic processing slot by using the service command and the service standby command, respectively.
To avoid processing slot switchover, specify the primary slot before specifying the backup slot. If you specify the backup slot before specifying the primary slot, traffic is switched over to the primary slot immediately after you specify the primary slot.
If you specify both primary and backup slots for an interface, traffic on that interface is processed as follows:
· The backup slot takes over when the primary slot becomes unavailable. The backup slot continues to process traffic for the interface after the primary slot becomes available again. The switchover will not occur until the backup slot becomes unavailable.
· When no specified traffic processing slots are available, the traffic is processed on the slot at which it arrives. Then, the processing slot that first becomes available again takes over.
If you do not specify a primary or a backup traffic processing slot for an interface, traffic on that interface is processed on the slot at which the traffic arrives.
Examples
# Specify a primary traffic processing slot and a backup traffic processing slot for Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] service slot 0
[Sysname-Dialer1] service standby slot 1
Related commands
service
shutdown
Use shutdown to shut down a dialer interface.
Use undo shutdown to bring up a dialer interface.
Syntax
shutdown
undo shutdown
Default
A dialer interface is up.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Examples
# Shut down Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] shutdown
timer-hold
Use timer-hold to set the keepalive interval.
Use undo timer-hold to restore the default.
Syntax
timer-hold seconds
undo timer-hold
Default
The keepalive interval is 10 seconds.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds: Specifies the interval for sending keepalive packets, in the range of 0 to 32767 seconds. The value 0 disables keepalive packet sending.
Usage guidelines
On an interface encapsulated with PPP, the data link layer sends keepalive packets at keepalive intervals to detect the availability of the remote end. The data link layer determines that the peer end is down if it has not received any keepalive messages when the keepalive retry limit is reached. The data link layer then reports the link down event to the upper-layer protocols.
To set the keepalive retry limit, use the timer-hold retry command.
On a slow link, increase the keepalive interval to prevent false shutdown of the interface. This situation might occur when keepalive packets are delayed because a large packet is being transmitted on the link.
Examples
# Set the keepalive interval to 1000 seconds on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] timer-hold 1000
Related commands
timer-hold retry
timer-hold retry
Use timer-hold retry to set the keepalive retry limit.
Use undo timer-hold retry to restore the default.
Syntax
timer-hold retry retries
undo timer-hold retry
Default
The keepalive retry limit is 5.
Views
Dialer interface view
Predefined user roles
network-admin
mdc-admin
Parameters
retries: Specifies the maximum number of keepalive retransmission attempts, in the range of 1 to 255.
Usage guidelines
The interface determines that the remote end is down if it has not received a keepalive response when the keepalive retry limit is reached.
On a slow link, increase the keepalive retry limit to prevent false shutdown of the interface. This situation might occur when keepalive packets are delayed because a large packet is being transmitted on the link.
Examples
# Set the keepalive retry limit to 10 on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] timer-hold retry 10
Related commands
timer-hold