To update a network route, use the following sis-console command, Ant task, or related MBean operations.

Console command

updatenetworkroute

Command

updatenetworkroute <ra-entity> <interface-type> <position> [-rule <rule>] [-interface <interface-name>]
    Update an existing network route in the SIS

Example

To update a network route of type IN, in position 0, in the SIS instance named sis, with a new rule that specifies selecting the route’s network interface if the destination SCCP address is a PC/SSN address with an SSN of 146:

$ ./sis-console updatenetworkroute sis IN 0 -rule "dest-address type=c7,ri=pcssn,ssn=146"
Network route updated

Ant task

updatenetworkroute

Task

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

Example

To update a network route of type IN, in position 0, with a new rule that specifies selecting the route’s network interface if the destination SCCP address is a PC/SSN address with an SSN of 146:

<sis-management>
    <updatenetworkroute type=IN" position="0" rule="dest-address type=c7,ri=pcssn,ssn=146"/>
</sis-management>

MBean operations

MBean

getRule

Operation

To get the network route rule:

public String getRule()
    throws ManagementException;

setRule

Operation

To set the network route rule:

public void setRule(String rule)
    throws NullPointerException, InvalidStateException,
           InvalidArgumentException, AlreadyDeployedException, ManagementException;

getInterfaceName

Operation

To get the name of the network interface used by the route:

public String getInterfaceName(()
    throws ManagementException;

setInterfaceName

Operation

To set the name of the network interface used by the route:

public void setInterfaceName(String interfaceName)
    throws NullPointerException, UnrecognizedComponentException,
           InvalidStateException, AlreadyDeployedException, ManagementException;
Previous page Next page
SIS Version 2.5.4