No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
DCC Configuration Commands

DCC Configuration Commands

NOTE:

AR502G-L-D-H, and AR502GR-L-D-H do not support the dialer interface.

dialer bundle

Function

Using the dialer bundle command, you can specify a dialer bundle for a dialer interface in the resource-shared dial control center (RS-DCC).

Using the undo dialer bundle command, you can delete the dialer bundle from the dialer interface.

By default, a dialer interface does not have a dialer bundle.

Format

dialer bundle number

undo dialer bundle

Parameters

Parameter Description Value
number Specifies the number of the dialer bundle. The value is an integer that ranges from 1 to 255.

Views

Dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The RS-DCC separates the dialing configurations from physical configurations on an interface, while the circular DCC (C-DCC) does not have this feature. In the RS-DCC, dialing parameters are set on a dialer interface, and then physical interfaces are dynamically bound to the dialer interface. The device uses dialer bundles to bind physical interfaces and dialer interfaces.

The dialer bundle command specifies a dialer bundle for the dialer interface, and the dialer bundle-member command adds physical interfaces to the dialer bundle. This command is used when you need to specify the physical interfaces that serve the dialer interface.

Prerequisites

Before running the dialer bundle command, run the dialer user command to enable the RS-DCC function; otherwise, the dialer bundle command cannot take effect.

Precautions

Only one dialer bundle can be specified for a dialer interface.

Example

# Specify dialer bundle 3 for dialer interface 1.

<Huawei> system-view
[Huawei] interface dialer 1
[Huawei-Dialer1] dialer user userb
[Huawei-Dialer1] dialer bundle 3

dialer bundle-member

Function

Using the dialer bundle-member command, for details about how to configure the resource-shared DCC mode, you can add a physical interface to a dialer bundle.

Using the undo dialer bundle-member command, you can delete a physical interface from a dialer bundle.

By default, a physical interface does not belong to any dialer bundle.

Format

dialer bundle-member number [ priority priority ]

undo dialer bundle-member number

Parameters

Parameter Description Value
number Specifies a dialer bundle for the physical interface. The value is an integer that ranges from 1 to 255.
priority priority Specifies the priority of the interface in the dialer bundle. A larger value indicates a higher priority. The interface with the highest priority is selected for dialing. It is an integer that ranges from 1 to 255. The default value is 1.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

After the RS-DCC is configured to implement dial-on-demand function, the system chooses physical interfaces from a dialer bundle according to the interface priorities to initiate calls; therefore, the dialer bundle must contain physical interfaces. The dialer bundle-member command adds physical interfaces to dialer bundles.

Precautions

  • This command must be used in physical interface views. A physical interface can belong to multiple dialer bundles.
  • If you run the dialer bundle-member command in the same interface view multiple times, the interface is added to multiple dialer bundles.

Example

# Add interface Cellular0/0/0 to dialer bundle 1 and dialer bundle 2, and set the interface priority to 50.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] dialer bundle-member 1 priority 50
[Huawei-Cellular0/0/0] dialer bundle-member 2 priority 50
Related Topics

dialer circular-group

Function

Using the dialer circular-group command, you can add a physical interface to a dialer circular group.

Using the undo dialer circular-group command, you can remove a physical interface from the dialer circular group.

By default, a physical interface does not belong to any dialer circular group.

Format

dialer circular-group number

undo dialer circular-group

Parameters

Parameter Description Value
number Specifies the dialer circular group number of the physical interface. The dialer circular group number is set by the interface dialer command.

Views

cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The dialer circular-group command adds physical interfaces to a dialer circular group if multiple local interfaces need to call one or multiple remote ends in C-DCC. When a dialer interface needs to initiate a call, it chooses the physical interface with the highest priority (set by dialer priority) from the local circular group to initiate the call.

Prerequisites

The C-DCC function has been enabled by the dialer enable-circular command.

Follow-up Procedure

After this command is executed, use the dialer priority command to set the priorities for physical interfaces in the dialer circular group.

Precautions

  • A physical interface belongs to only one dialer circular group, but a dialer circular group can contain multiple physical interfaces.
  • If you run the dialer circular-group command multiple times in the same view, only the latest configuration takes effect.

Example

# Add Cellular0/0/0 and Cellular0/0/1 to dialer circular group 1.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] dialer enable-circular
[Huawei-Cellular0/0/0] dialer circular-group 1
[Huawei-Cellular0/0/0] quit
[Huawei] interface cellular 0/0/1
[Huawei-Cellular0/0/1] dialer enable-circular
[Huawei-Cellular0/0/1] dialer circular-group 1

dialer disconnect

Function

Using the dialer disconnect command, you can tear down a dial-up link temporarily.

Format

