summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/nos.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-05-25 15:18:02 +0300
committerytti <saku@ytti.fi>2016-05-25 15:18:02 +0300
commit38e119f714f0fc22b6556eec7bff5870505ba15f (patch)
treea8b8756053e4d1fa6af31744c9e618b6addee719 /lib/oxidized/model/nos.rb
parent68a0517b83459c16da4e2c4e21fb39c5b1382f38 (diff)
parent18be79349a675a802ae0aaae0e79751c47c51a19 (diff)
Merge pull request #389 from PANZERBARON/master
Add 'nomore' to NOS model for sh run command
Diffstat (limited to 'lib/oxidized/model/nos.rb')
-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: /