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
SuperUser
SuperUser

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 Slobodyanyuk

View solution in original post

Yuri Slobodyanyuk
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
SuperUser
SuperUser

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 Slobodyanyuk
Yuri Slobodyanyuk
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors