Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

init-command-string

Syntax

Hierarchy Level

Description

For J Series Services Routers, configure the command string used to initialize the USB modem.

When you connect the USB modem to the USB port on a Services Router, the router applies the modem AT commands configured in the init-command-string command to the initialization commands on the modem.

For example, the initialization command string ATS0 = 2\n configures the USB modem to pick up a call after 2 rings.

If you do not include the init-command-string statement, the router applies the default initialization string to the modem.

Options

initialization-command-string—Specify an initialization command string using the following AT command values:

  • %C0—Disables data compression.

  • &C1—Disables reset of the modem when it loses the carrier signal.

  • &Q8—Enables Microcom Networking Protocol (MNP) error control mode.

  • AT—Attention. Informs the modem that a command follows.

  • E0—Disables the display on the local terminal of commands issued to the modem from the local terminal.

  • Q0—Enables the display of result codes.

  • S0=0—Disables the auto-answer feature, whereby the modem automatically answers calls.

  • S7=45—Instructs the modem to wait 45 seconds for a telecommunications service provider (carrier) signal before terminating the call.

  • V1—Displays result codes as words.

  • Default: AT S7=45 S0=0 V1 X4 &C1 E0 Q0 &Q8 %C0

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.2.