To
add a network route,
use the following sis-console
commands, Ant tasks, or related MBean operations.
Console commands
SIP
addnetworkroute
Command |
addnetworkroute <ra-entity> <rule> <interface-name> [position] Add a new network route to the SIS. Rules are of the format "<type> [<value>]". The rule type may be "ip", "domain", "regex", "all", or "none". If the rule type is "ip", "domain", or "regex", a value must be specified for the rule.
|
||
---|---|---|---|
Example |
To add a network route in the SIS instance named $ ./sis-console addnetworkroute sis "domain internal.home1.net" sis-internal Network route added |
adddefaultnetworkroute
Command |
adddefaultnetworkroute <ra-entity> <interface-name> Add a default route to the SIS
|
||
---|---|---|---|
Example |
To add a default network route in the SIS instance named $ ./sis-console adddefaultnetworkroute sis default Default route added |
IN
addnetworkroute
Command |
addnetworkroute <ra-entity> <rule> <interface-name> [position] Add a new network route to the SIS. Rules are of the format "<type> [<value>]". The rule type may be "protocol", "orig-address", or "dest-address", and a value must always be specified. Multiple rules may be specified, delimited using the ampersand '&'.
|
||
---|---|---|---|
Example |
To add a network route in the SIS instance named $ ./sis-console addnetworkroute sis "dest-address type=c7,ri=gt,digits=3460100" external-scp Network route added |
adddefaultnetworkroute
Command |
adddefaultnetworkroute <ra-entity> <interface-name> Add a default route to the SIS
|
||
---|---|---|---|
Example |
To add a default network route in the SIS instance named $ ./sis-console adddefaultnetworkroute default Default route added |
Ant tasks
addnetworkroute
Task |
<addnetworkroute rule="..." interface="..." position="..."/> |
---|---|
Example |
To add a network route with a rule specifying to select the network interface named <sis-in-management> <addnetworkroute rule="dest-address type=c7,ri=gt,digits=3460100" interface="external-scp"/> </sis-in-management> or to add a network route with a rule specifying to select the network interface named <sis-sip-management> <addnetworkroute rule="domain internal.home1.net" interface="sis-internal"/> </sis-sip-management> |
adddefaultnetworkroute
Task |
<adddefaultnetworkroute interface="..."/> |
---|---|
Example |
To add a default network route that uses the network interface named <sis-in-management> <adddefaultnetworkroute interface="default"/> </sis-in-management> or <sis-sip-management> <adddefaultnetworkroute interface="default"/> </sis-sip-management> |
MBean operations
SIP
MBean |
---|
addRoute
Operation |
To add a network route: public ObjectName addRoute(String rule, String interfaceName, int position) throws NullPointerException, InvalidArgumentException, UnrecognizedComponentException, AlreadyDeployedException, InvalidStateException, ManagementException; |
---|
IN
MBean |
---|
addRoute
Operation |
To add a network route: public ObjectName addRoute(String rule, String interfaceName, int position) throws NullPointerException, InvalidArgumentException, UnrecognizedComponentException, AlreadyDeployedException, InvalidStateException, ManagementException; |
---|
Common
MBean |
---|
addDefaultRoute
Operation |
To add a default network route: public ObjectName addDefaultRoute(String interfaceName) throws NullPointerException, UnrecognizedComponentException, AlreadyDeployedException, InvalidStateException, ManagementException; |
---|