From 18be79349a675a802ae0aaae0e79751c47c51a19 Mon Sep 17 00:00:00 2001 From: TibshoOT Date: Mon, 11 Apr 2016 19:07:01 +0200 Subject: Add 'nomore' to NOS model for sh run command --- lib/oxidized/model/nos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized') 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: / -- cgit v1.2.1