13-Dial-up Command


Chapter 1  DCC Configuration Commands

1.1  DCC Configuration Commands

1.1.1  debugging dialer

Syntax

debugging dialer { all | event | packet }

View

System view

Parameter

event: Enables DCC event debugging.

packet: Enables DCC packet debugging.

Description

Use the debugging dialer command to enable DCC debugging.

Example

None

1.1.2  dialer bundle

Syntax

dialer bundle number

undo dialer bundle

View

Dialer interface view

Parameter

number: Number of dialer bundle, ranging from 1 to 255.

Description

Use the dialer bundle command to configure a dialer bundle used by a dialer interface.

Use the undo dialer bundle command to disassociate the dialer bundle from the dialer interface.

By default, the Resource-Shared DCC is not enabled, neither is dialer bundle specified.

This command can be applied only on a dialer interface for configuring the dialer bundle that the interface will use. Furthermore, a dialer interface can only use a dialer bundle. This command can be used to specify a dialer bundle used by a dialer interface, no matter what link-protocol, PPP or Frame Relay, runs on the interface.

Related command: dialer bundle-member.

Example

# Configure the interface Dialer1 to use dialer bundle3, in which the interface Serial0 is included.

[H3C-Dialer1] dialer bundle 3

[H3C-Serial0/0/0] dialer bundle-member 3

1.1.3  dialer bundle-member

Syntax

dialer bundle-member number [ priority priority | max-link max-num | min-link min-num]

undo dialer bundle-member number

View

Physical interface view

Parameter

number: Dialer bundle number ranging from 1 to 255.

priority: Priority of the physical interface in the dialer bundle, ranges from 1 to 255. The physical interface with higher priority will be used first. This is an optional parameter. By default, priority is 1.

max-num: The maximum number of channels that can be used.

min-num: The minimum number of channels that can be used.

Description

Use the dialer bundle-member command to configure a physical interface included in a dialer bundle in the Resource-Shared DCC application.

Use the undo dialer bundle-member command to remove the physical interface from the dialer bundle.

By default, the physical interface is not assigned to any dialer bundle.

This command can only be applied to a physical interface, which can be assigned to multiple dialer bundles.

 

&  Note:

To enable the B channel of ISDN interface (BRI or PRI) to configure its link layer protocol dynamically in terms of the Dialer interface it belongs to, link layer protocol that the interface uses should be specified as PPP.

 

Related command: dialer bundle.

Example

# Make Bri1/0/0 a member of dialer bundle1 and dialer bundle2, and assigns it a priority of 50.

[H3C] interface bri 1/0/0

[H3C-Bri1/0/0] dialer bundle-member 1 priority 50

[H3C-Bri1/0/0] dialer bundle-member 2 priority 50

1.1.4  dialer callback-center

Syntax

dialer callback-center [ user ] [ dial-number ]

undo dialer callback-center

View

Physical or dialer interface view

Parameter

user: Calls back according to the parameter user hostname configured in the dialer route command.

dial-number: Calls back according to the parameter telephone-number configured in the local-user callback-number command.

Description

Use the dialer callback-center command to enable the callback server function.

Use the undo dialer callback-center command to disable the callback server function of a router.

By default, PPP callback server is not configured.

This command must be configured at the server end when PPP is used to implement callback.

The parameter user indicates that DCC will call back according to the parameter configured in the dialer route command. The parameter dial-number indicates that DCC will call back the remote end according to the callback-number configured in the local-user command.

When both user and dial-number are applied concurrently, the router will first attempt to place a return call according to the first parameter. If the callback attempt fails, it will try the second parameter for callback.

Related command: ppp callback, ppp authentication-mode.

Example

# Configure a remote username and set the router to call the user back.

[H3C] local-user H3Cb password simple H3Cb

[H3C] interface serial0/0/0

[H3C-Serial0/0/0] dialer route ip 1.1.1.2 user H3Cb 8810052

[H3C-Serial0/0/0] dialer callback-center user

1.1.5  dialer call-in

Syntax

dialer call-in remote-number [ callback ]

undo dialer call-in remote-number [ callback ]

View

Physical or dialer interface view

Parameter

