summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ciscosmb.rb
diff options
context:
space:
mode:
authorAtroskelis <fanachos@gmail.com>2016-11-18 17:22:06 +0200
committerGitHub <noreply@github.com>2016-11-18 17:22:06 +0200
commit9fdddda636f3f606a5eb7330e91a1c1a3a4a68a3 (patch)
treee8ad8a98ac5cda953e311c3f8fe658f7478287c5 /lib/oxidized/model/ciscosmb.rb
parentdf08feadfa68eb3493a6b0e60a1ef8f667936d4d (diff)
Update ciscosmb.rb
Added old commands in case of different CLI variations.
Diffstat (limited to 'lib/oxidized/model/ciscosmb.rb')
-rw-r--r--lib/oxidized/model/ciscosmb.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb
index 96baa7d..73151f8 100644
--- a/lib/oxidized/model/ciscosmb.rb
+++ b/lib/oxidized/model/ciscosmb.rb
@@ -36,6 +36,8 @@ class CiscoSMB < Oxidized::Model
cfg :telnet, :ssh do
username /^Username:/
password /^\r?Password:$/
+ post_login 'terminal datadump' # Disable pager
+ post_login 'terminal width 0'
post_login 'terminal len 0'
pre_logout 'exit' #exit returns to previous priv level, no way to quit from exec(#)
pre_logout 'exit'