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.
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 in the SIS instance named sis which specifies that all requests routed to a subdomain of internal.home1.net should be sent on the sis-internal interface:

$ ./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
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 in the SIS instance named sis that uses the network interface named default:

$ ./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 '&'.
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 in the SIS instance named sis which specifies that the network interface named external-scp should be used if the destination SCCP address is a global title address with digit prefix 3460100:

$ ./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
Note At most one default route may be configured in a single SIS instance.

Example

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

$ ./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 external-scp if the destination SCCP address is a global title address with digit prefix 3460100:

<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-internal:

<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 default:

<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;
Previous page Next page
SIS Version 3.1.0