remote-number: Used for matching the remote incoming call number. The character “*” represents any character.

callback: When calling back the server end, the incoming number will match with the dialer call-in command containing this keyword and originate a callback.

Description

Use the dialer call-in command to enable ISDN callback according to ISDN caller ID.

Use the undo dialer call-in command to cancel the configuration.

By default, ISDN callback according to ISDN caller ID is not configured.

This command must be configured at the server end when ISDN caller ID is applied for callback. In Resource-Shared DCC, because both PPP and frame relay protocols can be encapsulated on dialer interfaces, ISDN interface can encapsulate link layer protocol dynamically according to corresponding dialer interface.

The caller first searches corresponding dialer interface by matching the caller number with the dialer number command. The dialer call-in command is used to preprocess the ISDN call-in number, determining whether the user with this number can be permitted to access. If the PBX switch does not provide the caller number, refuse the call directly.

Related command: dialer callback-center.

Example

# Configure the router to call back the calling number 8810152.

[H3C-Bri0/0/0] dialer route ip 100.1.1.2 8810152

[H3C-Bri0/0/0] dialer call-in 8810152 callback

1.1.6  dialer call-out enable

Syntax

dialer call-out enable

undo dialer call-out enable

View

Physical interface or dialer interface view

Parameter

None

Description

Use the dialer call-out enable command to enable an interface to originate calls.

Use the undo dialer call-out enable command to disable an interface from originating calls.

By default, an interface is enabled to originate calls.

Example

# Disable interface dialer 1 from originating calls.

<H3C> system-view

[H3C] interface dialer 1

[H3C-Dialer1] undo dialer call-out enable

1.1.7  dialer circular-group

Syntax

dialer circular-group number

undo dialer circular-group

View

Physical interface view

Parameter

number: Number of the dialer circular group, and a physical interface belongs to this specified group, ranges from 0 to 1023. This number is defined through the interface dialer command.

Description

Use the dialer circular-group command to add the physical interface to a dialer circular group specified here.

Use the undo dialer circular-group command to cancel the configuration.

By default, the physical interface is not a member of any dialer circular group.

One physical interface can only be added to one dialer circular group, which may contain multiple physical interfaces. When a call is originated on a dialer interface, the highest priority physical interfaces in the circular group on the dialer interface will place the call.

Related command: interface dialer.

Example

# Assign Serial1/0/0 and Serial2/0/0 to dialer circular group1.

[H3C-Serial1/0/0] dialer circular-group 1

[H3C-Serial2/0/0] dialer circular-group 1

1.1.8  dialer disconnect

Syntax

dialer disconnect interface [ interface-type interface-number ]

View

Any view

Parameter

interface-type: Specifies an interface together with interface-number.

interface-number: Specifies an interface together with interface-type.

Description

Use the dialer disconnect command to clear the dial-up link or the session link on the specified interface at the PPPoE/PPPoA client.

The type of the specified interface can be dialer, D channel (on a PRI or BRI interface for example), or B channel (on an RI, BRI, AUX, Serial, or AM interface for example).

Related command: debugging dialer.

Example

# Clear the dial-up link or the session link on the specified interface at the PPPoE client.

[H3C] dialer disconnect interface dialer0

# Clear the specified D channel.

[H3C] dialer disconnect interface Serial1/0/0:15

# Clear the specified B channel.

[H3C] dialer disconnect interface Serial1/0/0:2

1.1.9  dialer enable-circular

Syntax

dialer enable-circular

undo dialer enable-circular

View

Physical or dialer interface view

Parameter

None

Description

Use the dialer enable-circular command to enable Circular DCC.

Use the undo dialer enable-circular command to disable Circular DCC.

By default, Circular DCC is enabled on the ISDN interfaces and disabled on other interfaces.

The user must use this command to enable it before using Circular DCC.

Related command: dialer circular-group.

Example

# Enable Circular DCC on Serial 0/0/0.

[H3C-Serial0/0/0] dialer enable-circular

1.1.10  dialer isdn-leased

Syntax

dialer isdn-leased number

undo dialer isdn-leased number

View

Physical or dialer interface view

Parameter

