Hello all.
I would like to ask for some solution regarding the alias configuration on FGT FW.
Below you can see that I setup basic alias named "route" to view routing table:
FW03A (global) # show system alias config system alias edit "route" set command "get router info routing-table details " next end
But main idea was to use this alias along with filtering of exact route, not view whole table (the reason why there is a white-space after "details" keyword).
However, when I put anything after the alias name, it will refuse to use it (there is no possibility to add anything after it):
FW03A (IFW1) # alias route ? <Enter> FW03A (IFW1) # alias route 10.50.70.1 command parse error before '10.50.70.1' Command fail. Return code -61 FW03A (IFW1) # alias route ? <Enter> FW03A (IFW1) # alias route
Did someone from you managed this "issue" in way to use anything after the alias ?
Browsing through the routing table, where is 100 rows is not what I want...
I was thinking about some use of regular expression, if this can be put inside the alias and somehow got the route into it (or similarly with any other alias like "show firewall policy " + policy_ID.
Thank you very much for any help !
Best Regards
Michal
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
I am really interested if you find something because I'm trying to use the same alias system for "diagnose sniffer packet any 'host x.x.x.x' 4 0 l" where I would juste type "host x.x.x.x" by example :\
Could be time saving :D
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1713 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.