In this project you can find some useful snippets to create config for JunOS devices.
The snippets will save you some time while preparing configs.
Write the keyword in the first column and press tab. To advance to the next placeholder press tab.
Keyword | Meaning |
---|---|
secp | Security Policy. |
gsecp | Global Security Policy. |
aobj | Global Address Object. |
zaobj | Zone Address Object. |
aset | Address Set. |
zaset | Zone Address Set. |
appou | App Object (UDP) |
appot | App Object (TCP) |
appset | Application Set. |
ssmp | Show Security Match Policies. |
ssfs | Show Security Flow session. |
- If you are usiung Mac:
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
git clone [email protected]:danielmacuare/JunOS-Sublime-Snippets.git
- If you are using Windows:
cd %APPDATA%/Sublime\ Text\ 3/Packages/Sublime\ Text\ 3\ Snippets
git clone [email protected]:danielmacuare/JunOS-Sublime-Snippets.git
- If you are using Linux:
cd ~/.config/sublime-text-3/Packages/User
git clone [email protected]:danielmacuare/JunOS-Sublime-Snippets.git
To create more snippets http://docs.sublimetext.info/en/latest/extensibility/snippets.html?highlight=snippet
Sublime Text - https://www.sublimetext.com/3
<keyword> + tab