EasyManua.ls Logo

THOMSON Amethyst III - Page 254

THOMSON Amethyst III
306 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix B ’SNMP Management’ — Getting the Switch State
254 Amethyst III DTV Smart Switch
User Manual
<ActiveEthernetRef IdRef="11002"
IsMain="false"/>
<EthernetRef IdRef="11004" IsMain="true"/>
</Output>
</OutputsList>
<EthernetInterfacesList>
<Ethernet Id="11001" Name="interface 1"
ElementIdName="Ethernet 1" Status="OK"/>
<Ethernet Id="11002" Name="interface 2"
ElementIdName="Ethernet 2" Status="OK"/>
<Ethernet Id="11003" ElementIdName="Ethernet 3"
Status="CRITICAL"/>
<Ethernet Id="11004" ElementIdName="Ethernet 4"
Status="OK"/>
</EthernetInterfacesList>
</SwitchesStates>
***** SNMP QUERY FINISHED *****
To be sure to get the state of the switches after performing an SNMP
operation (manual switch, change config...), proceed as follows:
1.
In the
commXmlParCommandType.0
leaf, send the following command:
SET commXmlParCommandType.0 (integer) 20
2.
In the
commXmlParCommandBufferValue.0
leaf, write the string
corresponding to the command:
SET commXmlParCommandBufferValue.0 (octet string)
"<GetNextSwitchStates RequestId="23"/>"
The request id is a management system identifier that will be returned in
the switch state response and will certify that the status returned has
been updated at least once after the reception of the request.
Walk the table to see the response. After the following update, you
should get a string like the following at the end of the switch status
response:
<RequestIdList>
<RequestId RequestId="22"/>
<RequestId RequestId="23"/>
</RequestIdList>
This way, you can be sure that the returned switch status was computed
after the request you sent.

Table of Contents