# config vdomFor example, it is not possible to run “execute ping” commands on the global mode and in order to ping it is needed to switch to vdoms. However, this command can be run on the global mode by using “sudo” command:
# edit root
fgvm04 (root) # sudo ?
<global/vdom-name> global or virtual domain name
global
VDOM1
root
# config global
# execute ping 8.8.8.8
command parse error before 'ping'
Command fail. Return code -61
# sudo root execute ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=55 time=1.9 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=1.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=1.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=1.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=1.8 ms
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.7/1.8/1.9 ms
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.