hello, how to run a single line command?
example: config sys interface | edit port1 | full show
Solved! Go to Solution.
Hi Hermine,
You can try below command on the device and check:
show full-configuration system interface port1
Thanks
You cannot use more than 1 pipe, but for looking at the configs you really don't need to -
show sys int port1
show full system interface port1
show full system interface | grep -f port1
Yuri
https://yurisk.info/ blog: All things Fortinet, no ads.
Hi Hermine,
You can try below command on the device and check:
show full-configuration system interface port1
Thanks
Thanks
You cannot use more than 1 pipe, but for looking at the configs you really don't need to -
show sys int port1
show full system interface port1
show full system interface | grep -f port1
Yuri
https://yurisk.info/ blog: All things Fortinet, no ads.
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 2023 Fortinet, Inc. All Rights Reserved.