diff options
author | CppMonkey <parsons151185@gmail.com> | 2018-03-20 09:53:41 +0000 |
---|---|---|
committer | CppMonkey <parsons151185@gmail.com> | 2018-03-20 09:53:41 +0000 |
commit | 97aa0535a0c8c237c1ccb7a1683d5f6faa1f0339 (patch) | |
tree | a0970d6c3d68dbef9c0ba6d91b16662f338e7bb1 /lib | |
parent | 1b2a5721b66fbc11a182da1bd11fb7f7eb1b0e9b (diff) |
Added more commands
Shows more details. Confirms stacking config (Ring/Chain)
Allows tracking of firmware on ras0 and ras1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/zynoscli.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/oxidized/model/zynoscli.rb b/lib/oxidized/model/zynoscli.rb index 9f29a16..ae64b04 100644 --- a/lib/oxidized/model/zynoscli.rb +++ b/lib/oxidized/model/zynoscli.rb @@ -1,5 +1,4 @@ class ZyNOSCLI < Oxidized::Model - # Used in Zyxel DSLAMs, such as SAM1316 # Typical prompt "XGS4600#" @@ -9,6 +8,9 @@ class ZyNOSCLI < Oxidized::Model cmd :all do |cfg| cfg.gsub! /^.*\e7/, '' end + cmd 'show stacking' + + cmd 'show version' cmd 'show running-config' @@ -31,5 +33,4 @@ class ZyNOSCLI < Oxidized::Model end pre_logout 'exit' end - end |