summaryrefslogtreecommitdiff
path: root/docs/Model-Notes/VRP-Huawei.md
diff options
context:
space:
mode:
authorWild Kat <wk@futureinquestion.net>2018-03-17 11:30:47 +0100
committerWild Kat <wk@futureinquestion.net>2018-03-17 11:30:47 +0100
commitf17736cabf0edda6788eff206aa12c9e35a22341 (patch)
tree113fa19d95571137018e5465e07f499cfa551bd1 /docs/Model-Notes/VRP-Huawei.md
parent81fc3a4b423d8ce9fe69def57007312a96db6f67 (diff)
parent7ecd5abe1cc2f2bbc6b29687352564cb7f087a5a (diff)
refactor supermicro support
Diffstat (limited to 'docs/Model-Notes/VRP-Huawei.md')
-rw-r--r--docs/Model-Notes/VRP-Huawei.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/Model-Notes/VRP-Huawei.md b/docs/Model-Notes/VRP-Huawei.md
new file mode 100644
index 0000000..ff5426e
--- /dev/null
+++ b/docs/Model-Notes/VRP-Huawei.md
@@ -0,0 +1,35 @@
+Huawei VRP Configuration
+========================
+
+Create a user with no privileges
+
+```text
+ <HUAWEI> system-view
+ [~HUAWEI] aaa
+ [~HUAWEI-aaa] local-user oxidized password irreversible-cipher verysecret
+ [*HUAWEI-aaa] local-user oxidized level 1
+ [*HUAWEI-aaa] local-user oxidized service-type terminal ssh
+ [*HUAWEI-aaa] commit
+```
+
+The commands Oxidized executes are:
+
+1. screen-length 0 temporary
+2. display version
+3. display device
+4. display current-configuration all
+
+Command 2 and 3 can be executed without issues, but 1 and 4 are only available for higher level users. Instead of making Oxidized a read/write user on your device, lower the privilege-level for commands 1 and 4:
+
+```text
+ <HUAWEI> system-view
+ [~HUAWEI] command-privilege level 1 view global display current-configuration all
+ [*HUAWEI] command-privilege level 1 view shell screen-length
+ [*HUAWEI] commit
+```
+
+Oxidized can now retrieve your configuration!
+
+Caveat: Some versions of VRP default to appending a timestamp prior to the output of each `display` command, which will lead to superfluous updates. The configuration statement `timestamp disable` can be used to disable this functionality. (Issue #1218)
+
+Back to [Model-Notes](README.md)