05-Layer 2 - WAN Command Reference

HomeSupportSwitchesH3C S9500E Switch SeriesReference GuidesCommand ReferencesH3C S9500E Command Reference-Release1728-6W17005-Layer 2 - WAN Command Reference
03-Modem Management Commands
Title Size Download
03-Modem Management Commands 65.79 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 a user interface.

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

By default, both modem call-in and 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. In this mode, the modem answers a call only when it receives the corresponding AT command sent by the switch.

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

When the modem operates in auto-answer mode (the AA LED of the modem lights up), specify the modem auto-answer command to prevent the switch from issuing answer instructions. If the modem is in non-auto answer mode, use the undo modem auto-answer command to enable the switch to issue answer instructions upon the arrival of incoming calls.

 

 

NOTE:

·       This command applies only to AUX ports.

·       Make sure you set the same answer mode as on the modem. If a different answer mode is set, the modem might operate improperly.

 

Examples

# Configure the modem connected to port AUX 0 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 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.

The service modem-callback command enables the modem to initiate a callback upon activation of the line when the modem detects the carrier or data is being received. Because the callback occurs before the PPP process starts and accounting is performed, costs are saved.

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
新华三官网