NetworkHuaweiOntIpConfigGet
(Różnice między wersjami)
Linia 35: | Linia 35: | ||
<IpAddress.0.0>0.0.0.0</IpAddress.0.0> | <IpAddress.0.0>0.0.0.0</IpAddress.0.0> | ||
<NetMask.0.0>0.0.0.0</NetMask.0.0> | <NetMask.0.0>0.0.0.0</NetMask.0.0> | ||
− | <PhyAddress.0.0> | + | <PhyAddress.0.0>c0:56:74:4c:62:5c</PhyAddress.0.0> |
<NetGateway.0.0>0.0.0.0</NetGateway.0.0> | <NetGateway.0.0>0.0.0.0</NetGateway.0.0> | ||
<MasterDNS.0.0>0.0.0.0</MasterDNS.0.0> | <MasterDNS.0.0>0.0.0.0</MasterDNS.0.0> | ||
Linia 64: | Linia 64: | ||
<NetMask.0.0>0.0.0.0</NetMask.0.0> | <NetMask.0.0>0.0.0.0</NetMask.0.0> | ||
<NetMask.0.1>0.0.0.0</NetMask.0.1> | <NetMask.0.1>0.0.0.0</NetMask.0.1> | ||
− | <PhyAddress.0.0> | + | <PhyAddress.0.0>c0:56:74:4c:62:5c</PhyAddress.0.0> |
<PhyAddress.0.1>ff:ff:ff:ff:ff:ff</PhyAddress.0.1> | <PhyAddress.0.1>ff:ff:ff:ff:ff:ff</PhyAddress.0.1> | ||
<NetGateway.0.0>0.0.0.0</NetGateway.0.0> | <NetGateway.0.0>0.0.0.0</NetGateway.0.0> |
Wersja z 12:36, 4 lip 2014
Zapytanie:
//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> <PortID>0</PortID> <OntPort>0</OntPort><!-- opcjonalne --><!-- jeżeli nie zostanie podane to zostaną zwrócone dane dla wszystkich portów ONT'a --> </NetworkHuaweiOntIpConfigGet> </Request> </Net47> //BEGINEND//
Odpowiedź gdy zostanie podane OntPort:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NetworkHuaweiOntIpConfigGet</Type> <NetworkHuaweiOntIpConfigGet> <OntPort>0</OntPort><!-- Tylko gdy w zapytaniu zostanie podane OntPort --> <OltIP>21.73.88.125</OltIP> <OltPort>4194344960</OltPort> <PortID>0</PortID> <IpConfigMode.0.0>dhcp(1)</IpConfigMode.0.0> <IpAddress.0.0>0.0.0.0</IpAddress.0.0> <NetMask.0.0>0.0.0.0</NetMask.0.0> <PhyAddress.0.0>c0:56:74:4c:62:5c</PhyAddress.0.0> <NetGateway.0.0>0.0.0.0</NetGateway.0.0> <MasterDNS.0.0>0.0.0.0</MasterDNS.0.0> <SlaveDNS.0.0>0.0.0.0</SlaveDNS.0.0> <IpConfigVlan.0.0>99</IpConfigVlan.0.0> <IpConfigPriority.0.0>5</IpConfigPriority.0.0> </NetworkHuaweiOntIpConfigGet> </Request> </Net47> //BEGINEND//
Odpowiedź gdy nie zostanie podane OntPort:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NetworkHuaweiOntIpConfigGet</Type> <NetworkHuaweiOntIpConfigGet> <OltIP>21.73.88.125</OltIP> <OltPort>4194344960</OltPort> <PortID>0</PortID> <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:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//