ZteGponOnuPortsGetAll
(Różnice między wersjami)
Linia 22: | Linia 22: | ||
</pre> | </pre> | ||
− | Odpowiedź: | + | Odpowiedź dla Software >= 2.x: |
<pre class="brush:xml"> | <pre class="brush:xml"> | ||
//BEGIN// | //BEGIN// | ||
Linia 48: | Linia 48: | ||
<Type>4</Type> | <Type>4</Type> | ||
<PortNumber>2</PortNumber> | <PortNumber>2</PortNumber> | ||
+ | </Rec> | ||
+ | </Ports> | ||
+ | </ZteGponOnuPortsGetAll> | ||
+ | </Request> | ||
+ | </Net47> | ||
+ | //BEGINEND// | ||
+ | </pre> | ||
+ | |||
+ | Odpowiedź dla Software 1.x: | ||
+ | <pre class="brush:xml"> | ||
+ | //BEGIN// | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <Net47> | ||
+ | <Request> | ||
+ | <Type>ZteGponOnuPortsGetAll</Type> | ||
+ | <ZteGponOnuPortsGetAll> | ||
+ | <Ports> | ||
+ | <Rec> | ||
+ | <Mode>hybrid(3)</Mode> | ||
+ | <DefaultVid>315</DefaultVid> | ||
+ | <DefaultCos>0</DefaultCos> | ||
+ | <TaggedVlanList>22,26,100</TaggedVlanList> | ||
+ | <UntaggedVlanList>102</UntaggedVlanList> | ||
+ | <PortNumber>2</PortNumber> | ||
+ | <Type>0</Type><!-- możliwości: 0: ETH UNI, 1: WiFi UNI, 4: GEM port, 5: Multicast GEM port, 6: VEIP, może wystąpić w innym przypadku jakiś string który jest nazwą typu--> | ||
+ | </Rec> | ||
+ | <Rec> | ||
+ | <Mode>na(5)</Mode> | ||
+ | <DefaultVid>1</DefaultVid> | ||
+ | <DefaultCos>0</DefaultCos> | ||
+ | <PortNumber>3</PortNumber> | ||
+ | <Type>0</Type> | ||
</Rec> | </Rec> | ||
</Ports> | </Ports> |
Wersja z 14:12, 11 maj 2015
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Zte</Module> <Request> <Type>ZteGponOnuPortsGetAll</Type> <ZteGponOnuPortsGetAll> <OltIP>11.142.123.22</OltIP> <Shelf>1</Shelf><!-- Dla gpon-onu_1/2/1:1 kolejne liczby oznaczją Shelf/Slot/Port:Onu --> <Slot>2</Slot> <Port>1</Port> <Onu>1</Onu> <Rack>1</Rack><!-- opcjonalne--><!-- szafa --><!-- domyślnie: 1 --> </ZteGponOnuPortsGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software >= 2.x:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>ZteGponOnuPortsGetAll</Type> <ZteGponOnuPortsGetAll> <Ports> <Rec> <Mode>none(5)</Mode><!-- access(1), trunk(2), hybrid(3), transparent(4), none(5) --> <DefaultVid>1</DefaultVid> <DefaultCos>0</DefaultCos> <VlanList>10,74,100</VlanList> <Type>0</Type><!-- możliwości: 0: ETH UNI, 1: WiFi UNI, 2: IP host, 3: Flow, 4: GEM port, 5: Multicast GEM port, 6: VEIP, 7: WAN, 8: xDSL UNI--> <PortNumber>1</PortNumber> <PortSlot>0</PortSlot><!-- tylko dla ETH UNI, WiFi UNI, xDSL UNI --> <MVlanTagMode>notStripped(2)</MVlanTagMode><!-- tylko dla ETH UNI --> </Rec> <Rec> <Mode>none(5)</Mode> <DefaultVid>1</DefaultVid> <DefaultCos>0</DefaultCos> <VlanList></VlanList> <Type>4</Type> <PortNumber>2</PortNumber> </Rec> </Ports> </ZteGponOnuPortsGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software 1.x:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>ZteGponOnuPortsGetAll</Type> <ZteGponOnuPortsGetAll> <Ports> <Rec> <Mode>hybrid(3)</Mode> <DefaultVid>315</DefaultVid> <DefaultCos>0</DefaultCos> <TaggedVlanList>22,26,100</TaggedVlanList> <UntaggedVlanList>102</UntaggedVlanList> <PortNumber>2</PortNumber> <Type>0</Type><!-- możliwości: 0: ETH UNI, 1: WiFi UNI, 4: GEM port, 5: Multicast GEM port, 6: VEIP, może wystąpić w innym przypadku jakiś string który jest nazwą typu--> </Rec> <Rec> <Mode>na(5)</Mode> <DefaultVid>1</DefaultVid> <DefaultCos>0</DefaultCos> <PortNumber>3</PortNumber> <Type>0</Type> </Rec> </Ports> </ZteGponOnuPortsGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//