ZteGponOnuPortsGetAll
Z Net47 2.0
(Różnice między wersjami)
(Nie pokazano 3 wersji utworzonych przez jednego użytkownika) | |||
Linia 22: | Linia 22: | ||
</pre> | </pre> | ||
− | Odpowiedź: | + | Odpowiedź dla Software >= 2.x: |
<pre class="brush:xml"> | <pre class="brush:xml"> | ||
//BEGIN// | //BEGIN// | ||
Linia 30: | Linia 30: | ||
<Type>ZteGponOnuPortsGetAll</Type> | <Type>ZteGponOnuPortsGetAll</Type> | ||
<ZteGponOnuPortsGetAll> | <ZteGponOnuPortsGetAll> | ||
+ | <Ports> | ||
<Rec> | <Rec> | ||
<Mode>none(5)</Mode><!-- access(1), trunk(2), hybrid(3), transparent(4), none(5) --> | <Mode>none(5)</Mode><!-- access(1), trunk(2), hybrid(3), transparent(4), none(5) --> | ||
Linia 39: | Linia 40: | ||
<PortSlot>0</PortSlot><!-- tylko dla ETH UNI, WiFi UNI, xDSL UNI --> | <PortSlot>0</PortSlot><!-- tylko dla ETH UNI, WiFi UNI, xDSL UNI --> | ||
<MVlanTagMode>notStripped(2)</MVlanTagMode><!-- tylko dla ETH UNI --> | <MVlanTagMode>notStripped(2)</MVlanTagMode><!-- tylko dla ETH UNI --> | ||
+ | <DhcpIpRetrieveMode>fromNetwork(3)</DhcpIpRetrieveMode><!-- tylko dla ETH UNI --> | ||
</Rec> | </Rec> | ||
<Rec> | <Rec> | ||
Linia 47: | Linia 49: | ||
<Type>4</Type> | <Type>4</Type> | ||
<PortNumber>2</PortNumber> | <PortNumber>2</PortNumber> | ||
− | </Rec> | + | </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--> | ||
+ | <MVlanTagMode>stripped(1)</MVlanTagMode><!-- tylko dla ETH UNI --> | ||
+ | </Rec> | ||
+ | <Rec> | ||
+ | <Mode>na(5)</Mode> | ||
+ | <DefaultVid>1</DefaultVid> | ||
+ | <DefaultCos>0</DefaultCos> | ||
+ | <PortNumber>3</PortNumber> | ||
+ | <Type>0</Type> | ||
+ | <MVlanTagMode>notStripped(2)</MVlanTagMode><!-- tylko dla ETH UNI --> | ||
+ | </Rec> | ||
+ | </Ports> | ||
</ZteGponOnuPortsGetAll> | </ZteGponOnuPortsGetAll> | ||
</Request> | </Request> |
Aktualna wersja na dzień 11:14, 25 maj 2015
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | //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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | //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 --> < DhcpIpRetrieveMode >fromNetwork(3)</ DhcpIpRetrieveMode > <!-- 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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | //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--> < MVlanTagMode >stripped(1)</ MVlanTagMode > <!-- tylko dla ETH UNI --> </ Rec > < Rec > < Mode >na(5)</ Mode > < DefaultVid >1</ DefaultVid > < DefaultCos >0</ DefaultCos > < PortNumber >3</ PortNumber > < Type >0</ Type > < MVlanTagMode >notStripped(2)</ MVlanTagMode > <!-- tylko dla ETH UNI --> </ Rec > </ Ports > </ ZteGponOnuPortsGetAll > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error ></ Error > </ Request > </ Net47 > //BEGINEND// |