-
Notifications
You must be signed in to change notification settings - Fork 28
XROUTE
xroute - manage XIA route tables
usage: xroute [-hpnvia:f:d:r:] [commands] where:
-h <host>,--host=<host>
specify the click host address
--port=<port>
specify the click control port
--type=<xid>
only output information for the specified XID type can be specified multiple times on the command line
-p, --print
print the route tables to stdout (default action)
-n, --names
print the known alias:xid mappings to stdout
-v, --verbose
always print the full XID even if an alias exists
-f <file>, --file=<file>
read add/delete commands from a config file
commands are in the form of:
add/update:
cmd type,xid,port[,nexthop,flags] add AD,AD0,1 add HID,-,0,HID1,0
delete:
del CID,CID:0000000000000000000000000000000000000000
-d <file> , --dump=<file>
dump a command file contining the current route tables the file format will be the same as the above command
-a <entry>, --add=<entry>
add a route, can be specified multipe times format of entry is the same as above except the add/del prefix is not used
-r <entry>, --remove=<entry> remove a route, can be specified multipe times
format of entry is the same as above except the add/del prefix is not used