NetworkHuaweiOntIpConfigGet
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Huawei</ Module > < Request > < Type >NetworkHuaweiOntIpConfigGet</ Type > < NetworkHuaweiOntIpConfigGet > < OltIP >21.73.88.125</ OltIP > < OltPort >4194344960</ OltPort > < OntID >0</ OntID > </ NetworkHuaweiOntIpConfigGet > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź gdy zostanie podane OntPort:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >NetworkHuaweiOntIpConfigGet</ Type > < NetworkHuaweiOntIpConfigGet > < poz > <!-- może wystąpić kilka razy --> < OntPort >0</ OntPort > < IpConfigMode >dhcp(1)</ IpConfigMode > < IpAddress >0.0.0.0</ IpAddress > < NetMask >0.0.0.0</ NetMask > < PhyAddress >ff:ff:ff:ff:ff:ff</ PhyAddress > < NetGateway >0.0.0.0</ NetGateway > < MasterDNS >0.0.0.0</ MasterDNS > < SlaveDNS >0.0.0.0</ SlaveDNS > < IpConfigVlan >-1</ IpConfigVlan > < IpConfigPriority >-1</ IpConfigPriority > </ poz > </ NetworkHuaweiOntIpConfigGet > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź gdy nie zostanie podane OntPort:
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 >NetworkHuaweiOntIpConfigGet</ Type > < NetworkHuaweiOntIpConfigGet > < OltIP >21.73.88.125</ OltIP > < OltPort >4194344960</ OltPort > < OntID >0</ OntID > < IpConfigMode.0.0 >dhcp(1)</ IpConfigMode.0.0 > < IpConfigMode.0.1 >dhcp(1)</ IpConfigMode.0.1 > < IpAddress.0.0 >0.0.0.0</ IpAddress.0.0 > < IpAddress.0.1 >0.0.0.0</ IpAddress.0.1 > < NetMask.0.0 >0.0.0.0</ NetMask.0.0 > < NetMask.0.1 >0.0.0.0</ NetMask.0.1 > < PhyAddress.0.0 >c0:56:74:4c:62:5c</ PhyAddress.0.0 > < PhyAddress.0.1 >ff:ff:ff:ff:ff:ff</ PhyAddress.0.1 > < NetGateway.0.0 >0.0.0.0</ NetGateway.0.0 > < NetGateway.0.1 >0.0.0.0</ NetGateway.0.1 > < MasterDNS.0.0 >0.0.0.0</ MasterDNS.0.0 > < MasterDNS.0.1 >0.0.0.0</ MasterDNS.0.1 > < SlaveDNS.0.0 >0.0.0.0</ SlaveDNS.0.0 > < SlaveDNS.0.1 >0.0.0.0</ SlaveDNS.0.1 > < IpConfigVlan.0.0 >99</ IpConfigVlan.0.0 > < IpConfigVlan.0.1 >99</ IpConfigVlan.0.1 > < IpConfigPriority.0.0 >5</ IpConfigPriority.0.0 > < IpConfigPriority.0.1 >5</ IpConfigPriority.0.1 > </ NetworkHuaweiOntIpConfigGet > </ 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// |