com.foxsmart.csu.example
Class UpdateStaticRouteNR
java.lang.Object
com.foxsmart.csu.example.NoRouterExample
com.foxsmart.csu.example.UpdateStaticRouteNR
public class UpdateStaticRouteNR
- extends NoRouterExample
The UpdateStaticRouteNR program add/updates/deletes a static route (i.e. the ip route command). If more than one
route is associated with the destination prefix and mask, then no action will be taken.
The "NR" example does not interface with an actual router but rather shows what commands would be issued to
a router during an update if one were present.
|
Method Summary |
static void |
main(java.lang.String[] args)
Invoke the application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
DEST_PREFIX
public static final java.lang.String DEST_PREFIX
- See Also:
- Constant Field Values
DEST_MASK
public static final java.lang.String DEST_MASK
- See Also:
- Constant Field Values
NEXT_HOP_INTERFACE
public static final java.lang.String NEXT_HOP_INTERFACE
- See Also:
- Constant Field Values
NEXT_HOP_ADDRESS
public static final java.lang.String NEXT_HOP_ADDRESS
- See Also:
- Constant Field Values
DISTANCE
public static final java.lang.String DISTANCE
- See Also:
- Constant Field Values
PERMANENT
public static final java.lang.String PERMANENT
- See Also:
- Constant Field Values
DELETE
public static final java.lang.String DELETE
- See Also:
- Constant Field Values
UpdateStaticRouteNR
public UpdateStaticRouteNR()
main
public static void main(java.lang.String[] args)
- Invoke the application.
- Parameters:
args - the arguments.
Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.