Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config system modem

Configure MODEM.

config system modem

Description: Configure MODEM.

set status [enable|disable]

set pin-init {string}

set network-init {string}

set lockdown-lac {string}

set mode [standalone|redundant]

set auto-dial [enable|disable]

set dial-on-demand [enable|disable]

set idle-timer {integer}

set redial [none|1|...]

set reset {integer}

set holddown-timer {integer}

set connect-timeout {integer}

set interface {string}

set wireless-port {integer}

set dont-send-CR1 [enable|disable]

set phone1 {string}

set dial-cmd1 {string}

set username1 {string}

set passwd1 {password}

set extra-init1 {string}

set peer-modem1 [generic|actiontec|...]

set ppp-echo-request1 [enable|disable]

set authtype1 {option1}, {option2}, ...

set dont-send-CR2 [enable|disable]

set phone2 {string}

set dial-cmd2 {string}

set username2 {string}

set passwd2 {password}

set extra-init2 {string}

set peer-modem2 [generic|actiontec|...]

set ppp-echo-request2 [enable|disable]

set authtype2 {option1}, {option2}, ...

set dont-send-CR3 [enable|disable]

set phone3 {string}

set dial-cmd3 {string}

set username3 {string}

set passwd3 {password}

set extra-init3 {string}

set peer-modem3 [generic|actiontec|...]

set ppp-echo-request3 [enable|disable]

set altmode [enable|disable]

set authtype3 {option1}, {option2}, ...

set traffic-check [enable|disable]

set action [dial|stop|...]

set distance {integer}

set priority {integer}

end

config system modem

Parameter name

Description

Type

Size

status

Enable/disable Modem support (equivalent to bringing an interface up or down).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

pin-init

AT command to set the PIN (AT+PIN=<pin>).

string

Maximum length: 127

network-init

AT command to set the Network name/type (AT+COPS=<mode>,[<format>,<oper>[,<AcT>]]).

string

Maximum length: 127

lockdown-lac

Allow connection only to the specified Location Area Code (LAC).

string

Maximum length: 127

mode

Set MODEM operation mode to redundant or standalone.

option

-

 

Option

Description

standalone

Standalone.

redundant

Redundant for an interface.

auto-dial

Enable/disable auto-dial after a reboot or disconnection.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

dial-on-demand

Enable/disable to dial the modem when packets are routed to the modem interface.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

idle-timer

MODEM connection idle time (1 - 9999 min, default = 5).

integer

Minimum value: 1 Maximum value: 9999

redial

Redial limit (1 - 10 attempts, none = redial forever).

option

-

 

Option

Description

none

Forever.

1

One attempt.

2

Two attempts.

3

Three attempts.

4

Four attempts.

5

Five attempts.

6

Six attempts.

7

Seven attempts.

8

Eight attempts.

9

Nine attempts.

10

Ten attempts.

reset

Number of dial attempts before resetting modem (0 = never reset).

integer

Minimum value: 0 Maximum value: 10

holddown-timer

Hold down timer in seconds (1 - 60 sec).

integer

Minimum value: 1 Maximum value: 60

connect-timeout

Connection completion timeout (30 - 255 sec, default = 90).

integer

Minimum value: 30 Maximum value: 255

interface

Name of redundant interface.

string

Maximum length: 63

wireless-port

Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)

integer

Minimum value: 0 Maximum value: 4294967295

dont-send-CR1

Do not send CR when connected (ISP1).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

phone1

Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).

string

Maximum length: 63

dial-cmd1

Dial command (this is often an ATD or ATDT command).

string

Maximum length: 63

username1

User name to access the specified dialup account.

string

Maximum length: 63

passwd1

Password to access the specified dialup account.

password

Not Specified

extra-init1

Extra initialization string to ISP 1.

string

Maximum length: 127

peer-modem1

Specify peer MODEM type for phone1.

option

-

 

Option

Description

generic

All other modem type.

actiontec

ActionTec modem.

ascend_TNT

Ascend TNT modem.

ppp-echo-request1

Enable/disable PPP echo-request to ISP 1.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

authtype1

Allowed authentication types for ISP 1.

option

-

 

Option

Description

pap

PAP

chap

CHAP

mschap

MSCHAP

mschapv2

MSCHAPv2

dont-send-CR2

Do not send CR when connected (ISP2).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

phone2

Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).

string

