diff options
Diffstat (limited to 'bin/rancid-fe')
-rwxr-xr-x | bin/rancid-fe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/rancid-fe b/bin/rancid-fe index e3dc94e..8dab8a5 100755 --- a/bin/rancid-fe +++ b/bin/rancid-fe @@ -21,12 +21,18 @@ # usage: rancid-fe <router>:<vendor> # +require 5; + ($router, $vendor) = split('\:', $ARGV[0]); if ($vendor =~ /^cisco$/i) { exec('rancid', $router); } elsif ($vendor =~ /^juniper$/i) { exec('jrancid', $router); +} elsif ($vendor =~ /^foundry$/i) { + exec('francid', $router); +} elsif ($vendor =~ /^redback$/i) { + exec('rrancid', $router); } printf(STDERR "unknown router manufacturer for $router: $vendor\n"); |