summaryrefslogtreecommitdiff
path: root/docs/Model-Notes/JunOS.md
diff options
context:
space:
mode:
authorWild Kat <wk@futureinquestion.net>2018-03-20 23:15:34 +0100
committerWild Kat <wk@futureinquestion.net>2018-03-20 23:15:34 +0100
commit6f672654c7e725bc828b6577297b86d501780c50 (patch)
treecf29588894d0c071f0e6b393671c84b7dd605163 /docs/Model-Notes/JunOS.md
parentbaee367bfec7ec5241ad7e893de7df8ea7eec1e7 (diff)
parente7075d18e055613cb0324f0fc8eecfe7adeeac56 (diff)
refactor snr support into dcnos model
Diffstat (limited to 'docs/Model-Notes/JunOS.md')
-rw-r--r--docs/Model-Notes/JunOS.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/Model-Notes/JunOS.md b/docs/Model-Notes/JunOS.md
new file mode 100644
index 0000000..8093df0
--- /dev/null
+++ b/docs/Model-Notes/JunOS.md
@@ -0,0 +1,34 @@
+JunOS Configuration
+===================
+
+Create login class cfg-view
+
+```text
+set system login class cfg-view permissions view-configuration
+set system login class cfg-view allow-commands "(show)|(set cli screen-length)|(set cli screen-width)"
+set system login class cfg-view deny-commands "(clear)|(file)|(file show)|(help)|(load)|(monitor)|(op)|(request)|(save)|(set)|(start)|(test)"
+set system login class cfg-view deny-configuration all
+```
+
+Create a user with cfg-view class
+
+```text
+set system login user oxidized class cfg-view
+set system login user oxidized authentication plain-text-password "verysecret"
+```
+
+The commands Oxidized executes are:
+
+1. set cli screen-length 0
+2. set cli screen-width 0
+3. show configuration
+4. show version
+5. show chassis hardware
+6. show system license
+7. show system license keys (ex22|ex33|ex4|ex8|qfx only)
+8. show virtual-chassis (MX960 only)
+9. show chassis fabric reachability
+
+Oxidized can now retrieve your configuration!
+
+Back to [Model-Notes](README.md)