01 | GREP
Usage: grep [-invfcABC] PATTERN
Options:
-i Ignore case distinctions
-n Print line number with output lines
-v Select non-matching lines
-f Print fortinet config context
-c Only print count of matching lines
-A Print NUM lines of trailing context
-B Print NUM lines of leading context
-C Print NUM lines of output context
Je kan ook meerdere waardes filteren op deze manier: show system interface | grep 'VLAN4000\|VLAN4001'
Maak bij meerdere waardes gebruik van de ' aan het begin en eind van de opsomming. Gebruik tussen de waardes \|