To add a network route, use the following sis-console commands, Ant tasks, or related MBean operations.

Console commands

addnetworkroute

Command

addnetworkroute <ra-entity> <interface-type> <rule> <interface-name> [position]
    Add a new network route to the SIS. The interface-type must be IN or SIP. Rules
    are of the format "<type> [<value>]". For SIP, 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. For IN, the rule type may be
    "protocol", "orig-address", or "dest-address", and a value must always be
    specified. IN also allows multiple rules to be specified, delimited using the
    ampersand '&'.
Note The position parameter is optional. If not specified, the new route is added to the end of the current route list.

Example

To add a network route of type IN, in the SIS instance named sis, with a rule specifying to select the the network interface named external-scp if the destination SCCP address is a global title address with digit prefix 3460100:

$ ./sis-console addnetworkroute sis IN "dest-address type=c7,ri=gt,digits=3460100" external-scp
Network route added

adddefaultnetworkroute

Command

adddefaultnetworkroute <ra-entity> <interface-type> <interface-name>
    Add a default route to the SIS
Note At most one default route of a given type may be configured in a single SIS instance.

Example

To add a default network route of type SIP, in the SIS instance named sis that uses the network interface named default:

$ ./sis-console adddefaultnetworkroute SIP default
Default route added

Ant tasks

addnetworkroute

Task

<addnetworkroute type="..." rule="..." interface="..." position="..."/>

Example

To add a network route of type IN, with a rule specifying to select the network interface named external-scp if the destination SCCP address is a global title address with digit prefix 3460100:

<sis-management>
    <addnetworkroute type=IN" rule="dest-address type=c7,ri=gt,digits=3460100" interface="external-scp"/>
</sis-management>

adddefaultnetworkroute

Task

<adddefaultnetworkroute type="..." interface="..."/>

Example

To add a default network route of type SIP, that uses the network interface named default:

<sis-management>
    <adddefaultnetworkroute type=SIP" interface="default"/>
</sis-management>

MBean operations

MBean

addRoute

Operation

To add a network route:

public ObjectName addRoute(NetworkInterfaceType type, String rule, String interfaceName, int position)
    throws NullPointerException, InvalidArgumentException,
           UnrecognizedComponentException, AlreadyDeployedException,
           InvalidStateException, ManagementException;

addDefaultRoute

Operation

To add a default network route:

public ObjectName addDefaultRoute(NetworkInterfaceType type, String interfaceName)
    throws NullPointerException, UnrecognizedComponentException,
           AlreadyDeployedException, InvalidStateException,
           ManagementException;
Previous page Next page
SIS Version 2.5.4