dialer disconnect [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Indicates the interface where the dial-up link needs to be torn down. If no interface is specified, the dial-up links on all interfaces are torn down. The interface type can be cellular, or dialer.

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To reduce network load or modify dial-up settings, you may need to tear down a dial-up link temporarily.

Precautions

This command only temporarily tears down dial-up links.

  • If a disconnected link is enabled with the auto-dial function, it will be re-established when the dialer timer expires.
  • If the link is not enabled with the auto-dial function, it will be re-established when transmitting data.
NOTE:

After a dial-up link is torn down, all services on the link are interrupted; therefore, ensure that the link is not in use before you tear down the link.

Example

# Tear down the dial-up link on interface Dialer0.

<Huawei> dialer disconnect interface dialer 0

dialer enable-circular

Function

Using the dialer enable-circular command, you can enable the circular DCC (C-DCC) function, the dialer number and IP address assigns automatically.

Using the undo dialer enable-circular command, you can disable the C-DCC function.

By default, the DCC function is disabled on an interface.

Format

dialer enable-circular

undo dialer enable-circular

Parameters

None

Views

cellular interface view, dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the data to be transmitted is delay-insensitive, bursting, and has a small volume, the routers can use the dial control center (DCC) mode to reduce costs. DCC sets up a call connection only when there is data to be transmitted. DCC is a flexible, cost-effective, and efficient solution. After DCC is used on the routers connected with the PSTN, the routers set up a connection by dialing only when there is data to be transmitted between them. That is, they start the DCC process to transmit signal, and tear down the connection when no data is transmitted on the link.

DCC supports extensible dial-on-demand functions to meet various application requirements. It is applicable to the following major scenarios:
  • DCC uses link backup to ensure normal communication. When communication fails because of a link error or other reasons, the backup link is used to continue the communication.
  • DCC on a PPPoE client saves costs for users.
The device supports two DCC modes: Circular DCC (C-DCC) and resource-shared DCC (RS-DCC). The two modes are applicable to different scenarios. The two ends in communication can adopt different modes. You can choose the DCC modes according to the following table.
DCC Mode Usage Scenario
C-DCC C-DCC is applicable to the medium- or large-scale sites that have many physical links.
RS-DCC RS-DCC is applicable to the small- or medium-scale sites that have a few physical links but many connected interfaces.

To enable the C-DCC function, use the dialer enable-circular command.

Precautions

If C-DCC is enabled on a physical interface, only this interface can initiate calls to remote ends. If C-DCC is enabled on a dialer interface, one interface or multiple interfaces can initiate calls to remote ends.

Run the dialer enable-circular command to view detailed information about the cellular interfaces, the device will set the DCC automatic dial-up interval to 10 seconds to prevent long automatic dial-up.

Example

# Enable C-DCC on Cellular0/0/0.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] dialer enable-circular
Related Topics

dialer number

Function

The dialer number command configures a dialer number for calling the remote end.

The undo dialer number command deletes a dialer number.

By default, no dialer number is configured.

Format

dialer number dial-number [ autodial ]

undo dialer number dial-number

Parameters

Parameter Description Value
dial-number Specifies the dialer number on an interface for calling the remote end. It is a string of 1 to 30 case-sensitive characters without any space.
NOTE:

When quotation marks are used around the string, spaces are allowed in the string.

autodial Configures an interface to automatically initiate a call according to the configured dialer number.

By default, the auto-dial interval is 300 seconds.

-

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In RS-DCC, if PPP encapsulation is enabled on the dialer interface, you can choose to use the dialer number command or not.

Prerequisites

Before using the dialer number command, ensure that either of the following conditions is met:

  • The dialer user command has been used to enable the RS-DCC function.

Precautions

In RS-DCC, the dialer interfaces of the calling end can have same dialer number, but the dialer interfaces of the called end cannot; otherwise, calls will be failed. In C-DCC, the dialer interfaces of both the calling end and called end can have same dialer number.

You can run the dialer number command multiple times on the same dialer interface to configure multiple dialer numbers for calling the remote end, except in the following situations:

  • If autodial is specified in the dialer number command, you can run the dialer number command only once on the dialer interface to configure a dialer number for calling the remote end.

Example

# Set the dialer number on dialer interface 1 to 11111.

<Huawei> system-view
[Huawei] interface dialer 1
[Huawei-Dialer1] dialer user userb
[Huawei-Dialer1] dialer number 11111
Related Topics

dialer priority

Function

Using the dialer priority command, you can set the priorities of physical interfaces in a dialer circular group.

Using the undo dialer priority command, you can restore the default interface priorities.

By default, the priorities of physical interfaces in a dialer circular group are 1.

Format

dialer priority priority

undo dialer priority

Parameters

Parameter Description Value
priority Specifies the priority of the physical interface in the dialer circular group. The value is an integer that ranges from 1 to 127. A larger value indicates a higher priority. The default value is 1.

Views

cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A dialer circular group of C-DCC may contain multiple physical interfaces. When a dialer interface needs to initiate a call, it chooses the physical interface with the highest priority from the local circular group to initiate the call. The dialer priority command sets the interface priorities in the dialer circular group.

Prerequisites

The physical interface has been added to the dialer circular group by the dialer circular-group command.

Precautions

If you run the dialer priority command multiple times in the same view, only the latest configuration takes effect.

Example

# Set the priority of Cellular0/0/0 in dialer circular group 0 to 5.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] dialer circular-group 0
[Huawei-Cellular0/0/0] dialer priority 5
Related Topics

dialer queue-length

Function

Using the dialer queue-length command, you can set the buffer queue length on a dial interface.

Using the undo dialer queue-length command, you can restore the default queue length.

By default, packets are not buffered on a dialer interface.

Format

dialer queue-length packets

undo dialer queue-length

Parameters

Parameter Description Value
packets Indicates the number of packets allowed in the buffer queue. The value is an integer that ranges from 1 to 100.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a dialer interface receives a packet but the call connection is not established, the dialer interface discards the packet. However, if a buffer queue is configured on the dialer interface, the dialer interface stores the packet in the buffer, and sends the packet after the call connection is established.

Precautions

  • If you run the dialer queue-length command multiple times in the same view, only the latest configuration takes effect.
  • If the buffer queue is long, the interface discards less packets, but a lot of system resources will be occupied. It is recommended that the queue length value be equal to or smaller than 20.

Example

# Set the buffer queue length on Dialer0 to 10.

<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer queue-length 10

dialer route

Function

Using the dialer route command, you can configure a dialer interface to dial the specified destinations or to receive the calls from multiple remote ends.

Using the undo dialer route command, you can delete the settings.

By default, no dialer route exists in the system.

Format

dialer route ip next-hop-address [ user hostname | broadcast ] * [ dial-string [ autodial | interface interface-type interface-number ] * ]

undo dialer route ip next-hop-address [ user hostname ] [ dial-string ] [ interface interface-type interface-number ]

Parameters

Parameter Description Value
ip next-hop-address Specifies the destination address, which is the address of the directly connected next hop. The value is in dotted decimal notation.
user hostname Specifies the remote end user name for incoming call authentication. If the user name is specified, you must configure PPP authentication. The value is a string of 1 to 32 case-sensitive characters without spaces.
broadcast Indicates that broadcast packets (such as OPSF and RIP packets) can be sent through the dialer route. -
dial-string Specifies the dialer number used to call the remote end. The dialer number is used only when the interface initiates a call to the remote end.
NOTE:

This parameter must be specified to ensure that a call is successfully initiated to the remote end.

The value is a string of 1 to 30 case-sensitive characters. Spaces are allowed.
autodial Indicates that the interface will automatically initiate calls. If this parameter is specified, the industrial switch router dials using the local dialer route at an interval (the interval is set by dialer timer autodial). -
interface interface-type interface-number Specifies the physical interface where the dialer route is configured. -

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a dialer interface in C-DCC needs to dial multiple destinations or receive calls from multiple remote ends, the data of the destinations or remote ends must be configured on the router by using the dialer route command.

Prerequisites

The C-DCC function has been enabled by the dialer enable-circular command.

Precautions

  • The dialer route command cannot be used on the interface enabled with RS-DCC. That is, the dialer route and dialer user commands cannot be used on the same interface.
  • When a dialup interface is a 3G cellular interface or the physical interface of a dialer interface is a 3G cellular interface, you can only use the dialer number command to configure a dialer number but cannot use the dialer route command.
  • Multiple dialer routes can be configured on a dialer interface. A destination address can be specified in multiple dialer routes, and the dialer routes to the same destination are the backup of each other.
  • The dialer route command specifies only one destination. To specify multiple destinations for a dialer interface, run this command multiple times.
    NOTE:

    When the standby routing-group command is used to specify a standby routing group for a dialer interface, the dialer route command specifies only one destination.

Example

# Configure Dialer0 to initiate a call to the remote end with the IP address 10.10.10.5 and user name user1, and set the dialer number to 12345678.

<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer enable-circular
[Huawei-Dialer0] dialer route ip 10.10.10.5 user user1 12345678

dialer timer autodial

Function

Using the dialer timer autodial command, you can set the auto-dial interval.

Using the undo dialer timer autodial command, you can restore the default auto-dial interval.

By default, the auto-dial interval is 300 seconds.

Format

dialer timer autodial seconds

undo dialer timer autodial

Parameters

Parameter Description Value
seconds Specifies the auto-dial interval. The value is an integer that ranges from 1 to 604800, in seconds. The default value is 300.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command is only applied to C-DCC.

A DCC router immediately attempts to dial the remote end after starting. The dialing process is not triggered by data packets. If a connection cannot be established with the remote end, the router retries at an interval set by the dialer timer autodial command.

Prerequisites

The C-DCC function has been enabled by the dialer enable-circular command.

Precautions

  • The DCC router attempts to dial the remote end at the interval of seconds until the call connection is established.
  • The dialer timer autodial command may be used together with the dialer route command or the dialer number command that contains the autodial keyword. The auto-dial function is not triggered by packets, and the call connection established by auto-dial will not age out. That is, the dialer timer idle command is invalid for the call connection established by auto-dial.

Example

# Set the auto-dial interval to 60 seconds on Dialer0.

<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer enable-circular
[Huawei-Dialer0] dialer timer autodial 60

dialer timer compete

Function

Using the dialer timer compete command, you can set the compete-idle timer after a competition occurs among interfaces.

Using the undo dialer timer compete command, you can restore the default compete-idle timer.

By default, the compete-idle timer is 20 seconds.

Format

dialer timer compete seconds

undo dialer timer compete

Parameters

Parameter Description Value
seconds Specifies the compete-idle timer on an interface after a competition occurs among interfaces. The value is an integer that ranges from 0 to 65535, in seconds. The default value is 20.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A competition occurs when all channels are occupied. The compete-idle timer takes effect when the competition occurs.

If the compete-idle timer is not set, the idle-timer takes effect for an established link. When a call to another destination needs to be established, the system replaces the idle timer with the compete-idle timer to control the ongoing call. When the idle time of the ongoing call reaches the compete-idle timer, the call is disconnected.

Precautions

The compete-idle timer must be smaller than the idle timer set by dialer timer idle.

Example

# Set the idle timer to 50 seconds and compete-idle timer to 10 seconds on Dialer0.

<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer timer idle 50
[Huawei-Dialer0] dialer timer compete 10

dialer timer enable

Function

Using the dialer timer enable command, you can set the delay in initiating a new call after the previous call is disconnected.

Using the undo timer enable command, you can restore the default setting.

By default, a new call is initiated 5 seconds after the previous call is disconnected.

Format

dialer timer enable seconds

undo dialer timer enable

Parameters

Parameter Description Value
seconds Specifies the delay in initiating a new call after the previous call is disconnected. The value is an integer that ranges from 5 to 65535, in seconds. The default value is 5.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a DCC line is disconnected due to a fault or hang-up, the link is established again only after a certain period of time. This prevents PBX overloading. The dialer timer enable command sets this period of time.

Prerequisites

Before using this command for an RS-DCC, run the dialer user command to set the remote end user name.

Precautions

If you run the dialer timer enable command multiple times in the same view, only the latest configuration takes effect.

Example

# Set the delay to 10 seconds on Cellular0/0/0.

<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer user userb
[Huawei-Dialer0] dialer timer enable 10
Related Topics

dialer timer idle

Function

Using the dialer timer idle command, you can set the maximum link idle time on an interface. During this period of time, no Interesting packet is transmitted over the link.

Using the undo dialer timer idle command, you can restore the default link idle time.

By default, the maximum link idle time is 120 seconds.

Format

dialer timer idle seconds

undo dialer timer idle

Parameters

Parameter Description Value
seconds Specifies the maximum link idle time. The value is an integer that ranges from 0 to 65535, in seconds. The default value is 120.0 indicates that the idle time is infinite. A link is always connected even if no Interesting packet transmitted.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The dialer timer idle command sets the maximum idle time for links. If no data is transmitted over a link within the idle time, the link is disconnected. This saves resources and costs.

Precautions

  • If you run the dialer timer idle command multiple times in the same view, only the latest configuration takes effect.
  • This command affects only new calls but not the established calls.

Example

# Set the maximum link idle time on Dialer0 to 100 seconds.

<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer timer idle 100
Related Topics

dialer timer wait-carrier

Function

Using the dialer timer wait-carrier command, you can set the wait-carrier timer.

Using the undo dialer timer wait-carrier command, you can restore the default wait-carrier timer.

By default, the wait-carrier timer is 60 seconds.

Format

dialer timer wait-carrier seconds

undo dialer timer wait-carrier

Parameters

Parameter Description Value
seconds Specifies the wait-carrier timer of calls. The value is an integer that ranges from 0 to 65535, in seconds. The default value is 60.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The wait-carrier timer controls the call setup time.

The wait-carrier timer starts when a call is initiated. If the call cannot be set up before the wait-carrier timer expires, the DCC aborts the call setup process.

Precautions

If you run the dialer timer wait-carrier command in the same view multiple times, only the latest configuration takes effect.

Example

# Set the wait-carrier timer on Dialer0 to 80 seconds.

<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer timer wait-carrier 80
Related Topics

dialer timer warmup

Function

Using the dialer timer warmup command, you can set the warmup timer on the router configured with the dial-up backup function, that is, the delay for this function to take effect after the system starts.

Using the undo dialer timer warmup command, you can restore the default warmup timer.

By default, the warmup timer is 30 seconds.

Format

dialer timer warmup seconds

undo dialer timer warmup

Parameters

Parameter Description Value
seconds Specifies the warmup timer for the dial-up backup function. The value is an integer that ranges from 0 to 65535, in seconds. The default value is 30.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The warmup timer starts when the system is started, and the system enables the dial-up backup function after the warmup timer expires. The warmup timer reduces the impact of route flapping. Before the warmup timer expires, the system does not use the backup link to initiate calls.

Configuration Impact

After a router configured with the dial-up backup function starts, it does use the backup link within the warmup time even if the active link is not Up.

Example

# Set the warmup timer to 20 seconds.

<Huawei> system-view
[Huawei] dialer timer warmup 20
Related Topics

dialer user

Function

Using the dialer user command, you can enable the resource-share DCC (RS-DCC) function and set the remote end user name.

Using the undo dialer user command, you can disable the RS-DCC function and delete the remote user name.

By default, the RS-DCC function is disabled and the remote user name is not set.

Format

dialer user user-name

undo dialer user [ user-name ]

Parameters

Parameter Description Value
user-name Indicates the remote end user name. If this parameter is not specified when you run the undo dialer user command, the RS-DCC function is disabled and all the remote user names are deleted. If this parameter is specified, the specified user name is deleted. The value is a string of 1 to 32 case-sensitive characters without spaces.

Views

Dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the data to be transmitted is delay-insensitive, bursting, and has a small volume, the routers can use the dial control center (DCC) mode to reduce costs. DCC sets up a call connection only when there is data to be transmitted. DCC is a flexible, cost-effective, and efficient solution. After DCC is used on the routers connected with the PSTN, the routers set up a connection by dialing only when there is data to be transmitted between them. That is, they start the DCC process to transmit signal, and tear down the connection when no data is transmitted on the link.

DCC supports extensible dial-on-demand functions to meet various application requirements. It is applicable to the following major scenarios:
  • DCC uses link backup to ensure normal communication. When communication fails because of a link error or other reasons, the backup link is used to continue the communication.
  • DCC on a PPPoE client saves costs for users.
The device supports two DCC modes: C-DCC and resource-shared DCC (RS-DCC). The two modes are applicable to different scenarios. The two ends in communication can adopt different modes. You can choose the DCC modes according to the following table.
DCC Mode Usage Scenario
C-DCC C-DCC is applicable to the medium- or large-scale sites that have many physical links.
RS-DCC RS-DCC is applicable to the small- or medium-scale sites that have a few physical links but many connected interfaces.

To enable the RS-DCC function, use the dialer user command.

If PPP encapsulation is configured on dialer interfaces of RS-DCC, the system chooses a dialer interface to receive a call according to the remote user name negotiated by PPP.

Follow-up Procedure

After using the dialer user command, set other RS-DCC parameters, such as the dialer bundle and dialer number for the dialer interface.

Precautions

  • This command is applied only to RS-DCC.
  • If you run the dialer user command multiple times in the dialer interface view, multiple remote end user names are mapped to the dialer interface.

Example

# Enable RS-DCC on interface dialer 3 and set the remote end user names to RouterA and RouterB.

<Huawei> system-view
[Huawei] interface dialer 3
[Huawei-Dialer3] dialer user RouterA
[Huawei-Dialer3] dialer user RouterB
Related Topics

dialer-group

Function

Using the dialer-group command, you can add an interface to a dialer access group.

Using the undo dialer-group command, you can delete an interface from a dialer access group.

By default, an interface does not belong to any dialer access group.

Format

dialer-group group-number

undo dialer-group

Parameters

Parameter Description Value
group-number Specifies the dialer access group for an interface. The dialer access group is configured by the dialer-rule command.

The value is an integer that ranges from 1 to 128.

The value of group-number must be the same as the value of dialer-rule-number in the dialer-rule command.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The DCC dialer ACL must be configured correctly and associated to interfaces (physical interfaces and dialer interfaces) by using the dialer-group command; otherwise, DCC packets cannot be sent. The dialer-group command adds interfaces to dialer access groups to control packet sending on the interfaces.

Prerequisites

Before running the dialer-group command, run the dialer user command to enable the RS-DCC function or the dialer enable-circular command to enable the Circular DCC function; otherwise, the dialer-group command cannot take effect.

Precautions

An interface belongs to only one dialer access group. If you run the dialer-group command in the same interface view multiple times, only the latest configuration takes effect.

Example

# Add Dialer0 to dialer access group 1.

<Huawei> system-view
[Huawei] dialer-rule
[Huawei-dialer-rule] dialer-rule 1 acl 3001
[Huawei-dialer-rule] quit
[Huawei] interface dialer 0
[Huawei-Dialer0] dialer user userb
[Huawei-Dialer0] dialer-group 1

dialer retry limit

Function

The dialer retry limit command sets the quiet duration and retransmission times in the quiet duration.

The undo dialer retry limit command restores the default settings.

By default, the quiet duration and retransmission times in the quiet duration are not set on a router.

Format

dialer retry limit counts quiet-period period

undo dialer retry limit

Parameters

Parameter Description Value
counts Specifies retransmission times in the quiet duration. The value is an integer that ranges from 1 to 65535.
quiet-period period Specifies the quiet duration. The value is an integer that ranges from 1 to 65535, in seconds.

Views

Dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a device of other vendors functions as the PPPoE server, it limits the number of connection attempts of a client in a specified period (quiet duration). When the number of connection attempts exceeds the threshold, the device no longer receives connection requests from the client.

When a router functions as a PPPoE client, it continuously sends connection requests to the PPPoE server until a connection is established. When the number of connection attempts in the quiet duration exceeds the maximum value allowed on the PPPoE server, the PPPoE server no longer receives connection requests from the client until the quiet duration times out. However, the client still sends connection requests to the PPPoE server in the quiet duration, wasting resources.

To address this problem, set the quiet duration and retransmission times in the quiet duration. When the number of retransmission times in the quiet duration exceeds the threshold, the client stops sending connection requests to the server until the quiet duration times out.

Prerequisites

You have run the dialer user command to enable RS-DCC function. Otherwise, the dialer retry limit command cannot take effect.

Precautions

If you run the dialer retry limit command multiple times in the same view, only the latest configuration takes effect.

Example

# Set the quiet duration to 10s and retransmission times in the quiet duration to 20.

<Huawei> system-view
[Huawei] interface dialer 1
[Huawei-Dialer1] dialer user userb
[Huawei-Dialer1] dialer retry limit 20 quiet-period 10
Related Topics

dialer threshold

Function

The dialer threshold command sets the load threshold of a DCC link. When the percentage of traffic in available bandwidth of all DCC links exceeds the configured percentage, another link is initiated to call the same destination.

The undo dialer threshold command restores the default setting.

By default, flow control is disabled.

Format

dialer threshold traffic-percentage [ in | in-out | out ]

undo dialer threshold

Parameters

Parameter Description Value
traffic-percentage Specifies the percentage of traffic in available bandwidth. The value is an integer that ranges from 0 to 99. A value no larger than 90 is recommended.
in Indicates that only incoming traffic is calculated during actual load calculation. -
in-out Indicates that only the higher of incoming traffic and outgoing traffic is calculated during actual load calculation. -
out Indicates that only outgoing traffic is calculated during actual load calculation. -

Views

Dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In DCC applications, you can configure the load threshold of links.

  • When the load threshold ranges from 1 to 99, you can adjust the allocated bandwidth for MP bundle according to the percentage of actual traffic in available bandwidth.

    • When the percentage of traffic in bandwidth of a DCC link exceeds the configured load threshold, a second DCC link is initiated to work with the first DCC link for MP bundle. When the percentage of traffic in bandwidth of the two DCC links exceeds the configured load threshold, a third DCC link is initiated to work with the two DCC links for MP bundle. The rest may be deduced by analogy. This implementation ensures that DCC links have proper loaded traffic.
    • When the percentage of traffic of N links (N is an integer that is larger than 1) in bandwidth of N-1 links is smaller than the configured load threshold, the system shuts down a link. The rest may be deduced by analogy. This implementation ensures that DCC link usage efficiency is in the proper range.
  • When the load threshold is 0, all available links are initiated to call the destination without traffic detection during auto-dial or traffic-triggered dialup. The links on which calls have been set up are not terminated because of timeout.

Prerequisites

The remote user name has been configured using the dialer user command or C-DCC has been enabled using the dialer enable-circular command.

Precautions

  • In C-DCC, this command is used on the interfaces in a dialer circular group. In RS-DCC, this command can only be used on dialer interfaces.

  • This command can be used only when the dialer number command is used for dialup.

  • This command only takes effect in the outgoing call scenario, not the incoming call scenario.

Example

# Set the load threshold of Dialer1 to 80%.

<Huawei> system-view
[Huawei] interface dialer 1
[Huawei-Dialer1] dialer threshold 80

dialer-rule (dialer-rule view)

Function

Using the dialer-rule command, you can specify a dialer access control list (ACL) for a dialer access group. The dialer ACL defines conditions to initiate calls.

Using the undo dialer-rule command, you can delete a dialer ACL.

By default, no dialer ACL is configured.

Format

dialer-rule dialer-rule-number { acl { acl-number | name acl-name } | ip { deny | permit } | ipv6 { deny | permit } }

undo dialer-rule dialer-rule-number [ acl | ip | ipv6 ]

Parameters

Parameter Description Value
dialer-rule-number Specifies the number of a dialer access group.

The value is an integer that ranges from 1 to 128.

The value is the same as the value of group-number in the dialer-group command.

acl { acl-number | name acl-name } Indicates the number or name of the dialer ACL. The value of acl-number is an integer that ranges from 2000 to 3999. The value of acl-name is a string of 1 to 32 case-sensitive characters without space. The name must start with an English letter (a to z, or A to Z) and can be a mixture of English letters, digits, hyphens (-), or underlines (_).
ip { deny | permit } Indicates whether the dialer ACL allows or forbids IPv4 packets. -
ipv6 { deny | permit } Indicates whether the dialer ACL allows or forbids IPv6 packets. -

Views

Dialer-rule view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A dialer ACL filters all the packets passing a dialer interface.

The DCC dialer ACL must be configured and associated to the interfaces (physical interfaces and dialer interfaces) by using the dialer-group command; otherwise, DCC packets cannot be sent. You can configure filtering rules for a dialer ACL or associate an existing ACL to the dialer ACL.

Prerequisites

The ACL to be associated to the dialer ACL has been created.

Precautions

To control packet sending on a DCC dialer interface, run the dialer-rule command to configure a dialer ACL for the interface, and then run the dialer-group command to add the interface to a dialer access group.

If thedialer-group of a dialer interface does not have a dialer-rule, the packets from the interface are considered as Uninteresting packets and are discarded.

Example

# Create dialer ACL 1, which permits all IPv4 packets and rejects all IPv6 packets.

<Huawei> system-view
[Huawei] dialer-rule
[Huawei-dialer-rule] dialer-rule 1 ip permit

# Create dialer ACL 1, which permits all IPv4 and IPv6 packets.

<Huawei> system-view
[Huawei] dialer-rule
[Huawei-dialer-rule] dialer-rule 1 ip permit
[Huawei-dialer-rule] dialer-rule 1 ipv6 permit
Related Topics

dialer-rule (system view)

Function

Using the dialer-rule command, you can enter the dialer rule view.

Format

dialer-rule

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before you use the dialer-rule (dialer rule view) command to configure the dialer access control list (ACL), you must run this command to enter the dialer rule view.

Follow-up Procedure

Configure the dialer ACL by using the dialer-rule (dialer rule view) command.

Example

# Enter the dialer rule view.

<Huawei> system-view
[Huawei] dialer-rule
[Huawei-dialer-rule] 

display dialer

Function

Using the display dialer command, you can view the DCC information on an interface.

Format

display dialer [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays the DCC information on an interface. If this parameter is not specified, the DCC information on all interfaces is displayed. The interface can be a physical interface or a dialer interface.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If a DCC fault occurs, you can use the command to view the configuration information on the dialer interface. The configuration information helps you analyze the DCC dialing process to locate the fault.

Example

# Display configuration information on interface dialer 1.

<Huawei> display dialer interface dialer 1
Dial Interface:Dialer1                                                          
   Dialer Route:                                                                
   NextHop_address Dialer_Numbers                                               
           2.2.2.2                                                              
                                                                                
   Dialer Timers(Secs):                                                         
   Auto-dial:4800    Compete:20    Enable:5
   Idle:120    Wait-for-Carrier:60
Table 6-1  Description of the display dialer command output

Item

Sub-item

Description

Dialer Route

NextHop_address

-

Dialer_Numbers

Dialer number set by dialer number.

Dialer Timers(Secs)

Auto-dial

-

Compete

Compete-idle timer set by dialer timer compete.

Enable

Link disconnection time set by dialer timer enable.

Idle

Maximum link idle time set by dialer timer idle.

Wait-for-Carrier

Wait-carrier timer set by dialer timer wait-carrier.

display interface dialer

Function

Using the display interface dialer command, you can view information about dialer interfaces.

Format

display interface dialer [ number ]

Parameters

Parameter Description Value
number Displays information about a dialer interface. If this parameter is not specified, information about all dialer interfaces is displayed. The value range of number depends on the number range of dialer interfaces. Only the numbers of created dialer interfaces are displayed.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When monitoring the interface status or locating faults on a dialer interface, run the display interface dialer command on the interface. According to the output information, you can collect traffic statistics and locate faults on the interface.

Example

# Display information about interface dialer 1.

<Huawei> display interface dialer 1
Dialer1 current state : UP
Line protocol current state : UP (spoofing)
Description:HUAWEI, AR Series, Dialer1 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 1.1.1.1/24
Link layer protocol is PPP
LCP opened
Physical is Dialer
Current system time: 2010-08-24 22:57:27-05:13
    Last 300 seconds input rate 0 bits/sec, 0 packets/sec
    Last 300 seconds output rate 0 bits/sec, 0 packets/sec
    Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec
    Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec
    Input: 0 bytes
    Output:0 bytes
    Input bandwidth utilization  : 0.00%
    Output bandwidth utilization : 0.00% 
Table 6-2  Description of the display interface dialer command output

Item

Description

Dialer1 current state

Physical status of the dialer interface:
  • UP: indicates that the physical status of the interface is Up.

  • DOWN: indicates that the interface has a fault.

  • Administratively down: indicates that the network administrator has run the shutdown command on the interface.

Line protocol current state

Link-layer protocol status of the dialer interface:
  • UP (spoofing): indicates that the link-layer protocol status of the interface is Up.

    spoofing indicates that the link-layer protocol of the dialer interface is logically Up and dial-up can be performed.

  • DOWN: indicates that the link-layer protocol status of the interface is Down or no IP address is assigned to the interface. damping indicates that the interface is suppressed because of frequent flapping.

Description

Interface description.

The Maximum Transmit Unit

Maximum transmit unit (MTU) of the interface.

Hold timer

Heartbeat interval after the PPP LCP negotiation status becomes Opened.

Internet Address

Interface IP address. If no IP address is assigned to the dialer interface, the system displays "Internet protocol processing: disabled."

Link layer protocol is PPP

The link-layer protocol is PPP.

LCP

LCP negotiation status:
  • Initial: indicates that the physical layer is faulty.
  • Starting: indicates that the physical layer is starting. This state lasts for a short time.
  • Closed: indicates that the system has sent a Terminate-Ack packet to terminate the connection after receiving the Configure-Request packet.
  • Stopped: indicates that the system receives the Configure-Request packet, but does not receive a Configure-Ack packet from the peer device. The system then sends a Terminate-Ack packet.
  • Closing: indicates that the connection is being closed. The system enters the Closed state if it receives a Configure-Ack packet from the peer device or the timer expires. This state lasts for a short time.
  • Stopping: indicates that the connection is being closed to prevent subsequent traffic. This state lasts for a short time.
  • Req-Sent: indicates an attempt to establish a connection. The system has sent a Configure-Request packet, but does not receive a Configure-Ack packet.
  • Ack-Rcvd: indicates that the system has sent a Configure-Request packet and receives a Configure-Ack packet from the peer device, but does not send a Configure-Ack packet to the peer device.
  • Ack-Sent: indicates that the system has sent a Configure-Request packet and a Configure-Ack packet to the peer device, and receives a Configure-Ack packet from the peer device.
  • Opened: indicates that the system has sent a Configure-Ack packet to the peer device and receives a Configure-Ack packet from the peer device. This indicates that the link layer works properly.
Physical is Dialer

The interface is a dialer interface.

Current system time Current system time.

Last 300 seconds input rate 0 bits/sec, 0 packets/sec

Last 300 seconds output rate 0 bits/sec, 0 packets/sec

Rates of packets sent and received in the last 300 seconds, expressed in bits per second and packets per second.

Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec

Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec

Rates of packets sent and received when the display interface dialer command is being executed.

Input: 0 bytes

Output:0 bytes

Total number of bytes sent and received by the interface.

Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.00%

Upstream bandwidth usage and downstream bandwidth usage on the interface.

interface dialer

Function

Using the interface dialer command, you can create a dialer interface and enter the dialer interface view.

Using the undo interface dialer command, you can delete the dialer interface.

By default, no dialer interface exists.

NOTE:

The AR500 series do not support this command.

Format

interface dialer number

undo interface dialer number

Parameters

Parameter Description Value
number Specifies the number of a dialer interface.

The value is an integer that ranges from 0 to 127.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

DCC allows routers to communicate by using the Public Switched Telephone Network (PSTN) and provides on-demand dialup services. The device supports two DCC modes: circular DCC (C-DCC) and resource-shared DCC (RS-DCC).

A dialer interface is a logical interface that is used to implement DCC. After a physical interface is bound to a dialer interface, the physical interface inherits the configurations of the dialer interface.

This command is applied to C-DCC and RS-DCC. When you create a dialer interface for C-DCC, a dialer circular group with the same number as the dialer interface is also created. When you create a dialer interface for RS-DCC, only the dialer interface will be created.

Example

# Create interface dialer 1.

<Huawei> system-view
[Huawei] interface dialer 1

standby routing-group

Function

Using the standby routing-group command, you can specify a standby routing group for a dialer interface. This dialer interface is then used as a standby dialer interface.

Using the undo standby routing-group command, you can cancel the setting.

By default, the standby routing function is disabled.

Format

standby routing-group group-number

undo standby routing-group group-number

Parameters

Parameter Description Value
group-number Specifies the standby routing group for a dialer interface. The value is an integer that ranges from 1 to 255.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A standby routing group contains some monitored network segments. If the system detects that a monitored network segment does not have a reachable route, it uses the standby dialer interface for dialing. The standby routing-group command specifies the standby dialer interface.

Prerequisites

The basic DCC function has been enabled on the standby dialer interface and the standby routing group has been created by the standby routing-rule command.

Precautions

After the route in the monitored network segment is recovered, the system can disconnect the standby dialer interface immediately or after a specified timer expires. This timer is set by the standby timer routing-disable command.

Example

# Specify a standby routing group for Dialer 0.

<Huawei> system-view
[Huawei] interface dialer 0 
[Huawei-Dialer0] standby routing-group 1

standby routing-rule

Function

Using the standby routing-rule command, you can create a standby routing group and add the network segments to be monitored to the group.

Using the undo standby routing-rule command, you can delete a standby routing group or delete network segments from the standby routing group.

By default, no standby routing group exists.

Format

standby routing-rule group-number ip ip-address { mask | mask-length }

undo standby routing-rule group-number [ ip ip-address { mask | mask-length } ]

Parameters

Parameter Description Value
group-number Specifies the number of the standby routing group. The value is an integer that ranges from 1 to 255.
ip ip-address Specifies the network segment to be monitored. The value of ip-address is in dotted decimal notation.
mask Specifies the mask of the network segment to be monitored. The value is in dotted decimal notation.
mask-length Specifies the mask length of the network segment to be monitored. The value is an integer that ranges from 0 to 32.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A standby routing group contains some monitored network segments. When there is no reachable route to any of the monitored network segments, the standby dialer interface is used for dialing.

Configuration Impact

Follow-up Procedure

After creating a standby routing group, use the standby routing-group command to specify this group for a dialer interface.

Precautions

You can add multiple network segments to a standby routing group. The system uses the standby dialer interface only when no network segment has a reachable route.

Example

# Create standby routing group 1 and add network segment 10.0.0.0/8 to the group.

<Huawei> system-view
[Huawei] standby routing-rule 1 ip 10.0.0.0 255.0.0.0
Related Topics

standby timer routing-disable

Function

Using the standby timer routing-disable command, you can set the delay to disconnect the standby dialer interface after the routes in the monitored network segment are recovered.

Using the undo standby timer routing-disable command, you can restore the default delay.

By default, when the routes in a network segment are recovered, the system disconnects the standby dialer interface after a 20-second delay.

Format

standby timer routing-disable seconds

undo standby timer routing-disable

Parameters

Parameter Description Value
seconds Specifies the delay to disconnect the standby dialer interface. If this parameter is set to 0, the system immediately disconnects the standby dialer interface when the routes in a network segment are recovered. The value is an integer that ranges from 0 to 65535, in seconds. The default value is 20.

Views

dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The standby timer routing-disable command sets a delay to disconnect the standby dialer interface. This delay prevents route flapping after the routes in the network segment are recovered.

Configuration Impact

If you run the standby timer routing-disable command in the same view multiple times, only the latest configuration takes effect.

Example

# Set the delay to disconnect the standby dialer interface to 15 seconds on Dialer 0.

<Huawei> system-view
[Huawei] interface dialer 0 
[Huawei-Dialer0] standby timer routing-disable 15
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 90701

Downloads: 124

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next