number: Number of the ISDN B channel for leased line connection. It is in the range 0 to 1 if the channel is on a BRI interface, and in the range 0 to 30 on a PRI interface, and 0 to 23 on a CT1/PRI interface.

Description

Use the dialer isdn-leased command to configure an ISDN B channel (can be either the channel on a BRI or PRI interface) to be the leased line.

Use the undo dialer isdn-leased command to cancel the setting.

By default, no ISDN B channel is configured to be leased line.

The user can configure any ISDN B channel to be the leased line without affecting the settings of other B channels.

 

&  Note:

On an ISDN BRI interface, you may configure ISDN BRI 128k leased line in addition. For more information, refer to the dialer isdn-leased command in the chapter “ISDN Configuration Commands” in the part “Link Layer Protocol” of this manual.

 

Related command: dialer isdn-leased (in the “Link Layer Protocol” part of this manual).

Example

# Configure the first B channel on the interface Bri0/0/0 to be the leased line.

[H3C-Bri0/0/0] dialer isdn-leased 1

1.1.11  dialer number

Syntax

dialer number dial-number

undo dialer number

View

Physical or dialer interface view

Parameter

dial-number: Dial number for calling a remote end.

Description

Use the dialer number command to configure a dial number for placing a call to a single remote end.

Use the undo dialer number command to cancel the configured dial number.

By default, no dial number is set for calling the remote end.

This command is used when the dialer interface of Circular DCC serves as caller end and the dialer originates calls to only one destination address or the default address. This command is only valid after at least one of the following requirements is satisfied:

l           The dialer route command is not configured on the interface.

l           The next hop address that sends packets cannot be found in the corresponding dialer route command.

When dialer interfaces of Resource-Shared DCC run link protocol of PPP, the remote user names, which are obtained via PPP authentication and configured with dialer user respectively, will decide which dialer interface will receive the incoming call. In this case, dialer user must be configured, and dialer number can be configured optionally.

When dialer interfaces run link protocol of Frame Relay, the calling numbers, which are received from the incoming call and configured with dialer number respectively, will decide which dialer interface will receive the incoming call. In this case, dialer number must be configured, and dialer user can be configured optionally.

 

&  Note:

l      If dialer-group command is not configured, DCC will not dial even if dialer number command is configured.

l      When using Resource-Shared DCC, the same dialer number can be configured on different dialer interfaces at the calling side; but it is not the case at the called side; otherwise, the call will fail. When using Circular DCC, the same dialer number can be configured on different dialer interfaces at the calling side, and it is the same to the called side.

 

Related command: dialer route.

Example

# Set the dialer number for dialer1 calling the remote end to “11111”.

[H3C] interface dialer 1

[H3C-Dialer1] dialer number 11111

1.1.12  dialer priority

Syntax

dialer priority priority

undo dialer priority

View

Physical interface view

Parameter

priority: Indicates the priority level for a physical interface which belongs to a dialer circular group, ranging from 1 to 127. By default, the priority is 1.

Description

Use the dialer priority command to configure a priority for a physical interface in a dialer circular group in the Circular DCC configuration.

Use the undo dialer priority command to restore the default priority.

This command sets the order in which the available physical interfaces in a dialer circular group are used. The physical interfaces with higher priority will be used first.

Related command: dialer circular-group.

Example

# Set the priority of Serial 3/0/0 in dialer circular group0 to 5.

[H3C-Serial3/0/0] dialer circular-group 0

[H3C-Serial3/0/0] dialer priority 5

1.1.13  dialer queue-length

Syntax

dialer queue-length packets

undo dialer queue-length

View

Physical or dialer interface view

Parameter

packets: Indicates the packet numbers buffered on this interface, ranging from 1 to 100. By default, the value of max-threshold is 0.

Description

Use the dialer queue-length command to configure the number of packets which comply with the "permit" statement that can be buffered before a link is set up.

Use the undo dialer queue-length command to restore the default number of the packets that can be buffered.

In the link establishing process, the packets which comply with the "permit" statement are held in the buffer queue to wait for transmission as soon as the link is set up. The setting of packets decides the queue length.

Example

# Configure that 10 packets are buffered on Serial1/0/0.

