NetworkCiscoGetPortInfo
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>20</Priority> <Module>Cisco</Module> <Request> <Type>NetworkCiscoGetPortInfo</Type> <NetworkCiscoGetPortInfo> <IP>78.31.88.199</IP> <Port>7</Port> <Stack>0</Stack> </NetworkCiscoGetPortInfo> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NetworkCiscoGetPortInfo</Type> <NetworkCiscoGetPortInfo> <UsageApplication>standard(1)</UsageApplication> <AddrSecureMaxAddresses>1</AddrSecureMaxAddresses> <AddrSecureCurrentAddresses>0</AddrSecureCurrentAddresses> <NumberOfLearnedAddresses>0</NumberOfLearnedAddresses> <NumberOfDroppedAddresses>0</NumberOfDroppedAddresses> <VisualIndicator>black(2)</VisualIndicator> <DuplexState>autoNegotiate(3)</DuplexState> <DuplexStatus>fullduplex(1)</DuplexStatus> <AdminSpeed>100 Mbps</AdminSpeed> <RxNoBwFrames>0 frames</RxNoBwFrames> <RxNoBufferFrames>0 frames</RxNoBufferFrames> <RxNoDestUniFrames>0 frames</RxNoDestUniFrames> <RxNoDestMultiFrames>0 frames</RxNoDestMultiFrames> <RxSuppressBcastFrames>0 frames</RxSuppressBcastFrames> <RxFcsErrFrames>0 frames</RxFcsErrFrames> <CollFragFrames>0 frames</CollFragFrames> <TxBroadcastFrames>0 frames</TxBroadcastFrames> <TxMulticastFrames>423 frames</TxMulticastFrames> <Description>FastEthernet0/4</Description> <Type>ethernetCsmacd(6)</Type> <Mtu>1500</Mtu> <Speed>100000000</Speed> <PhysAddress>0:9:b7:d0:b7:44</PhysAddress> <AdminStatus>up(1)</AdminStatus> <OperStatus>down(2)</OperStatus> <Name>Fa0/4</Name> <HighSpeed>100</HighSpeed> <ConnectorPresent>true(1)</ConnectorPresent> <Alias>Jan Kowalski</Alias> <InUcastPkts>0</InUcastPkts> <InNUcastPkts>147</InNUcastPkts> <InErrors>0</InErrors> <SwitchPortMode>trunk</SwitchPortMode> <AllowedVlans>3, 1028, 3028, 1023</AllowedVlans> <!-- występuje gdy SwitchPortMode = trunk --> <NativeVlan>1</NativeVlan> <!-- występuje gdy SwitchPortMode = trunk --> <AccessVlan>40</AccessVlan> <!-- występuje gdy SwitchPortMode = access lub desirable --> </NetworkCiscoGetPortInfo> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Wystąpił błąd: </Error> </Request> </Net47> //BEGINEND//