Skip to main content
timmy8ken
New Member
July 15, 2015
Question

'config system modem' not available in SSH session but is available in TELNET

  • July 15, 2015
  • 10 replies
  • 7464 views

Hello,

 

When I connect to our FortiGate 100D via SSH I am not able to edit 'config system modem', and I get the following error returned:

FG100D********* # config system modem
command parse error before 'modem'
Command fail. Return code 1

 

If I run 'show system ?' the modem option is not listed:

 

FG100D********* # show system

3g-modem Configure 3G modem.
accprofile Configure system admin access group.
***/SNIP/***
ipv6-neighbor-cache Configure IPv6 neighbor cache table.
ipv6-tunnel Configure IPv6/IPv4 in IPv6 tunnel.
monitors Configure system monitors.
nat64 Configure NAT64.
network-visibility Configure network visibility settings.
ntp Configure system NTP information.
object-tag Configure object tags.
****/SNIP/****

 

If I then connect to the same firewall using telnet instead of SSH, the commands work as expected:

 

FG100D********* # config system modem

FG100D********* (modem) #

 

and the modem field is listed:

 

FG100D********* # config system
3g-modem Configure 3G modem.
accprofile Configure system admin access group.
****/SNIP/****
ipv6-neighbor-cache Configure IPv6 neighbor cache table.
ipv6-tunnel Configure IPv6/IPv4 in IPv6 tunnel.
modem Configure MODEM.
monitors Configure system monitors.
nat64 Configure NAT64.
network-visibility Configure network visibility settings.
ntp Configure system NTP information.
object-tag Configure object tags.
****/SNIP/****

 

The commands are also available through the 'CLI Console' in the web GUI, my guess is that it uses a TELNET session in the backend to make that connection.

 

I have raised a support ticket with FortiNet (1457401), but I thought I would post this here incase someone has seen it before.

 

Regards,

 

Tim

10 replies

ede_pfau
SuperUser
SuperUser
July 16, 2015

hi,

 

welcome to the forums.

Thanks for posting this. FTNT will certainly have a look into this.

 

Which version of FortiOS do you use?

timmy8ken
timmy8kenAuthor
New Member
July 16, 2015

Hi Ede,

 

We are running v5.0,build0292 (GA Patch 9).

 

Additionally, we have two firewalls, both 100D's running the same firmware version and this is repeatable on both firewalls.

 

Tim

ede_pfau
SuperUser
SuperUser
July 17, 2015

Would you consider upgrading to 5.0.12 (via 5.0.10 first)? It would be interesting whether this bug is already fixed or not.

timmy8ken
timmy8kenAuthor
New Member
July 17, 2015

Hi Ede,

 

I upgraded to 5.2.2 this afternoon and the problem still exists. I'll give the support number a call on Monday.

 

Tim

emnoc
New Member
July 17, 2015

I'm curious does the diag sys modem commands error out also?

 

timmy8ken
timmy8kenAuthor
New Member
July 17, 2015

Yeah that works:

 

The modem state is 3, poll rate is <unpolled>.
The modem is active.

timmy8ken
timmy8kenAuthor
New Member
July 17, 2015

And the diag sys modem external-modem option works too:

 

NDCHAFW01 # diag sys modem external-modem
External modem vendor: Sierra
External modem vendor id: 0f3d
External modem model : AC320U
External modem product id: 68aa

timmy8ken
timmy8kenAuthor
New Member
July 20, 2015

Morning,

Fortinet support have got back to me regarding this problem and it appears to be a bug:

 

Hi,  I was able to reproduce the issue with your config. When enabled dedicated-mgmt, we can't access the modem via ssh but telnet is possible  config system dedicated-mgmt  set status enable  set interface "mgmt"  set default-gateway 10.10.2.3  end  I am not sure this is by design so will need to contact engineering and get back to you.  In the mean time, please use telnet or disable this dedicated-mgmt.  Note that: When disable this setting you will need to re-add IP for the 'mgmt' interface.  Please let me know if you have any question  Thanks, Viet

 

I'll wait and see if the engineering team get back to me.

 

Tim

emnoc
New Member
July 20, 2015

In the mean time, please use telnet or disable this dedicated-mgmt.

 

Ouch, not good;)

 

timmy8ken
timmy8kenAuthor
New Member
July 20, 2015

It's not all bad, we are only using the modem functionality until our redundant link is in place at the end of the month. After that it will be disabled along with Telnet!!

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!