Maximum length: 63

dial-cmd2

Dial command (this is often an ATD or ATDT command).

string

Maximum length: 63

username2

User name to access the specified dialup account.

string

Maximum length: 63

passwd2

Password to access the specified dialup account.

password

Not Specified

extra-init2

Extra initialization string to ISP 2.

string

Maximum length: 127

peer-modem2

Specify peer MODEM type for phone2.

option

-

 

Option

Description

generic

All other modem type.

actiontec

ActionTec modem.

ascend_TNT

Ascend TNT modem.

ppp-echo-request2

Enable/disable PPP echo-request to ISP 2.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

authtype2

Allowed authentication types for ISP 2.

option

-

 

Option

Description

pap

PAP

chap

CHAP

mschap

MSCHAP

mschapv2

MSCHAPv2

dont-send-CR3

Do not send CR when connected (ISP3).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

phone3

Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).

string

Maximum length: 63

dial-cmd3

Dial command (this is often an ATD or ATDT command).

string

Maximum length: 63

username3

User name to access the specified dialup account.

string

Maximum length: 63

passwd3

Password to access the specified dialup account.

password

Not Specified

extra-init3

Extra initialization string to ISP 3.

string

Maximum length: 127

peer-modem3

Specify peer MODEM type for phone3.

option

-

 

Option

Description

generic

All other modem type.

actiontec

ActionTec modem.

ascend_TNT

Ascend TNT modem.

ppp-echo-request3

Enable/disable PPP echo-request to ISP 3.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

altmode

Enable/disable altmode for installations using PPP in China.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

authtype3

Allowed authentication types for ISP 3.

option

-

 

Option

Description

pap

PAP

chap

CHAP

mschap

MSCHAP

mschapv2

MSCHAPv2

traffic-check

Enable/disable traffic-check.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

action

Dial up/stop MODEM.

option

-

 

Option

Description

dial

Dial up number.

stop

Stop dialup.

none

No action.

distance

Distance of learned routes (1 - 255, default = 1).

integer

Minimum value: 1 Maximum value: 255

priority

Priority of learned routes (0 - 4294967295, default = 0).

integer

Minimum value: 0 Maximum value: 4294967295

config system modem

Configure MODEM.

config system modem

Description: Configure MODEM.

set status [enable|disable]

set pin-init {string}

set network-init {string}

set lockdown-lac {string}

set mode [standalone|redundant]

set auto-dial [enable|disable]

set dial-on-demand [enable|disable]

set idle-timer {integer}

set redial [none|1|...]

set reset {integer}

set holddown-timer {integer}

set connect-timeout {integer}

set interface {string}

set wireless-port {integer}

set dont-send-CR1 [enable|disable]

set phone1 {string}

set dial-cmd1 {string}

set username1 {string}

set passwd1 {password}

set extra-init1 {string}

set peer-modem1 [generic|actiontec|...]

set ppp-echo-request1 [enable|disable]

set authtype1 {option1}, {option2}, ...

set dont-send-CR2 [enable|disable]

set phone2 {string}

set dial-cmd2 {string}

set username2 {string}

set passwd2 {password}

set extra-init2 {string}

set peer-modem2 [generic|actiontec|...]

set ppp-echo-request2 [enable|disable]

set authtype2 {option1}, {option2}, ...

set dont-send-CR3 [enable|disable]

set phone3 {string}

set dial-cmd3 {string}

set username3 {string}

set passwd3 {password}

set extra-init3 {string}

set peer-modem3 [generic|actiontec|...]

set ppp-echo-request3 [enable|disable]

set altmode [enable|disable]

set authtype3 {option1}, {option2}, ...

set traffic-check [enable|disable]

set action [dial|stop|...]

set distance {integer}

set priority {integer}

end

config system modem

Parameter name

Description

Type

Size

status

Enable/disable Modem support (equivalent to bringing an interface up or down).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

pin-init

AT command to set the PIN (AT+PIN=<pin>).

string

Maximum length: 127

network-init

AT command to set the Network name/type (AT+COPS=<mode>,[<format>,<oper>[,<AcT>]]).

string

Maximum length: 127

lockdown-lac

Allow connection only to the specified Location Area Code (LAC).

string

Maximum length: 127

mode

Set MODEM operation mode to redundant or standalone.

option

-

 

Option

Description

standalone

Standalone.

redundant

