Appendix D, TWAMP Provisioning - TWAMP Provisioning
65K510DEP08-1A D-3
Ifthesenderandreceiveraddressesaresetto0,thentheIPaddressesusedintheIPpacket
thatencapsulatestherequest‐sessioncommandshallbeusedinthetestpackets.
Thetimeoutintherequest‐sessioncommandshallbeusedbythesession‐reflectorasthe
amountoftime
thatthereflectormustwaitafterreceivingastop‐sessionsmessage.The
reflectorshallkeepreflectingpackets untilthisamountoftimepasses.Afterthis,thereflector
stopsreflectingpackets.
Thetype‐PdescriptorwasusedtosettheDSCPorPHBinthemessagefromthesender.The
reflectorshould
usethesesamevaluesinthereflectedpacket.
ThesendschedulefortestpacketsisNOTusedinTWAMP.Thesendershouldautonomously
decidethesendschedule.
TWAMP Active Test Session
Atthispoint,aswitchismadefromusingTCPtousingtheUDPprotocol.WithTWAMP,the
session‐reflectorsendsouttestpacketsinresponsetoeachtestpacketitreceives.
Thesendscheduleisnotcommunicatedtothesession‐reflector.Assuch,thereisnoneedfor
astandardized
computationofpackettiming.Thesender,though,shouldhaveitsbest
approximationofitsrealtimeplacedintothedeparturetimestampfield.
TheTWAMPsession‐reflectortimestampsthereceivedpacket,copiesthepacketsequence
numberinthecorrespondingreflectedpacketfield,transmitsthereflectedpacket,andignores
packetsreceivedaftertheʺ
stop‐sessioncommand+timeoutʺ.
TheTWAMPtestpacketfromthereflectorconsistsofthefollowingparameters:
•Sequencenumber‐isthesequencenumberofthetestpacketaccordingtoitsarrivaltime
atthesession‐reflector.Thisvalueshouldstartwithzeroandincrementbyoneforeach
subsequentpacket.This
isindependentfromthesequencenumberofthearriving
packets.
•Timestamp‐thesessionreflectorʹstransmittimestamp.Formatissameasusedin
OWAMP.
•Errorestimate‐thetimeerrorestimateinthesessionreflectorʹstransmittimestamp.
FormatisthesameasusedinOWAMP.
• Receivetimestamp‐thesessionreflectorʹsreceive
timestamp.Formatissameasusedin
OWAMP.Thedifferencebetweentimestam pandreceivetimestampistheamountof
timethepacketwasintransitionatthesession‐reflector.Theerrorestimateassociated
withtimestampalsoapplieshere.
• ʺSenderSequenceNumber‐anexactcopyofthesequencenumberfromthe
session
sendertestpacket.
•SenderTimestamp‐anexactcopyofthetimestampfromthesession‐sendertestpacket
•SenderErrorEstimate‐anexactcopyoftheerrorestimatefromthesession‐sendertest
packet
•Packetpadding‐anexactcopyof thepacketpaddingfromthesession‐sendertestpacket