summaryrefslogtreecommitdiff
path: root/docs/VRP-Huawei.md
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-07-05 12:59:50 +0300
committerGitHub <noreply@github.com>2017-07-05 12:59:50 +0300
commitc355e49071c40bad767fdf6295402043b5e9cbb1 (patch)
treee936dded8983e33ce82374ba396703c9d2a47815 /docs/VRP-Huawei.md
parent8e2e68392f2a13839ce43149a66488b8154c79e4 (diff)
parente0ede4f6403a243d592c7329ea852ef62556733b (diff)
Merge pull request #914 from tuxis-ie/huawei-doc
Add documentation for Huawei VRP devices
Diffstat (limited to 'docs/VRP-Huawei.md')
-rw-r--r--docs/VRP-Huawei.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/VRP-Huawei.md b/docs/VRP-Huawei.md
new file mode 100644
index 0000000..9e97b7d
--- /dev/null
+++ b/docs/VRP-Huawei.md
@@ -0,0 +1,27 @@
+Huawei VRP Configuration
+========================
+
+Create a user with no privileges
+
+ <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 priviledge-level for commands 1 and 4:
+
+ <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! \ No newline at end of file