Redundant for an interface.

auto-dial

Enable/disable auto-dial after a reboot or disconnection.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

dial-on-demand

Enable/disable to dial the modem when packets are routed to the modem interface.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

idle-timer

MODEM connection idle time (1 - 9999 min, default = 5).

integer

Minimum value: 1 Maximum value: 9999

redial

Redial limit (1 - 10 attempts, none = redial forever).

option

-

 

Option

Description

none

Forever.

1

One attempt.

2

Two attempts.

3

Three attempts.

4

Four attempts.

5

Five attempts.

6

Six attempts.

7

Seven attempts.

8

Eight attempts.

9

Nine attempts.

10

Ten attempts.

reset

Number of dial attempts before resetting modem (0 = never reset).

integer

Minimum value: 0 Maximum value: 10

holddown-timer

Hold down timer in seconds (1 - 60 sec).

integer

Minimum value: 1 Maximum value: 60

connect-timeout

Connection completion timeout (30 - 255 sec, default = 90).

integer

Minimum value: 30 Maximum value: 255

interface

Name of redundant interface.

string

Maximum length: 63

wireless-port

Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)

integer

Minimum value: 0 Maximum value: 4294967295

dont-send-CR1

Do not send CR when connected (ISP1).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

phone1

Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).

string

Maximum length: 63

dial-cmd1

Dial command (this is often an ATD or ATDT command).

string

Maximum length: 63

username1

User name to access the specified dialup account.

string

Maximum length: 63

passwd1

Password to access the specified dialup account.

password

Not Specified

extra-init1

Extra initialization string to ISP 1.

string

Maximum length: 127

peer-modem1

Specify peer MODEM type for phone1.

option

-

 

Option

Description

generic

All other modem type.

actiontec

ActionTec modem.

ascend_TNT

Ascend TNT modem.

ppp-echo-request1

Enable/disable PPP echo-request to ISP 1.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

authtype1

Allowed authentication types for ISP 1.

option

-

 

Option

Description

pap

PAP

chap

CHAP

mschap

MSCHAP

mschapv2

MSCHAPv2

dont-send-CR2

Do not send CR when connected (ISP2).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

phone2

Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).

string

Maximum length: 63

dial-cmd2

Dial command (this is often an ATD or ATDT command).

string

Maximum length: 63

username2

User name to access the specified dialup account.

string

Maximum length: 63

passwd2

Password to access the specified dialup account.

password

Not Specified

extra-init2

Extra initialization string to ISP 2.

string

Maximum length: 127

peer-modem2

Specify peer MODEM type for phone2.

option

-

 

Option

Description

generic

All other modem type.

actiontec

ActionTec modem.

ascend_TNT

Ascend TNT modem.

ppp-echo-request2

Enable/disable PPP echo-request to ISP 2.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

authtype2

Allowed authentication types for ISP 2.

option

-

 

Option

Description

pap

PAP

chap

CHAP

mschap

MSCHAP

mschapv2

MSCHAPv2

dont-send-CR3

Do not send CR when connected (ISP3).

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

phone3

Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).

string

Maximum length: 63

dial-cmd3

Dial command (this is often an ATD or ATDT command).

string

Maximum length: 63

username3

User name to access the specified dialup account.

string

Maximum length: 63

passwd3

Password to access the specified dialup account.

password

Not Specified

extra-init3

Extra initialization string to ISP 3.

string

Maximum length: 127

peer-modem3

Specify peer MODEM type for phone3.

option

-

 

Option

Description

generic

All other modem type.

actiontec

ActionTec modem.

ascend_TNT

Ascend TNT modem.

ppp-echo-request3

Enable/disable PPP echo-request to ISP 3.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

altmode

Enable/disable altmode for installations using PPP in China.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

authtype3

Allowed authentication types for ISP 3.

option

-

 

Option

Description

pap

PAP

chap

CHAP

mschap

MSCHAP

mschapv2

MSCHAPv2

traffic-check

Enable/disable traffic-check.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

action

Dial up/stop MODEM.

option

-

 

Option

Description

dial

Dial up number.

stop

Stop dialup.

none

No action.

distance

Distance of learned routes (1 - 255, default = 1).

integer

Minimum value: 1 Maximum value: 255

priority

Priority of learned routes (0 - 4294967295, default = 0).

integer

Minimum value: 0 Maximum value: 4294967295