This is an example. Refer to the latest updated MIB for the exact OID values and dependencies.
The following table lists the mandatory attributes when creating a new route on a routeset using RowStatus and multiple set commands. You must set the Adjacent Point Code and the cost for the route attributes before you set the new route to active using RowStatus.
All other configurable route attributes listed in the MIB, such as debugging levels, need not be set at the time of row creation. Default values are inserted for these attributes by the system at the time of row creation. For more information about the mandatory attributes and other configurable route attributes, refer to the MIB and the appropriate sections in the SS7 Application Guide 1 and SS7 Application Guide 2.
If you omit any of the mandatory variables when creating a new instance of the variable using RowStatus, the procedure fails. You must delete the row and recreate it, ensuring that you include all mandatory variables
Mandatory Route Variables
Variable OBJECT-TYPE | Description |
---|---|
ptMTPRouteAPC | Enter the point code of the node on which this route will reside as the APC value here. You must convert the point code into a 32-bit integer. |
ptMTPRouteCost | Enter the cost for the route as an integer. Valid values: 0 to 99. |
snmpwalk -c public <host name> .1.3.6.1.4.1.1556.17.15.46.65.63.51.1.1.2
Get the list of all routesets on the system and display their DPC.
DPC object tag is 2 as per ptRoutesetDPC OBJECT-TYPE in the MIB.
Parse the list to get the OID of the required Routeset.
Set the RowStatus to 5 (create and wait).
A route has MIB Object Identifier 52:
ptRoute OBJECT IDENTIFIER ::= { ptMTPRouteset 52 }
snmpset -c private <host name> .1.3.6.1.4.1.1556.17.15.46.65.64.51.52.1.1.254.1.1.1.1.67766794.0 i 5
Set the APC.
APC object tag is 2 as per ptMTPRouteAPC OBJECT-TYPE in the MIB.
snmpset -c private <host name> .1.3.6.1.4.1.1556.17.15.46.65.63.51.52.1.1.2.1.1.1.1.67766794.0 i 395016
Set the Cost.
Cost object tag is 3 as per ptMTPRouteCost OBJECT-TYPE in the MIB.
snmpset -c private <host name> .1.3.6.1.4.1.1556.17.15.46.65.63.51.52.1.1.3.1.1.1.1.67766794.0 i 10
Set the Parent OID.
snmpset -c private <host name> .1.3.6.1.4.1.1556.17.15.46.65.63.51.52.1.1.253.1.1.1.1.67766794.0 s ".1.3.6.1.4.1.1556.17.15.46.65.63.51.1.1.254.1.1.1.1.67766794"
Check the RowStatus value.
snmpget -c private <host name> .1.3.6.1.4.1.1556.17.15.46.65.63.51.52.1.1.254.1.1.1.1.67766794.0
Create the Route by setting the Rowstatus to 1 (Active).
snmpset -c private <host name> .1.3.6.1.4.1.1556.17.15.46.65.63.51.52.1.1.254.1.1.1.1.67766794.0 i 1
Do a partial walk
to verify the instance of the route to make sure it was created.
snmpwalk -c public <host name> .1.3.6.1.4.1.1556.17.15.46.65.63.52.1.1.2.1.1.1.1.67766794.0