diff options
author | Tar Committer <tar@ocjtech.us> | 2005-03-30 07:52:00 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2005-03-30 07:52:00 +0000 |
commit | 4d684aecaacc9a59e7e9c0661934aeba0b16efec (patch) | |
tree | 84adf7c191abe898368aa09c6b3592f40250a42c /bin/cat5rancid.in | |
parent | 654a4573f8fd2b1109e0ded8d9ce061dd3a2093f (diff) | |
download | rancid-4d684aecaacc9a59e7e9c0661934aeba0b16efec.tar.gz rancid-4d684aecaacc9a59e7e9c0661934aeba0b16efec.tar.xz rancid-4d684aecaacc9a59e7e9c0661934aeba0b16efec.zip |
Imported from rancid-2.3.2a.tar.gz.rancid-2.3.2a
Diffstat (limited to 'bin/cat5rancid.in')
-rw-r--r-- | bin/cat5rancid.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/cat5rancid.in b/bin/cat5rancid.in index f1214a1..174aead 100644 --- a/bin/cat5rancid.in +++ b/bin/cat5rancid.in @@ -1,6 +1,6 @@ #! @PERLV_PATH@ ## -## $Id: cat5rancid.in,v 1.36 2004/01/11 03:49:13 heas Exp $ +## $Id: cat5rancid.in,v 1.37 2005/03/20 22:15:35 heas Exp $ ## ## Copyright (C) 1997-2004 by Terrapin Communications, Inc. ## All rights reserved. @@ -1003,7 +1003,8 @@ sub DoNothing {print STDOUT;} 'show module' => "ShowModule", 'show port ifindex' => "ShowPortIfindex", 'write term all' => "WriteTerm", - 'write term' => "WriteTerm" + 'write term' => "WriteTerm", + 'show running-config' => "WriteTerm" ); # keys() doesnt return things in the order entered and the order of the # cmds is important (show version first and write term last). pita @@ -1019,7 +1020,8 @@ sub DoNothing {print STDOUT;} "show module", "show port ifindex", "write term all", - "write term" + "write term", + "show running-config" ); $cisco_cmds=join(";",@commands); $cmds_regexp=join("|",@commands); |