[H3C-Serial1/0/0] dialer queue-length 10

1.1.14  dialer route

Syntax

dialer route protocol next-hop-address [ mask network-mask-length] [ user hostname ] [ broadcast ] [ dial-number ] [ autodial ] [ logical-channel logic-channel-number ] [ interface interface-type interface-number ]

undo dialer route protocol next-hop-address [ mask network-mask-length ]

View

Physical or dialer interface view

Parameter

protocol: Network protocol. At present, it can be IP only.

next-hop-address: Host or network address of the dialed destination.

mask network-mask-length: Optional, mask length of the network address of the dialed destination, in the range 0 to 32. If no mask length is specified, the default, 32, applies, where the next-hop-address argument is handled as a host address. If you want to set the next-hop-address argument to a network address, you must specify its mask length.

user hostname: Remote user name, which is optionally specified for authentication implemented when receiving calls. Hostname is a string of 1 to 80 characters.

broadcast: An optional parameter indicating that the broadcast packets can be transmitted on this link.

dial-number: Dial number of the remote end.

autodial: If this parameter is defined in a dialer route, the router will automatically attempt to dial according to the dialer route at a certain interval. The interval is set in the dialer autodial-interval command, which is 300 seconds by default.

logical-channel logic-channel-number: Number of the specified logic channel of the standby center.

interface interface-type interface-number: Specifies to dial from the specified physical interface. When multiple physical interfaces are assigned to a dialer interface and their dial-up links are connected to different ISDN switches, you need to associate dial-up numbers with physical interfaces. This configuration is intended for dialer interfaces only and is not available with RS-DCC.

Description

Use the dialer route command to allow a DCC interface to call the specified destination address (host or network address) or to receive calls from multiple remote ends.

Use the undo dialer route command to remove a dialer route.

By default, no dialer route is defined.

To originate a call, the parameter dial-number must be configured. If the user keyword is used, PPP authentication must be configured.

The user can configure multiple dialer routes for a dial port or a destination address.

 

&  Note:

If the dialer-group command is not configured, DCC will not dial.

 

Related command: dialer enable-circular, dialer autodial-interval.

Example

# Dial 888066 to set up link for the packets destined to network segment 192.168.1.0/24.

[H3C] dialer route ip 192.168.1.0 mask 24 888066

# Dial 888066 to set up link for the packets destined to host address 192.168.1.1 (not recommended).

[H3C] dialer route ip 192.168.1.1 888066

1.1.15  dialer threshold

Syntax

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

undo dialer threshold

View

Dialer interface view

Parameter

traffic-percentage: Percentage of the actual traffic on the link over the bandwidth, ranges from 0 to 99.

in: Only the inbound traffic is calculated.

in-out: Calculates the larger one of the inbound traffic and the outbound traffic in the actual traffic calculation.

out: Only the outbound traffic is calculated.

Description

Use the dialer threshold command to configure the traffic threshold of a link on the DCC interface so that another link can be enabled to call the same destination address when the ratio of traffic on all connected links on the DCC interface to the available bandwidth exceeds the preset percentage.

Use the undo dialer threshold command to restore the default value.

By default, MP flow control is not enabled.

If the ratio of the traffic on a link of a DCC interface to the bandwidth exceeds the defined threshold, the second link is brought up to form an MP bundle with the first one. When the ratio of traffic on the two links to the bandwidth exceeds the specified threshold, the third link is brought up, so on and so forth.

On the contrary, when the ratio of the traffic on N (N is an integer greater than or equal to 2) links to the bandwidth of N-1 links is less than the specified threshold, a link is dropped. When only one link is left in the MP bundle, whether and when to disconnect it depends on the timer configured using the dialer timer idle command. So far, this command is not available with physical interfaces. It is only applicable to dialer interfaces and must be used together with the ppp mp command.

With traffic-percentage set to 0, the router does not look at the ratio of traffic to bandwidth when making calls to bring up links. Rather, all the available links come up automatically. As for links that already exist, they are not torn down because of timeout. Simply put, the dialer threshold 0 command voids the dialer timer idle command.

Related command: ppp mp and flow-interval.

Example

# Set the traffic threshold on Dialer1 to 80%.

