04-Layer 2 - WAN Command Reference

HomeSupportRoutersH3C SR8800 Router SeriesReference GuidesCommand ReferencesH3C SR8800 Command Reference-Release3347-6W10304-Layer 2 - WAN Command Reference
05-Modem Management Commands
Title Size Download
05-Modem Management Commands 66.02 KB

modem

Syntax

modem [ both | call-in | call-out ]

undo modem [ both | call-in | call-out ]

View

User interface view

Default level

2: System level

Parameters

both: Enables both modem call-in and modem call-out.

call-in: Enables only modem call-in.

call-out: Enables only modem call-out.

Description

Use the modem command to enable modem call-in, modem call-out, or both on the user interface.

Use the undo modem command to disable modem call-in, modem call-out, or both.

By default, both modem call-in and modem call-out are disabled.

 

 

NOTE:

The modem command applies to only auxiliary (AUX) ports.

 

Examples

# Enable modem call-in on port AUX 0.

<Sysname> system-view

[Sysname] user-interface aux 0

[Sysname-ui-aux0] modem call-in

modem auto-answer

Syntax

modem auto-answer

undo modem auto-answer

View

User interface view

Default level

2: System level

Parameters

None

Description

Use the modem auto-answer command to configure a modem to operate in auto-answer mode.

Use the undo modem auto-answer command to configure a modem to operate in non-auto-answer mode. Then, the modem answers a call only when it receives the AT command sent by the router.

By default, a modem operates in non-auto answer mode.

Use these two commands according to the actual answer mode of the modem. When the modem is in auto-answer mode (the AA LED of the modem lights up), use the modem auto-answer command to prevent the router from issuing answer instructions. If the modem is in non-auto answer mode, use the undo modem auto-answer command to enable the router to issue answer instructions on the arrival of incoming calls.

 

 

NOTE:

·       This command applies to only AUX ports.

·       If the answer mode configured is not consistent with the actual answer mode of the modem, the modem may operate improperly. Do not perform the operation unless absolutely needed.

 

Examples

# Configure the modem connected to the asynchronous serial interface user-interface1 to operate in auto-answer mode.

<Sysname> system-view

[Sysname] user-interface aux 0

[Sysname-ui-aux0] modem auto-answer

modem timer answer

Syntax

modem timer answer time

undo modem timer answer

View

User interface view

Default level

2: System level

Parameters

time: Timeout time (in seconds), ranging from 0 to 65535.

Description

Use the modem timer answer command to set the maximum interval allowed between off-hook and dialing.

Use the undo modem timer answer command to restore the default.

By default, the interval is 60 seconds.

 

 

NOTE:

This command applies to only AUX ports.

 

Examples

# Set the maximum interval allowed between off-hook and dialing to 50 seconds.

<Sysname> system-view

[Sysname] user-interface aux 0

[Sysname-ui-aux0] modem timer answer 50

service modem-callback

Syntax

service modem-callback

undo service modem-callback

View

System view

Default level

3: Manage level

Parameters

None

Description

Use the service modem-callback command to enable the callback function.

Use the undo service modem-callback command to disable the callback function.

By default, the callback function is disabled.

With the service modem-callback command executed, the modem initiates callback when the line is active (the modem detects the carrier or data is being received). As PPP process does not begin at this time, the callback is performed before accounting. Such a mechanism saves cost.

Examples

# Enable the callback function.

<Sysname> system-view

[Sysname] service modem-callback

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网