ZteGponOnuGetOne
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Zte</Module> <Request> <Type>ZteGponOnuGetOne</Type> <ZteGponOnuGetOne> <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 --> </ZteGponOnuGetOne> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>ZteGponOnuGetOne</Type> <ZteGponOnuGetOne> <TypeName>ZTE-F660</TypeName> <Name>ONU-1:1</Name> <Desc>ONU-1:1</Desc> <RegMode>regModeSn(1)</RegMode> <SerialNumber>ZTEGC0712345</SerialNumber> <Pwd>0</Pwd> <Loid></Loid> <RegistrationId></RegistrationId> <TargetStatus>omccReady(2)</TargetStatus> <VportMode>gemport(1)</VportMode> <DbaMode>hybrid(3)</DbaMode> <OmccBwPrfName> </OmccBwPrfName> <EnableWithSn>enabled(1)</EnableWithSn> <AuthPassCtrl>0</AuthPassCtrl> <UpstreamFecEnable>disabled(2)</UpstreamFecEnable> <ReonlineAuthInfo>sn(2)</ReonlineAuthInfo> <RegistrationInfo>1,ZTEGC0712345</RegistrationInfo> <OmccEncryptEnable>disabled(2)</OmccEncryptEnable> <BerInterval>5000 Milliseconds</BerInterval> <ToDEnable>disabled(2)</ToDEnable> <EncryptEnable>disabled(2)</EncryptEnable> <PhaseStatus>working(4)</PhaseStatus> <OperState>enabled(1)</OperState> <AdminStatus>enabled(1)</AdminStatus> <LastOnlineTime>2012-11-3,16:45:29.0</LastOnlineTime> <LastOfflineTime>2012-11-3,16:44:14.0</LastOfflineTime> <FiberLen>7 Meter</FiberLen> <Tcont> <Rec> <BwPrfName>T1-20M</BwPrfName> <Name>tcont1</Name> <DbaGapMode>mode2(3)</DbaGapMode> <AllocId>257</AllocId> <TcontIndex>1</TcontIndex> </Rec> <Rec> <BwPrfName>T1-20M</BwPrfName> <Name>tcont3</Name> <DbaGapMode>mode2(3)</DbaGapMode> <AllocId>256</AllocId> <TcontIndex>3</TcontIndex> </Rec> </Tcont> <GemPort> <Rec> <TcontIndex>1</TcontIndex> <Name>gemport1</Name> <QueueOfTcont>0</QueueOfTcont> <Enable>enabled(1)</Enable> <GemPortIndex>1</GemPortIndex> <DsQueueMapId>0</DsQueueMapId> <UsQueueMapId>0</UsQueueMapId> <Encrypt>noEncrypt(2)</Encrypt> <UsTrafficPrf>default</UsTrafficPrf> <DsTrafficPrf>default</DsTrafficPrf> </Rec> <Rec> <TcontIndex>1</TcontIndex> <Name>gemport2</Name> <QueueOfTcont>0</QueueOfTcont> <Enable>enabled(1)</Enable> <GemPortIndex>2</GemPortIndex> <DsQueueMapId>0</DsQueueMapId> <UsQueueMapId>0</UsQueueMapId> <Encrypt>noEncrypt(2)</Encrypt> <UsTrafficPrf>INET-DOWN-60Mb</UsTrafficPrf> <DsTrafficPrf>INET-DOWN-60Mb</DsTrafficPrf> </Rec> </GemPort> <Service> <Rec> <GemPort>3</GemPort> <IfId>0</IfId> <MapType>vlan(2)</MapType> <MapCos>0</MapCos> <Name>int3</Name> <MapVid>20</MapVid> </Rec> <Rec> <GemPort>1</GemPort> <IfId>0</IfId> <MapType>vlan(2)</MapType> <MapCos>0</MapCos> <Name>internet</Name> <MapVid>100</MapVid> </Rec> </Service> <Ports> <Rec> <Mode>trunk(2)</Mode> <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--> </Rec> <Rec> <Mode>trunk(2)</Mode> <DefaultVid>1</DefaultVid> <DefaultCos>0</DefaultCos> <VlanList> </VlanList> <Type>1</Type> </Rec> </Ports> <SrvPort> <Rec> <SrvPortIndex>1</SrvPortIndex> <Mode>tag(4)</Mode> <VportIndex>1</VportIndex> <UserVid>100</UserVid> <CVid>100</CVid> </Rec> <Rec> <SrvPortIndex>2</SrvPortIndex> <Mode>tag(4)</Mode> <VportIndex>2</VportIndex> <UserVid>88</UserVid> <CVid>87</CVid> </Rec> </SrvPort> <VPort> <Rec> <VportIndex>1</VportIndex> <ConfMode>hybrid(3)</ConfMode> <DefaultVid>1</DefaultVid> <DefaultCVid>0</DefaultCVid> <UntaggedVlanList>1</UntaggedVlanList> <ConfTaggedVlanList>1</ConfTaggedVlanList> <AcceptableFrameTypes>1</AcceptableFrameTypes> </Rec> <Rec> <VportIndex>3</VportIndex> <ConfMode>hybrid(3)</ConfMode> <DefaultVid>1</DefaultVid> <DefaultCVid>0</DefaultCVid> <UntaggedVlanList>1</UntaggedVlanList> <ConfTaggedVlanList>1</ConfTaggedVlanList> <AcceptableFrameTypes>1</AcceptableFrameTypes> </Rec> </VPort> </ZteGponOnuGetOne> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//