Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
prashanth_rnm
New Contributor

Diffrent CLI Mode

Hi There,

  I'm pretty new to Fortigate and trying to test the connection from the firewall towards my DNS server.

I've already configured the DNS server and currently I trying to test the resolution of the domain name via CLI.

From CLI I couldn't issue the execute nslookup command.

Further when I login to the Fortigate Firewall my CLI prompt is in $ instead of #. Can you please whether it could be the reason not being able to execute that command? What is the difference between $ and # mode?

Further is there any option available at the firewall to perform telnet by sourcing the traffic from a different interface to the routing table?

 

Regards

Prashanth

1 REPLY 1
Yurisk
SuperUser
SuperUser

Th e prompt depends on the admin profile applied to your user, as far as I remember. And it is not the reason.

You don't have nslookup on Fortigate at all. To test the DNS resolution, use # exec ping google.com  

I don't think you can set source IP for telnet, just for ping with # exec ping-options

 

Yuri https://yurisk.info/  blog: All things Fortinet, no ads.
Yuri https://yurisk.info/ blog: All things Fortinet, no ads.
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors