cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
24819
Views
16
Helpful
3
Replies

How to generate a ping from FMC GUI or CLI

network1215
Level 1
Level 1

Folks, 

 

I am trying to initiate a ping from my FMC Cli but I do not see Ping command available in CLISH mode..

 

All I see

 

>

Configure

Exit

Show

System

 

When type system.

 

Sytem>  

 

It will give other options but No Ping, 

 

configure

exit

expert

generate-troubleshoot

lockdown

 

I am puzzled just to initiate a simple ping process.. ? expert mode takes me shell where it says 

ping icmp open socket: operation not permitted.

 

Can anyone help ?

2 Accepted Solutions

Accepted Solutions

@network1215 

You can use "sudo" in front of the command (i.e., sudo ping ......), when running from expert mode, to elevate the permissions when runnning the command.

View solution in original post

Marvin Rhoads
Hall of Fame
Hall of Fame

Or just switch to full-on root / superuser mode with "sudo su -".

Cisco Fire Linux OS v6.7.0 (build 51)
Cisco Firepower Management Center for VMWare v6.7.0.1 (build 13)

> expert
adm-marvin@fmc:~$ sudo su -
Password: 
root@fmc:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=117 time=5.57 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=117 time=5.40 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=117 time=5.36 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 5.369/5.448/5.570/0.087 ms
root@fmc:~#

View solution in original post

3 Replies 3

@network1215 

You can use "sudo" in front of the command (i.e., sudo ping ......), when running from expert mode, to elevate the permissions when runnning the command.

Marvin Rhoads
Hall of Fame
Hall of Fame

Or just switch to full-on root / superuser mode with "sudo su -".

Cisco Fire Linux OS v6.7.0 (build 51)
Cisco Firepower Management Center for VMWare v6.7.0.1 (build 13)

> expert
adm-marvin@fmc:~$ sudo su -
Password: 
root@fmc:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=117 time=5.57 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=117 time=5.40 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=117 time=5.36 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 5.369/5.448/5.570/0.087 ms
root@fmc:~#

network1215
Level 1
Level 1

Thank you gents

Review Cisco Networking for a $25 gift card