[H3C-Dialer1] dialer threshold 80

1.1.16  dialer timer autodial

Syntax

dialer timer autodial seconds

undo dialer timer autodial

View

Physical or dialer interface view

Parameter

seconds: Interval before the next call attempt, ranging from 1 to 604800 in units of second. The default interval is 300 seconds.

Description

Use the dialer timer autodial command to configure the automatic dialing interval of DCC.

Use the undo dialer timer autodial command to resume the default interval.

This command should be used together with the auto-dial keyword in the dialer route command. DCC will automatically attempt to dial at intervals of seconds until the connection is established. The automatic dialing function is independent of the trigger with data packets and the established connection will not be automatically cut for timeout. That is, the configuration of the dialer timer idle command does not affect it.

Related command: dialer route.

Example

# Set the DCC automatic calling interval on Serial0/0/0 to 60 seconds.

[H3C-Serial0/0/0] dialer timer autodial 60

1.1.17  dialer timer compete

Syntax

dialer timer compete seconds

undo dialer timer compete

View

Physical or dialer interface view

Parameter

Seconds: Idle interval when contention occurs, ranges from 0 to 65535 seconds. By default, the idle interval is 20 seconds.

Description

Use the dialer timer compete command to configure an idle interval for an interface after call contention occurs on the interface.

Use the undo dialer timer compete command to restore the default interval.

Contention occurs if no free channel is available when DCC tries to originate a call. Normally, after a link is set up, timer idle timing will take effect. However, if a call to a different destination address is to be originated on this interface under the contention circumstances, DCC replaces the timer idle timing with the timer compete timing.

Example

# Set timer idle and timer compete respectively to 50 seconds and 10 seconds on Serial 0/0/0.

[H3C-Serial0/0/0] dialer timer idle 50

[H3C-Serial0/0/0] dialer timer compete 10

1.1.18  dialer timer enable

Syntax

dialer timer enable seconds

undo dialer timer enable

View

Physical or dialer interface view

Parameter

seconds: Interval for originating the next call, ranges from 5 to 65535 seconds. By default, the interval is 5 seconds.

Description

Use the dialer timer enable command to configure an interval for the next call attempt on an interface after the link is disconnected.

Use the undo dialer timer enable command to restore the default interval.

Example

# Set the interval for DCC to make the next call attempt to 15 seconds.

[H3C-Serial0/0/0] dialer timer enable 15

1.1.19  dialer timer idle

Syntax

dialer timer idle seconds

undo dialer timer idle

View

Physical or dialer interface view

Parameter

seconds: Time that a link is allowed to be idle, ranges from 0 to 65535 seconds. By default, seconds is 120 seconds.

Description

Use the dialer timer idle command to configure the interval that a link is allowed to be idle (in other words, the interval when there is no packets which comply with the “permit” statements transmitted) after a call has been set up on the interface.

Use the undo dialer timer idle command to restore the default duration.

After a link is set up, the timer idle timer will take effect. If no interesting packets are transmitted on the link within the specified time, DCC will automatically disconnect the link. If timer idle is set to 0, the link will never be disconnected, regardless of whether there are no packets, which comply with the “permit” statements, to be transmitted over the link or not.

Example

# Set the timer idle on the interface Serial 0/0/0 to 50 seconds.

[H3C-Serial0/0/0] dialer timer idle 50

1.1.20  dialer timer wait-carrier

Syntax

dialer timer wait-carrier seconds

undo dialer timer wait-carrier

View

Physical or dialer interface view

Parameter

seconds: Waiting time in seconds, ranges from 0 to 65535. By default, the time waiting for a call connection is 60 seconds.

Description

Use the dialer timer wait-carrier command to configure the timeout time of wait-carrier timer.

Use the undo dialer timer wait-carrier command to restore the default time of the timer.

Wait-carrier timer begins to time after the DCC call is initiated. If the call connection fails to be set up within the timeout time of this timer, the call will be terminated.

If the connection for a call is not established yet within the specified time, DCC will terminate the call.

Example

# Set the maximum duration of the time that Serial 0/0/0 waits for call to establish to be 100 seconds.

