To
update a network route,
use the following sis-console
command, Ant task, or related MBean operations.
Console command
updatenetworkroute
Command |
updatenetworkroute <ra-entity> <position> [-rule <rule>] [-interface <interface-name>] Update an existing network route in the SIS |
---|---|
Example |
To update a network route in position $ ./sis-console updatenetworkroute sis 0 -rule "dest-address type=c7,ri=pcssn,ssn=146" Network route updated |
Ant task
updatenetworkroute
Task |
<updatenetworkroute position="..." rule="..." interface="..."/> |
---|---|
Example |
To update a network route in position <sis-in-management> <updatenetworkroute position="0" rule="dest-address type=c7,ri=pcssn,ssn=146"/> </sis-in-management> or if the destination is the domain <sis-sip-management> <updatenetworkroute position="0" rule="domain internal.home1.net" interface="sis-internal"/> </sis-sip-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; |
---|