summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/nos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/nos.rb')
-rw-r--r--lib/oxidized/model/nos.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/nos.rb b/lib/oxidized/model/nos.rb
index bd2cb0f..ec7c818 100644
--- a/lib/oxidized/model/nos.rb
+++ b/lib/oxidized/model/nos.rb
@@ -22,14 +22,14 @@ class NOS < Oxidized::Model
end
cmd 'show chassis' do |cfg|
- comment cfg.each_line.reject { |line| line.match /Time/ }.join
+ comment cfg.each_line.reject { |line| line.match /Time/ or line.match /Update/ }.join
end
cfg 'show system' do |cfg|
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: /