Appendix B ’SNMP Management’ — Selecting an Output Gigabit Ethernet Interface (IP
Amethyst III DTV Smart Switch 251
User Manual
Selecting an Output Gigabit Ethernet Interface (IP only)
Before performing the switch operation, you need to know the identifiers
of the outputs on which you wish to act. Refer to the section
’Getting the
Identifier of an Element’
for more information.
To switch between output interfaces, proceed as follows:
1.
In the
commXmlParCommandType.0
leaf, send the following
command:
SET commXmlParCommandType.0 (integer) 18
2.
In the
commXmlParCommandBufferValue.0
leaf, write the string
corresponding to the command:
SET commXmlParCommandBufferValue.0 (octet string)
"<OutputInterfaceRequest EthernetId=”11001”
OutputId=”400001”/>"
where
OutputId
must contain the output identifier and
EthernetId
must
contain the identifier of the interface that you want to be active.
3.
Walk the
commXmlRespContBufferTable
table to view the result:
WALK commXmlRespContBufferTable
In the
commXmlRespContBufferValue.0.0
field, if the command was
successful, you should obtain a string like the following:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<OutputInterfaceResponse Status="OK">
</OutputInterfaceResponse>
If an error occurred, the string is:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<OutputInterfaceResponse Error="[Error]">
</OutputInterfaceResponse>
where
[Error]
can be:
INTERFACE_ERROR
: the interface you want to switch is link down. In
this case, the switching request is rejected.
ALREADY_ACTIVE
: the interface is already active.
BAD_INTERFACE
: the identifier is incorrect.
BAD_OUTPUT
: the identifier is incorrect.