Skip to main content
Hermine
Explorer
May 25, 2022
Solved

command

  • May 25, 2022
  • 3 replies
  • 3470 views

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

Best answer by ntaneja

Hi @Hermine,

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

 

Thanks

3 replies

ntaneja
Staff & Editor
ntanejaAnswer
Staff & Editor
May 26, 2022

Hi @Hermine,

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

 

Thanks

Hermine
HermineAuthor
Explorer
May 26, 2022

Thanks

Yurisk
SuperUser
SuperUser
May 26, 2022

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

yurisk.info - all things Fortinet blog, no ads
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.