From 6890754f0a579fc9be3912113dcfe510b2837f7c Mon Sep 17 00:00:00 2001 From: CppMonkey Date: Thu, 1 Feb 2018 17:39:00 +0000 Subject: Initial commit for SSH/Telnet on Xyzel XGS4600 series --- docs/Model-Notes/README.md | 2 +- docs/Model-Notes/XGS4600-Zyxel.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/README.md b/docs/Model-Notes/README.md index f51ed80..a2ac681 100644 --- a/docs/Model-Notes/README.md +++ b/docs/Model-Notes/README.md @@ -13,7 +13,7 @@ Vendor | Model |Updated ----------------|-----------------|---------------- Huawei|[VRP](VRP-Huawei.md)|17 Nov 2017 Juniper|[MX/QFX/EX/SRX/J Series](JunOS.md)|18 Jan 2018 -Xyzel|[XGS4600 Series](XGS4600-Zyxel.md)|23 Jan 2018 +Xyzel|[XGS4600 Series](XGS4600-Zyxel.md)|1 Feb 2018 If you discover additional caveats or problems please make sure to consult the [GitHub issues for oxidized](https://github.com/ytti/oxidized/issues) known issues. diff --git a/docs/Model-Notes/XGS4600-Zyxel.md b/docs/Model-Notes/XGS4600-Zyxel.md index 0ff2e7d..6fb6daf 100644 --- a/docs/Model-Notes/XGS4600-Zyxel.md +++ b/docs/Model-Notes/XGS4600-Zyxel.md @@ -18,6 +18,23 @@ input: passive: false ``` + +## SSH/TelNet + +Below is the table from the XGS4600 CLI Reference Guide (Version 3.79~4.50 Edition 1, 07/2017) +Take this table with a pink of salt, level 3 will not allow _show running-config_! +Privilege Level | Types of commands at this privilege level +----------------|------------------------------------------- +0|Display basic system information. +3|Display configuration or status. +13|Configure features except for login accounts, SNMP user accounts, the authentication +method sequence and authorization settings, multiple logins, administrator and enable +passwords, and configuration information display. +14|Configure login accounts, SNMP user accounts, the authentication method sequence and +authorization settings, multiple logins, and administrator and enable passwords, and display +configuration information. + + Oxidized can now retrieve your configuration! -- cgit v1.2.1 From 058bf1d9d19ddbcebd304c56c0a0aec1a271a036 Mon Sep 17 00:00:00 2001 From: CppMonkey Date: Thu, 1 Feb 2018 17:43:55 +0000 Subject: Fixed privilege table not displaying correctly --- docs/Model-Notes/XGS4600-Zyxel.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/XGS4600-Zyxel.md b/docs/Model-Notes/XGS4600-Zyxel.md index 6fb6daf..072ac1a 100644 --- a/docs/Model-Notes/XGS4600-Zyxel.md +++ b/docs/Model-Notes/XGS4600-Zyxel.md @@ -23,6 +23,7 @@ input: Below is the table from the XGS4600 CLI Reference Guide (Version 3.79~4.50 Edition 1, 07/2017) Take this table with a pink of salt, level 3 will not allow _show running-config_! + Privilege Level | Types of commands at this privilege level ----------------|------------------------------------------- 0|Display basic system information. -- cgit v1.2.1 From 70b83e31ae40662b2d93aae0b7491af2464aaef1 Mon Sep 17 00:00:00 2001 From: KodApa85 Date: Thu, 1 Feb 2018 17:49:32 +0000 Subject: removed return characters, fixing the table --- docs/Model-Notes/XGS4600-Zyxel.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/XGS4600-Zyxel.md b/docs/Model-Notes/XGS4600-Zyxel.md index 072ac1a..33953ea 100644 --- a/docs/Model-Notes/XGS4600-Zyxel.md +++ b/docs/Model-Notes/XGS4600-Zyxel.md @@ -28,12 +28,8 @@ Privilege Level | Types of commands at this privilege level ----------------|------------------------------------------- 0|Display basic system information. 3|Display configuration or status. -13|Configure features except for login accounts, SNMP user accounts, the authentication -method sequence and authorization settings, multiple logins, administrator and enable -passwords, and configuration information display. -14|Configure login accounts, SNMP user accounts, the authentication method sequence and -authorization settings, multiple logins, and administrator and enable passwords, and display -configuration information. +13|Configure features except for login accounts, SNMP user accounts, the authentication method sequence and authorization settings, multiple logins, administrator and enable passwords, and configuration information display. +14|Configure login accounts, SNMP user accounts, the authentication method sequence and authorization settings, multiple logins, and administrator and enable passwords, and display configuration information. Oxidized can now retrieve your configuration! -- cgit v1.2.1 From 7c108b6b7a3277aac44455b93a587d1d01a58041 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Mon, 5 Feb 2018 21:55:31 +0000 Subject: Added support for setting ssh auth methods --- docs/Model-Notes/EOS.md | 9 +++++++++ docs/Model-Notes/README.md | 1 + 2 files changed, 10 insertions(+) create mode 100644 docs/Model-Notes/EOS.md (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/EOS.md b/docs/Model-Notes/EOS.md new file mode 100644 index 0000000..66287e3 --- /dev/null +++ b/docs/Model-Notes/EOS.md @@ -0,0 +1,9 @@ +Arista EOS Configuration +======================== + +By default EOS requires keyboard-interactive to be added to your Oxidized config. You can avoid having to do this by configuring the following on the EOS device: + +``` +management ssh + authentication mode password +``` diff --git a/docs/Model-Notes/README.md b/docs/Model-Notes/README.md index f51ed80..636c9fa 100644 --- a/docs/Model-Notes/README.md +++ b/docs/Model-Notes/README.md @@ -11,6 +11,7 @@ Use the table below for more information on the Vendor/Model caveats. Vendor | Model |Updated ----------------|-----------------|---------------- +Arista|[EOS](EOS.md)|05 Feb 2018 Huawei|[VRP](VRP-Huawei.md)|17 Nov 2017 Juniper|[MX/QFX/EX/SRX/J Series](JunOS.md)|18 Jan 2018 Xyzel|[XGS4600 Series](XGS4600-Zyxel.md)|23 Jan 2018 -- cgit v1.2.1 From 1b2a5721b66fbc11a182da1bd11fb7f7eb1b0e9b Mon Sep 17 00:00:00 2001 From: CppMonkey Date: Tue, 20 Mar 2018 09:51:15 +0000 Subject: Merged latest changes from ytti/oxidized --- docs/Model-Notes/README.md | 14 ++++++-------- docs/Model-Notes/XGS4600-Zyxel.md | 12 +++++++----- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/README.md b/docs/Model-Notes/README.md index a2ac681..12133fb 100644 --- a/docs/Model-Notes/README.md +++ b/docs/Model-Notes/README.md @@ -1,19 +1,17 @@ - - Model Notes -======================== - +=========== -This directory contains implemention notes and caveats to assist you in your oxidized deployment. +This directory contains implementation notes and caveats to assist you in your oxidized deployment. Use the table below for more information on the Vendor/Model caveats. - Vendor | Model |Updated ----------------|-----------------|---------------- +3COM|[Comware](Comware.md)|15 Feb 2018 +AireOS|[AireOS](AireOS.md)|29 Nov 2017 +Arbor Networks|[ArbOS](ArbOS.md)|27 Feb 2018 Huawei|[VRP](VRP-Huawei.md)|17 Nov 2017 Juniper|[MX/QFX/EX/SRX/J Series](JunOS.md)|18 Jan 2018 -Xyzel|[XGS4600 Series](XGS4600-Zyxel.md)|1 Feb 2018 - +Zyxel|[XGS4600 Series](XGS4600-Zyxel.md)|1 Feb 2018 If you discover additional caveats or problems please make sure to consult the [GitHub issues for oxidized](https://github.com/ytti/oxidized/issues) known issues. diff --git a/docs/Model-Notes/XGS4600-Zyxel.md b/docs/Model-Notes/XGS4600-Zyxel.md index 33953ea..3c69cee 100644 --- a/docs/Model-Notes/XGS4600-Zyxel.md +++ b/docs/Model-Notes/XGS4600-Zyxel.md @@ -1,18 +1,20 @@ ZynOS Configuration -======================== +=================== ## FTP + FTP access is only possible as admin, other users can login but cannot pull the files. For the XGS4600 series the config file is _config_ and not _config-0_ -The following line in _oxidized/lib/oxidized/model/zynos.rb_ with need changing -``` - cmd 'config-0' +The following line in _oxidized/lib/oxidized/model/zynos.rb_ will need changing +```text + cmd 'config-0' ``` The inclusion of an extra ftp option is also require. Within _input_ add the following -``` + +```yaml input: ftp: passive: false -- cgit v1.2.1 From b29550ce0cfaf6192652747d340da2dc777ac22b Mon Sep 17 00:00:00 2001 From: Zsolt Zsiros Date: Mon, 16 Apr 2018 14:48:43 +0200 Subject: model: netgear.rb support for older models (#1268) * Added support for older models (FW 5.x.y.z like on GS110TP, GS748Tv4, etc) * Fixed prompt regex * docs/Model-Notes/Netgear created * docs/Model-Notes/Netgear fixed typos --- docs/Model-Notes/Netgear.md | 66 +++++++++++++++++++++++++++++++++++++++++++++ docs/Model-Notes/README.md | 1 + 2 files changed, 67 insertions(+) create mode 100644 docs/Model-Notes/Netgear.md (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/Netgear.md b/docs/Model-Notes/Netgear.md new file mode 100644 index 0000000..9bfd094 --- /dev/null +++ b/docs/Model-Notes/Netgear.md @@ -0,0 +1,66 @@ +Netgear Configuration +===================== + +There are several models available with CLI management via telnet (port 60000), but they all behave like one of the following: +- older models: +``` +Connected to 192.168.3.201. + +(GS748Tv4) +Applying Interface configuration, please wait ...admin +Password:******** +(GS748Tv4) >enable +Password: + +(GS748Tv4) #terminal length 0 + +(GS748Tv4) #show running-config +``` + +- newer models: +``` +Connected to 172.0.3.203. + +User:admin +Password:******** +(GS724Tv4) >enable + +(GS724Tv4) #terminal length 0 + +(GS724Tv4) #show running-config +``` + +The main differences are: +- the prompt for username is different (looks quite strange for older models) +- enable password + - the older model prompts for enable password and it expects empty string + - the newer model does not prompt for enable password at all + +Configuration for older/newer models: make sure you have defined variable 'enable': +- `'true'` for newer models +- `''` empty string: for older models + +One possible configuration: +- oxidized config +``` +source: + default: csv + csv: + file: "/home/oxidized/.config/oxidized/router.db" + delimiter: !ruby/regexp /:/ + map: + name: 0 + model: 1 + username: 2 + password: 3 + vars_map: + enable: 4 + telnet_port: 5 +``` +- router.db +``` +switchOldFW:netgear:admin:adminpw::60000 +switchNewFW:netgear:admin:adminpw:true:60000 +``` + +[Reference](https://github.com/ytti/oxidized/pull/1268) \ No newline at end of file diff --git a/docs/Model-Notes/README.md b/docs/Model-Notes/README.md index c4b0ed1..fd1298e 100644 --- a/docs/Model-Notes/README.md +++ b/docs/Model-Notes/README.md @@ -12,6 +12,7 @@ AireOS|[AireOS](AireOS.md)|29 Nov 2017 Arbor Networks|[ArbOS](ArbOS.md)|27 Feb 2018 Huawei|[VRP](VRP-Huawei.md)|17 Nov 2017 Juniper|[MX/QFX/EX/SRX/J Series](JunOS.md)|18 Jan 2018 +Netgear|[Netgear](Netgear.md)|11 Apr 2018 Zyxel|[XGS4600 Series](XGS4600-Zyxel.md)|23 Jan 2018 If you discover additional caveats or problems please make sure to consult the [GitHub issues for oxidized](https://github.com/ytti/oxidized/issues) known issues. -- cgit v1.2.1 From 6d9181ae1a191a9e4bfc028edfd3c5b5d0435d0e Mon Sep 17 00:00:00 2001 From: Jason Ackley Date: Tue, 24 Apr 2018 10:08:58 -0500 Subject: Consistency - add a link back to Model-Notes at the bottom --- docs/Model-Notes/ArbOS.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/ArbOS.md b/docs/Model-Notes/ArbOS.md index f68467f..ebac997 100644 --- a/docs/Model-Notes/ArbOS.md +++ b/docs/Model-Notes/ArbOS.md @@ -8,3 +8,5 @@ If you are running ArbOS version 7 or lower then you may need to update the mode pre_logout 'exit' end ``` + +Back to [Model-Notes](README.md) -- cgit v1.2.1 From ffbc250f019fadabb7fd26b046c2a2e8e235b33c Mon Sep 17 00:00:00 2001 From: Jason Ackley Date: Tue, 24 Apr 2018 10:09:28 -0500 Subject: Consistency - add a link back to Model-Notes at the bottom --- docs/Model-Notes/Comware.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/Comware.md b/docs/Model-Notes/Comware.md index e7a2198..048f312 100644 --- a/docs/Model-Notes/Comware.md +++ b/docs/Model-Notes/Comware.md @@ -10,3 +10,5 @@ info-center source default channel 1 log state off debug state off ``` [Reference](https://github.com/ytti/oxidized/issues/1171) + +Back to [Model-Notes](README.md) -- cgit v1.2.1 From b6f4c3665b773ae0ba95a9a6084392d47779e8fd Mon Sep 17 00:00:00 2001 From: Jason Ackley Date: Tue, 24 Apr 2018 10:10:06 -0500 Subject: Netgear notes updates Consistency - add a link back to Model-Notes at the bottom Tag a YAML block as YAML for highlighting. --- docs/Model-Notes/Netgear.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/Netgear.md b/docs/Model-Notes/Netgear.md index 9bfd094..d82bdcc 100644 --- a/docs/Model-Notes/Netgear.md +++ b/docs/Model-Notes/Netgear.md @@ -6,7 +6,7 @@ There are several models available with CLI management via telnet (port 60000), ``` Connected to 192.168.3.201. -(GS748Tv4) +(GS748Tv4) Applying Interface configuration, please wait ...admin Password:******** (GS748Tv4) >enable @@ -42,7 +42,7 @@ Configuration for older/newer models: make sure you have defined variable 'enabl One possible configuration: - oxidized config -``` +```yaml source: default: csv csv: @@ -63,4 +63,6 @@ switchOldFW:netgear:admin:adminpw::60000 switchNewFW:netgear:admin:adminpw:true:60000 ``` -[Reference](https://github.com/ytti/oxidized/pull/1268) \ No newline at end of file +[Reference](https://github.com/ytti/oxidized/pull/1268) + +Back to [Model-Notes](README.md) -- cgit v1.2.1 From b1d2d69c1fa0a122b3a99687721b35c99d25aab5 Mon Sep 17 00:00:00 2001 From: KodApa85 Date: Fri, 27 Apr 2018 14:53:05 +0100 Subject: Corrected spelling mistake --- docs/Model-Notes/XGS4600-Zyxel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/XGS4600-Zyxel.md b/docs/Model-Notes/XGS4600-Zyxel.md index c24bed6..8b58ed8 100644 --- a/docs/Model-Notes/XGS4600-Zyxel.md +++ b/docs/Model-Notes/XGS4600-Zyxel.md @@ -24,7 +24,7 @@ input: ## SSH/TelNet Below is the table from the XGS4600 CLI Reference Guide (Version 3.79~4.50 Edition 1, 07/2017) -Take this table with a pink of salt, level 3 will not allow _show running-config_! +Take this table with a pinch of salt, level 3 will not allow _show running-config_! Privilege Level | Types of commands at this privilege level ----------------|------------------------------------------- -- cgit v1.2.1 From be6872a004f3422471edcc3cab8479e7adff07dd Mon Sep 17 00:00:00 2001 From: KodApa85 Date: Fri, 27 Apr 2018 14:55:13 +0100 Subject: Removed accidental deletion --- docs/Model-Notes/README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/Model-Notes') diff --git a/docs/Model-Notes/README.md b/docs/Model-Notes/README.md index 99c8291..993eb77 100644 --- a/docs/Model-Notes/README.md +++ b/docs/Model-Notes/README.md @@ -13,6 +13,7 @@ Arbor Networks|[ArbOS](ArbOS.md)|27 Feb 2018 Arista|[EOS](EOS.md)|05 Feb 2018 Huawei|[VRP](VRP-Huawei.md)|17 Nov 2017 Juniper|[MX/QFX/EX/SRX/J Series](JunOS.md)|18 Jan 2018 +Netgear|[Netgear](Netgear.md)|11 Apr 2018 Zyxel|[XGS4600 Series](XGS4600-Zyxel.md)|1 Feb 2018 If you discover additional caveats or problems please make sure to consult the [GitHub issues for oxidized](https://github.com/ytti/oxidized/issues) known issues. -- cgit v1.2.1