[H3C-Serial0/0/0] dialer timer wait-carrier 100

1.1.21  dialer timer warmup

Syntax

dialer timer warmup seconds

undo dialer timer warmup

View

System view

Parameter

seconds: Length of the warmup timer. It defaults to 30 seconds.

Description

Use the dialer timer warmup command to set the length of the warmup timer on the router configured with the dial-up backup function. It is the time that the router must wait for bringing the dial-up backup function into effect after a reboot.

Use the dialer timer warmup command to restore the default.

When the router reboots, it tries to dial the backup link only if the main link fails to come up upon timeout of the warm-up timer. After the main link comes up, the router switches traffic to it automatically.

Example

# Set the warmup timer to 20 seconds.

[H3C] dialer timer warmup 20

1.1.22  dialer user

Syntax

dialer user username

undo dialer user

View

Dialer interface view

Parameter

username: Remote user name for PPP authentication, which is a string of 1 to 80 characters.

Description

Use the dialer user command to configure remote user name for authenticating requests when calls are received.

Use the undo dialer user command to cancel the remote user name.

By default, no remote user name is set.

This command is only valid on dialer interfaces of Resource-Shared DCC.

Up to 255 Dialer users can be set on one Dialer interface. When one Dialer interface is configured with multiple users, multiple physical interfaces can access this Dialer interface.

When a Dialer interface encapsulates PPP, the remote user that have passed PPP authentication decides the Dialer interface that receives calls. In this case, you the option to configure dialer number command.

Related command: ppp pap local-user, ppp chap user.

Example

# Set the remote username to “RouterB”.

[H3C-Dialer3] dialer user RouterB

1.1.23  dialer-group

Syntax

dialer-group group-number

undo dialer-group

View

Physical or dialer interface view

Parameter

group-number: sequence number of dialer access number, ranges from 1 to 255. This group is set through the dialer-rule command.

Description

Use the dialer-group command to configure access control on the packets transmitted on a DCC interface and to place the interface in an access control group.

Use the undo dialer-group command to cancel the interface from united with the access control group.

By default, this command is not configured.

This command is used for associating a physical interface with an access control group. Through the dialer-rule command, the user can associate an access control group with the acl command. A DCC interface can only be the member of an access control group. If it is configured to be a member of another access control group, this configuration will replace the previous one.

 

&  Note:

In the default configuration of the interface, dialer-group is not configured. The user must configure this command. Otherwise, DCC will be unable to transmit packets.

 

Related command: dialer-rule.

Example

# Add Serial1/0/0 interface to dialer-group 1.

[H3C] dialer-rule 1 acl 3101

[H3C] interface serial1/0/0

[H3C-Serial1/0/0] dialer-group 1

1.1.24  dialer-rule

Syntax

dialer-rule dialer-number { protocol-name { permit | deny } | acl acl-number }

undo dialer-rule dialer-number { acl | protocol-name }

View

System view

Parameter

dialer-number: Number of the dialer access group, corresponding to the parameter group-number in the dialer-group group number command in DCC interface view. The argument ranges from 1 to 255.

protocol-name: Network protocol such as IP, IPX, bridge.

permit: Permits the packets of the specified protocol.

deny: Denies the packets of the specified protocol.

acl acl-number: Number of the access control list to which the access control group corresponds.

Description

Use the dialer-rule command to configure the conditions of the data packet that can trigger a DCC call.

Use the undo dialer-rule command to cancel the setting.

By default, no conditions of packet-triggering DCC calls are set for dial interfaces.

This command is used to set the DCC call packet-triggering control to which an access control group corresponds. And a dial interface can be placed in an access control group through the dialer-group command. Thereby, the DCC call’s packet-triggering on the DCC interface can be controlled.

If an access control group cannot find the corresponding dialer-rule, DCC will regard the packets as packets which do not comply with the “permit” conditions in ACL rule and just drop them. No DCC call will be originated.

Related command: dialer-group.

Example

# Set a dialer-rule.

[H3C] acl number 3101

[H3C-acl-adv-3101] rule permit ip source 0.0.0.0 255.255.255.255 destination 0.0.0.0 255.255.255.255

[H3C-acl-adv-3101] quit

