www.usr.com/support/gpl/USR9108_release1.5.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / html / routeremove.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--
3         (c) 2005 U.S. Robotics Corporation
4 -->
5 <html>
6 <head>
7         <title></title>
8
9         <link href="usr_main.css" rel="stylesheet" type="text/css">
10         <link href="usr_menus.css" rel="stylesheet" type="text/css"><script src="usr_menus.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
11         <script src="usr_common.js" type="text/javascript"></script>
12
13         <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
14
15    <script type="text/javascript" src="util.js"></script>
16    <script type="text/javascript">
17 <!-- hide
18
19 setPageTitle("<%ejGetWlJS(wlInterface)%>");
20
21 function btnClear() {
22    with ( document.forms[0] ) {
23       dstAddr.value = '';
24       dstMask.value = '';
25    }
26 }
27
28 function btnApply() {
29    var loc = 'routeremove.cmd?';
30
31    with ( document.forms[0] ) {
32       if ( isValidIpAddress(dstAddr.value) == false ) {
33          msg = 'Destination "' + dstAddr.value + '" has invalid IP address.';
34          alert(msg);
35          return;
36       }
37       if ( isValidIpAddress(dstMask.value) == false ) {
38          msg = 'Subnet mask "' + dstMask.value + '" has invalid IP address.';
39          alert(msg);
40          return;
41       }
42       loc += 'dstAddr=' + dstAddr.value;
43       loc += '&dstMask=' + dstMask.value;
44    }
45
46    var code = 'location = "' + loc + '"';
47    eval(code);
48 }
49
50 // done hiding -->
51 </script>
52    </head>
53    <body onload="initMenu();">
54
55 <script type="text/javascript">
56         writeHeader("Routing");
57 </script>
58
59 <form>
60         <h3>Remove Static Route</h3>
61
62         <p>Enter the destination network address, subnet mask and press <b>Apply</b> to remove 
63         the entry from the routing table.</p>
64
65         <table border="0" cellpadding="1" cellspacing="0">
66            <tr>
67               <td><label for="dstAddr">Destination network address:</label></td>
68               <td><input type='text' name='dstAddr' id='dstAddr'></td>
69            </tr>
70            <tr>
71               <td><label for="dstMask">Subnet mask:</label></td>
72               <td><input type='text' name='dstMask' id='dstMask'></td>
73            </tr>
74         </table>
75
76         <p><input type='button' onClick='btnApply()' value='Apply'></p>
77 </form>
78
79 <script type="text/javascript">
80         writeFooter();
81 </script>
82
83 </body>
84 </html>