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

command

hello, how to run a single line command?
example: config sys interface | edit port1 | full show

2 Solutions
ntaneja
Staff
Staff

Hi Hermine,

 You can try below command on the device and check:
show full-configuration system interface port1

 

Thanks

View solution in original post

Yurisk
Valued Contributor

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.

View solution in original post

Yuri https://yurisk.info/ blog: All things Fortinet, no ads.
3 REPLIES 3
ntaneja
Staff
Staff

Hi Hermine,

 You can try below command on the device and check:
show full-configuration system interface port1

 

Thanks

Hermine
New Contributor II

Thanks

Yurisk
Valued Contributor

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.
Yuri https://yurisk.info/ blog: All things Fortinet, no ads.
Top Kudoed Authors