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 $ ./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 <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;
|
|---|
