summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorTibshoOT <tib@rocknroot.org>2016-04-11 19:07:01 +0200
committerTibshoOT <tib@rocknroot.org>2016-04-11 19:07:01 +0200
commit18be79349a675a802ae0aaae0e79751c47c51a19 (patch)
tree6b5cf1ac61f918fd6edb0333411c7eccfaef3430 /lib/oxidized/model
parent525b1fe5f56b91082172cbbcaba90290118e5590 (diff)
Add 'nomore' to NOS model for sh run command
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/nos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/nos.rb b/lib/oxidized/model/nos.rb
index bd2cb0f..f71420b 100644
--- a/lib/oxidized/model/nos.rb
+++ b/lib/oxidized/model/nos.rb
@@ -29,7 +29,7 @@ class NOS < Oxidized::Model
comment cfg.each_line.reject { |line| line.match /Time/ or line.match /speed/ }
end
- cmd 'show running-config'
+ cmd 'show running-config | nomore'
cfg :telnet do
username /^.* login: /