[H3C] dialer-rule 1 acl 3101

[H3C] interface serial1/0/0

[H3C-Serial1/0/0] dialer-group 1

1.1.25  display dialer

Syntax

display dialer [ interface interface-type interface-number ]

View

Any view

Parameter

interface-type: Interface type.

interface-number: Interface number.

Description

Use the display dialer command to view information on DCC interfaces.

By default, information on all DCC interfaces is displayed.

Related command: dialer timer idle, dialer timer compete, dialer timer wait-for-carrier, dialer timer enable.

Example

# Display information on dialer interfaces.

[H3C] display dialer

Dialer0 - dialer type = Dialer

   Dialer Route:

   NextHop_address Dialer_Numbers

   Dialer number            003

   Dialer Timers(Secs):

   Auto-dial:300    Compete:20    Enable:5

   Idle:120    Wait-for-Carrier:60

   Total Channels:30  Free Channels:29

Table 1-1 Description on the fields of the display dialer command

Field

Description

NextHop address

Remote address associated with a dialer route on the interface

Dialer Number

Dial string corresponding to the dialer route

Dialer Timers(Secs)

Setting of the dialer timer

Auto-dial

Time set by the dialer timer autodial command

Compete

Time set by the dialer timer compete command

Enable

Time set by the dialer timer enable command

Idle

Time set by the dialer timer idle command

Wait for carrier

Time set by the dialer timer wait-carrier command

Total Channels

Total number of channels

Free Channels

Number of free channels

 

1.1.26  interface dialer

Syntax

interface dialer number

undo interface dialer number

View

System view

Parameter

number: Interface number; its value range varies with router model.

Description

Use the interface dialer command to create a dialer circular group for the Circular DCC, or configure a dialer interface for the Resource-Shared DCC.

Use the undo interface dialer command to cancel the existing setting.

By default, no dialer interface is defined.

In Resource-Shared DCC, any dialer interface can use the services provided by multiple physical interfaces, and individual physical interfaces can provide services for multiple dialer interfaces at the same time. Therefore, authentication must be configured on these physical interfaces, so as to use the user name of a dial-in party to locate the corresponding dialer interface for the call. In this mode, physical interfaces and dialer interfaces are dynamically bound. Furthermore, a dialer interface can only call a destination address, which will be specified in the dialer number command.

The physical interfaces in Circular DCC and Resource-Shared DCC do not use individual network addresses. Instead, they use the addresses of the corresponding dialer interfaces.

Example

# Define a dialer interface dialer 1.

[H3C] interface dialer 1

1.1.27  flow-interval

Syntax

flow-interval seconds

undo flow-interval

View

System view

Parameter

seconds: Traffic statistic interval. It is in the range 1 to 1500 seconds and defaults to 300 seconds.

Description

Use the flow-interval command to configure traffic statistic interval.

Use the undo flow-interval command to restore the default traffic statistic interval. This command takes effect only on DCC packet-triggered dial-up.

The command specifies intervals at which the system provides statistics about traffic on the links in an MP bundle. It is applied to the situation where whether links are brought up depends on traffic size. Changing the interval setting can affect the interface traffic statistic interval that you can see when executing the display interfaces command.

Related command: dialer threshold, display interface.

Example

# Set the traffic statistic interval to 10 seconds.

[H3C] flow-interval 10

1.1.28  ppp callback

Syntax

ppp callback { client | server [ force ] }

undo ppp callback { client | server [ force ] }

View

Physical or dialer interface view

Parameter

client: As the client end, sends callback requests.

server: As the server end, accepts callback requests.

force: Forces the client to negotiate callback; otherwise the client call will be refused.

Description

Use the ppp callback command to enable an interface to send or accept PPP callback requests.

Use the undo ppp callback command to disable the interface to send or accept PPP callback requests.

By default, sending or receiving callback request is disabled.

The callback function can be used to save the communication cost for the calling party in the case that the calling party pays the charge for calls.

Related command: ppp callback ntstring.

Example

# Enable accepting callback request on Serial0/0/0 interface.

[H3C-Serial0/0/0] ppp callback server

1.1.29  ppp callback ntstring

Syntax

