#!/usr/bin/perl # # $Copyright$ # # $Id: stopRedirect2.seq,v 1.1.1.1 2000/10/31 22:39:03 sekiya Exp $ ######################################################################## BEGIN { $V6evalTool::TestVersion = '$Name: $ '; } use V6evalTool; use nd; use routerRedirect; ndOptions(@ARGV); # The following generate debugging messages. $nd::debug=$ndOpt_v|$ndOpt_vv; # You can specifies debug optons to a remote control program. # If you want to know more detail, please see the following: # - V6evalTool.pm: perldoc V6evalTool # - V6evalRemote.pm: perldoc V6evalRemote $nd::remote_debug="-o1" if $ndOpt_vv; # # # $type=$V6evalTool::NutDef{Type}; if($type eq host) { vLogHTML("This test is for the router only
"); exit $V6evalTool::exitRouterOnly; } $type=$V6evalTool::NutDef{Type}; if($type ne router) { vLogHTML(ndErrmsg("ERROR: $V6evalTool::NutDef{Type}: ". "Unknown target type
")); exit $V6evalTool::exitFail; } # # # $IF=Link0; vCapture($IF); # # # rrdClearRdEnv2($IF) || goto error; # # # vLogHTML("OK
"); exit $V6evalTool::exitIgnore; error: vLogHTML(ndErrmsg("NG
")); exit $V6evalTool::exitFail; ######################################################################## __END__ =head1 NAME stopRedirect2 - TBD =head1 TARGET Router Only =head1 SYNOPSIS stopRedirect2.seq [-tooloption ...] -p /dev/null =head1 INITIALIZATION N/A =head1 TEST PROCEDURE N/A =head1 JUDGMENT N/A =head1 TERMINATION =begin html Clear the configurations that were done by the initialization: =end html =head1 NOTE TBD =head1 SEE ALSO perldoc V6evalTool perldoc V6evalRemote =cut