Fortios has the ability to create alias commands. Great if your tired of typing login strings to get status
config system alias
edit "get"
set command "get system status | grep Version"
next
edit "policy"
set command "show firewall policy"
next
edit "route"
set command "get router info routing all"
next
edit "vpn1"
set command "diag vpn ike gateway"
next
edit "vpn2"
set command "diag vpn tunnel list"
next
end
execute is simple , just use "alias" followed by the alias
e.g
alias route
Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
No comments:
Post a Comment