ppp callback ntstring dial-number

undo ppp callback ntstring

View

Physical or dialer interface view

Parameter

dial-number: Dial number for a Windows NT server to call back the router.

Description

Use the ppp callback ntstring command to configure the dial number required for a Windows NT server to call back the router.

Use the undo ppp callback ntstring command to cancel the configured callback dial number.

By default, no callback dial number is set for the Windows NT server.

When a router functions as the callback server to call a Windows NT server, this command should be configured if the server needs the router to send the callback number.

Related command: ppp callback.

Example

# Set the dial number for a Windows NT server to call back the router to “2489”.

[H3C-Dialer1] ppp callback NTString 2489

 


Chapter 2  Dynamic Routing Standby Configuration Commands

2.1  Dynamic Routing Standby Configuration Commands

2.1.1  standby timer routing-disable

Syntax

standby timer routing-disable seconds

undo standby timer routing-disable

View

Dial interface view

Parameter

seconds: Delay for the dynamic routing standby module to disconnect the secondary link. It is in the range 1 to 65535 and defaults to 0.

Description

Use the standby timer routing-disable command to specify a delay for the secondary link to be disconnected after the primary link goes up to avoid route oscillation.

Use the undo standby timer routing-disable command to restore the default delay, that is, 0.

By default, the secondary link is disconnected immediately.

 

&  Note:

A dial interface refers to a physical dial interface such as PRI and BRI, or a logical dial interface, that is, dialer interface.

 

Example

# On the interface BRI 0/0/0 disconnect the secondary link five seconds after the primary link resumes.

[H3C-Bri0/0/0] standby timer routing-disable 5

# On the interface BRI 0/0/0 disconnect the secondary link immediately after the primary link resumes.

[H3C-Bri0/0/0] undo standby timer routing-disable

2.1.2  standby routing-group

Syntax

standby routing-group group-number

undo standby routing-group group-number

View

Dial interface view

Parameter

group-number: Number of the dynamic routing standby group, ranging from 1 to 255.

Description

Use the standby routing-group command to apply a dynamic routing standby group on the secondary interface.

Use the undo standby routing-group command to remove the dynamic routing standby group from the dialer interface.

Before applying a dynamic routing standby group on the interface, make sure you have successfully configured the legacy DCC.

Example

# Apply dynamic routing standby group 1 on the interface BRI 0/0/0.

[H3C-Bri0/0/0] standby routing-group 1

# Remove dynamic routing standby group 1 from the interface BRI 0/0/0.

[H3C-Bri0/0/0] undo standby routing-group 1

2.1.3  standby routing-rule

Syntax

standby routing-rule group-number ip ip-address ip-mask

undo standby routing-rule group-number [ ip ip-address ip-mask ]

View

System view

Parameter

group-number: Number of the dynamic routing standby group, ranging from 1 to 255.

ip-address: Address of the network segment to be monitored, or the destination address of the call placed after standby dialup is enabled.

ip-mask: IP address mask.

Description

Use the standby routing-rule command to create a dynamic routing standby group and assign a monitored network segment to it.

Use the undo standby routing-rule command to delete a monitored network segment from the specified dynamic routing standby group or to delete the dynamic routing standby group.

If the network address or subnet mask is not configured properly on a monitored network segment, the system will display the following output:”% Invalid IP address or subnet mask!”

 

&  Note:

Each dynamic routing standby group may contain up to 255 monitored network segments. The primary link of a dynamic routing standby group is regarded disconnected only when the routes of all the monitored network segments in the group are removed.

 

Example

# Configure dynamic routing standby group 1 to monitor routing to network segments 20.0.0.0 and 30.0.0.0.

[H3C] standby routing-rule 1 ip 20.0.0.1 255.0.0.0

[H3C] standby routing-rule 1 ip 30.0.0.1 255.0.0.0

# Delete dynamic routing standby group 1. The segments 20.0.0.0 and 30.0.0.0 will not be monitored as the result.

[H3C] undo standby routing-rule 1

# Remove monitored segment 30.0.0.0 from dynamic routing standby group 1.

[H3C] undo standby routing-rule 1 ip 30.0.0.1 255.0.0.0