dsl_analyze
[ desc - code - xml ]
Example PHP code
Output
Example PHP code
<?php
require_once('dds_client.php');
$dds = new dds_client();
$result = $dds->dsl_analyze(array(
'id' => '80183'
));
if ($dds->error())
{
print('[' . $dds->error() . '] ' . $dds->error_msg() . "\n");
} else
{
print_r($result);
}
?>
Output
Attention
This output is an example, actual results may vary strongly.Array
(
[RouterHostName] => bng2.asd-inx.nl
[RouterPortName] => vlan100
[DslPortUptime] => Array
(
[Value] => 44days 09:32:54
[HasValue] => true
)
[DslProtocolStatusDslam] => Array
(
[Value] => No Defect
[Color] => Green
[HasValue] => true
)
[DslDslamPortActualStatus] => Array
(
[Value] => Up
[Color] => Green
[HasValue] => true
)
[DslDslamPortAdminStatus] => Array
(
[Value] => Unlock
[Color] => Green
[HasValue] => true
)
[DslConfiguredSpeedDown] => Array
(
[Value] => 18032
[Unit] => kbit/s
[HasValue] => true
)
[DslConfiguredSpeedUp] => Array
(
[Value] => 1136
[Unit] => kbit/s
[HasValue] => true
)
[DslActualSpeedDown] => Array
(
[Value] => 15850
[Unit] => kbit/s
[HasValue] => true
)
[DslActualSpeedUp] => Array
(
[Value] => 1048
[Unit] => kbit/s
[HasValue] => true
)
[DslAttainableSpeedDown] => Array
(
[Value] => 17356
[Unit] => kbit/s
[HasValue] => true
)
[DslAttainableSpeedUp] => Array
(
[Value] => 1079
[Unit] => kbit/s
[HasValue] => true
)
[DslNoiseMarginDown] => Array
(
[Value] => 5
[Unit] => dB
[Color] => Orange
[HasValue] => true
)
[DslNoiseMarginUp] => Array
(
[Value] => 6.5
[Unit] => dB
[Color] => Green
[HasValue] => true
)
[DslAttenuationDown] => Array
(
[Value] => 24.5
[Unit] => dB
[Color] => Green
[HasValue] => true
)
[DslAttenuationUp] => Array
(
[Value] => 9
[Unit] => dB
[Color] => Green
[HasValue] => true
)
[DslOutputPowerDown] => Array
(
[Value] => 20.3
[Unit] => dBm
[HasValue] => true
)
[DslOutputPowerUp] => Array
(
[Value] => 21
[Unit] => dBm
[HasValue] => true
)
[DslLineStandard] => Array
(
[Value] => Adsl2+ Mode
[HasValue] => true
)
[AtmCellsDown] => Array
(
[Value] => 3305956308
[Unit] => cells
[HasValue] => true
)
[AtmCellsUp] => Array
(
[Value] => 1437162758
[Unit] => cells
[HasValue] => true
)
[DhcpServerPing] => Array
(
[SuccesRatio] => Array
(
[Value] => 100
[Unit] => %
[Color] => Green
[HasValue] => true
)
[Text] => Array
(
[Value] => Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
[Color] => Green
[HasValue] => true
)
[MinimumRoundTripDelay] => Array
(
[Value] => 1
[Unit] => ms
[HasValue] => true
)
[AverageRoundTripDelay] => Array
(
[Value] => 1
[Unit] => ms
[HasValue] => true
)
[MaximumRoundTripDelay] => Array
(
[Value] => 4
[Unit] => ms
[Color] => Green
[HasValue] => true
)
[Ip] => 195.241.76.200
)
[DhcpRegistrationSessions] => Array
(
[DhcpRegistrationSession] => Array
(
[IpAddress] => Array
(
[Value] => 100.100.100.100
[HasValue] => true
)
[MacAddress] => Array
(
[Value] => dd:5d:d5:dd:5d:d5
[HasValue] => true
)
[MacManufacturer] => Array
(
[Value] => Siemens Com CPE Devices
[HasValue] => true
)
[CpeModemPing] => Array
(
[SuccesRatio] => Array
(
[Value] => 0
[Unit] => %
[Color] => Red
[HasValue] => true
)
[Text] => Array
(
[Value] => Success rate is 0 percent (0/5)
[Color] => Red
[HasValue] => true
)
[MinimumRoundTripDelay] => Array
(
[Value] => 0
[Unit] => ms
[HasValue] => false
)
[AverageRoundTripDelay] => Array
(
[Value] => 0
[Unit] => ms
[HasValue] => false
)
[MaximumRoundTripDelay] => Array
(
[Value] => 0
[Unit] => ms
[HasValue] => false
)
[Ip] => 100.100.100.100
)
)
)
[Suggestions] =>
[Atoms] => Array
(
[Atom] => Array
(
[0] => Array
(
[IsCompleted] => true
[Host] => bng2.asd-inx.nl
[Command] => ping vrf dds 195.241.76.200 timeout 1
[Result] =>
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 195.241.76.200, timeout is 1 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
[Type] => RouterCiscoPingVrf
)
[1] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => show slot 11
[Result] =>
Slot Module Poll State SW Version HW Version UP Time
11 IPADSL3A PLUGGED 5.3.1.28 2990084000:A3 175 days 06:44:12
[Type] => DslamShowSlot
)
[2] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => slot 11:port show line dsl 5
[Result] =>
Port: dsl 5
Admin Status: Unlock
Profile Name: P_1M-4A_18M-8A_2+
Opera Status: Up
ATU-C Line Defect: No Defect
ATU-R Line Defect: No Defect
Line Standard: Adsl2+ Mode
ATU-C SNR Margin: 6.5 (dB)
ATU-R SNR Margin: 5.0 (dB)
ATU-C Attenuation: 9.0 (dB)
ATU-R Attenuation: 24.5 (dB)
ATU-C Output Power: 20.3 (mdB)
ATU-R Output Power: 21.0 (mdB)
ATU-C Power State: L0
ATU-C Attainable Rate: 17356 (kbps)
ATU-R Attainable Rate: 1079 (kbps)
ATU-C Interleave Delay: 7 (ms)
ATU-R Interleave Delay: 3 (ms)
ATU-C Current Tx Rate: 15850 (kbps)
ATU-R Current Tx Rate: 1048 (kbps)
ATU-C Previous Tx Rate: 15932 (kbps)
ATU-R Previous Tx Rate: 1040 (kbps)
ATU-C Trained Rate: 0 (kbps)
ATU-R Trained Rate: 0 (kbps)
ATU-C CRC Block Length: 37740
ATU-R CRC Block Length: 2480
ATU-C Actual INP: 0.50
ATU-R Actual INP: 0.44
Line UP time: 44 days 09:32:51
Header Compression: Enabled
Spectrum mask: No Mask
[Type] => DslamPortShowLineDsl
)
[3] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => slot 11:port show statistics interface atm 5:0.34
[Result] =>
Interface: atm 5:0.34
Rx Cells: 1437162758
Tx Cells: 3305956308
Dropped Cells: 0
Encapsulation: LLC-Mux
[Type] => DslamPortShowStatistics
)
[4] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => slot 11:bridge show statistics atm 5:0.34
[Result] =>
Interface: atm 5:0.34
Rx Packets 459172064
Rx Unicast Packets 459148363
Rx Multicast Packets 0
Rx Broadcast Packets 22119
Rx Octets 54525841406
Rx discards 3672
Tx Packets 655681362
Tx Unicast Packets 655681361
Tx Multicast Packets 0
Tx Broadcast Packets 0
Tx Octets 761064794351
[Type] => DslamBridgeStatistics
)
[5] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => slot 11:port show pm24 port dsl 5 2
[Result] =>
Current day counters :
Time elapsed (HH:MM) : 10:52
Valid : YES
ATU-C LOF : 0
ATU-C LOS : 0
ATU-C LOL : 0
ATU-C ES : 72
ATU-C SES : 5
ATU-C UAS : 0
ATU-R LOF : 0
ATU-R LOS : 0
ATU-R LPR : 55665
ATU-R ES : 109
ATU-R SES : 0
ATU-R UAS : 0
ATU-C Tx Blocks : 3085128
ATU-C Rx Blocks : 3256524
ATU-C Corrected Blocks : 350
ATU-C Un-corrected Blocks : 288
ATU-R Tx Blocks : 3256524
ATU-R Rx Blocks : 3085128
ATU-R Corrected Blocks : 6467
ATU-R Un-corrected Blocks : 157
Previous day counters :
ATU-C LOF : 0
ATU-C LOS : 0
ATU-C LOL : 0
ATU-C ES : 128
ATU-C SES : 0
ATU-C UAS : 0
ATU-R LOF : 0
ATU-R LOS : 0
ATU-R LPR : 84285
ATU-R ES : 156
ATU-R SES : 0
ATU-R UAS : 0
ATU-C Tx Blocks : 4665600
ATU-C Rx Blocks : 4924800
ATU-C Corrected Blocks : 245
ATU-C Un-corrected Blocks : 145
ATU-R Tx Blocks : 4924800
ATU-R Rx Blocks : 4665600
ATU-R Corrected Blocks : 8973
ATU-R Un-corrected Blocks : 212
[Type] => DslamPortShowPm15
)
[6] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => slot 11:port show pm15 port dsl 5 2
[Result] =>
Current interval counters :
Time elapsed (MM:SS) : 07:14
Valid : YES
ATU-C LOF : 0
ATU-C LOS : 0
ATU-C LOL : 0
ATU-C ES : 0
ATU-C SES : 0
ATU-C UAS : 0
ATU-R LOF : 0
ATU-R LOS : 0
ATU-R LPR : 429
ATU-R ES : 2
ATU-R SES : 0
ATU-R UAS : 0
ATU-C Tx Blocks : 23382
ATU-C Rx Blocks : 24681
ATU-C Corrected Blocks : 2
ATU-C Un-corrected Blocks : 0
ATU-R Tx Blocks : 24681
ATU-R Rx Blocks : 23382
ATU-R Corrected Blocks : 68
ATU-R Un-corrected Blocks : 2
Interval # : 1
Valid : YES
Time (HH:MM) : 10:45 AM
ATU-C LOF : 0
ATU-C LOS : 0
ATU-C LOL : 0
ATU-C ES : 1
ATU-C SES : 0
ATU-C UAS : 0
ATU-R LOF : 0
ATU-R LOS : 0
ATU-R LPR : 877
ATU-R ES : 5
ATU-R SES : 0
ATU-R UAS : 0
ATU-C Tx Blocks : 48600
ATU-C Rx Blocks : 51300
ATU-C Corrected Blocks : 1
ATU-C Un-corrected Blocks : 1
ATU-R Tx Blocks : 51300
ATU-R Rx Blocks : 48600
ATU-R Corrected Blocks : 130
ATU-R Un-corrected Blocks : 12
[Type] => DslamPortShowPm24
)
[7] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => slot 11:show pkt-policing-address atm 5:0.34
[Result] =>
Interface Packet Policing Address Address Type
5:0.34 100.100.100.100 Dynamic
[Type] => DslamPktPolicing
)
[8] => Array
(
[IsCompleted] => true
[Host] => dsmu4.Asd-C
[Command] => slot 11:port show state-transition-time-information dsl 5
[Result] =>
Port :5
Latest Administrative State Change Duration :15144257(seconds)
Previous before The Last Operational State Duration :985917(seconds)
Last Operational State Duration :28(seconds)
Current Operational State Duration :3835974(seconds)
[Type] => DslamStateTransitionTimeInformation
)
[9] => Array
(
[IsCompleted] => true
[Host] => bng2.asd-inx.nl
[Command] => show ip arp vrf dds 100.100.100.100
[Result] => Protocol Address Age (min) Hardware Addr Type Interface
Internet 100.100.100.100 6 dd5d.d5dd.5dd5 ARPA Vlan100
[Type] => RouterCiscoShowIpArpVrf
)
[10] => Array
(
[IsCompleted] => true
[Host] => bng2.asd-inx.nl
[Command] => ping vrf dds 100.100.100.100 timeout 1
[Result] =>
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.100, timeout is 1 seconds:
.....
Success rate is 0 percent (0/5)
[Type] => RouterCiscoPingVrf
)
)
)
[SummaryText] => *************************** LOOKING GLASS ******************************
Aansluiting = 01234567/S001
Tijdstip meting = 3/13/2012 4:52:13 PM
Gewenste status = Unlock
Huidige status = Up
DSLAM status = No Defect
CPE status = No Defect
Lijn standaard = Adsl2+ Mode
Laatste statuswijziging = 44days 09:32:54
CPE IP / MAC 1 = 100.100.100.100 / dd:5d:d5:dd:5d:d5 (Siemens Com CPE Devices)
Ingesteld snelheidsprofiel (down/up) = P_1M-4A_18M-8A_2+
Gemeten snelheidsprofiel (down/up) = 15850/1048
************************************************************************
[DslamHostName] => dsmu4.Asd-C
[DslamFullPortName] => 11/5
[LinecardHardwareVersion] => Array
(
[Value] => IPADSL3A 2990084000:A3
[HasValue] => true
)
[LinecardSoftwareVersion] => Array
(
[Value] => 5.3.1.28
[HasValue] => true
)
[CardUptime] => Array
(
[Value] => 175 days 06:44:12
[HasValue] => true
)
[Vlan] => Array
(
[Value] => dds
[HasValue] => true
)
[DslProtocolStatusCpe] => Array
(
[Value] => No Defect
[Color] => Green
[HasValue] => true
)
[DslDslamActiveProfile] => Array
(
[Value] => P_1M-4A_18M-8A_2+
[HasValue] => true
)
[DslImpulseNoiseProtectionUp] => Array
(
[Value] => 0.44
[Color] => Green
[HasValue] => true
)
[DslImpulseNoiseProtectionDown] => Array
(
[Value] => 0.5
[Color] => Green
[HasValue] => true
)
[DslInterleaveDelayUp] => Array
(
[Value] => 3
[Unit] => ms
[HasValue] => true
)
[DslInterleaveDelayDown] => Array
(
[Value] => 7
[Unit] => ms
[HasValue] => true
)
[EthernetUpPackets] => Array
(
[Value] => 459172064
[HasValue] => true
)
[EthernetUpPacketsUnicast] => Array
(
[Value] => 459148363
[HasValue] => true
)
[EthernetUpPacketsMulticast] => Array
(
[Value] => 0
[HasValue] => true
)
[EthernetUpPacketsBroadcast] => Array
(
[Value] => 22119
[HasValue] => true
)
[EthernetUpDiscards] => Array
(
[Value] => 3672
[HasValue] => true
)
[EthernetDownPackets] => Array
(
[Value] => 655681362
[HasValue] => true
)
[EthernetDownPacketsUnicast] => Array
(
[Value] => 655681361
[HasValue] => true
)
[EthernetDownPacketsMulticast] => Array
(
[Value] => 0
[HasValue] => true
)
[EthernetDownPacketsBroadcast] => Array
(
[Value] => 0
[HasValue] => true
)
[EthernetUpOctets] => Array
(
[Value] => 54525841406
[HasValue] => true
)
[EthernetDownOctets] => Array
(
[Value] => 761064794351
[HasValue] => true
)
[ErrorRatios] => Array
(
[DslErrorRatios] => Array
(
[0] => Array
(
[MeasureTime] => Array
(
[Value] => 1days 12:29:28
[HasValue] => true
)
[FatalDown] => Array
(
[Value] => 4.7608431104794287E-05
[Color] => Green
[HasValue] => true
)
[FatalUp] => Array
(
[Value] => 5.2925418917524841E-05
[Color] => Green
[HasValue] => true
)
[CorrectableDown] => Array
(
[Value] => 0.0019920709383686279
[Color] => Green
[HasValue] => true
)
[CorrectableUp] => Array
(
[Value] => 7.2726614909762778E-05
[Color] => Green
[HasValue] => true
)
)
[1] => Array
(
[MeasureTime] => Array
(
[Value] => 0days 00:20:20
[HasValue] => true
)
[FatalDown] => Array
(
[Value] => 0.0001944930677113723
[Color] => Green
[HasValue] => true
)
[FatalUp] => Array
(
[Value] => 1.316118503310038E-05
[Color] => Green
[HasValue] => true
)
[CorrectableDown] => Array
(
[Value] => 0.0027506876719179795
[Color] => Green
[HasValue] => true
)
[CorrectableUp] => Array
(
[Value] => 3.9483555099301141E-05
[Color] => Green
[HasValue] => true
)
)
)
)
[CobsProductInstanceNumber] => 01234567/S001
[CreateDateTime] => 2012-03-13T16:52:13.220625
[NetworkType] => Babyxl
[Environment] => Production
[MeasurementId] => 634672543332206250
[OpenAtoms] => 0
[TotalAtoms] => 11
[Done] => true
[MsWaitDelayForNextPoll] => 0
)