diff options
Diffstat (limited to 'lib/oxidized/model/ciscosmb.rb')
-rw-r--r-- | lib/oxidized/model/ciscosmb.rb | 2 |
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' |