From 9fdddda636f3f606a5eb7330e91a1c1a3a4a68a3 Mon Sep 17 00:00:00 2001 From: Atroskelis Date: Fri, 18 Nov 2016 17:22:06 +0200 Subject: Update ciscosmb.rb Added old commands in case of different CLI variations. --- lib/oxidized/model/ciscosmb.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/oxidized/model/ciscosmb.rb') 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' -- cgit v1.2.1