Total Access 5000 Business Services Deployment Guide
D-2 65K510DEP08-1A
TWAMP Overview
TWAMPisamechanismbywhichIPperformancemetricsandpacketlosscanbeobtained
acrosstheMetroEthernet.Thesetypesofmetricsverifythatacertainservicelevelisbeing met
acrossthenetworkthatwasagreeduponbetweenthecustomerandtheserviceprovider.
TWAMPallowsaunitin
theMetroEthernettosetupand sendIP packetstoadestinationunit
intheMetroEthernet.Thedestinationunitreceivesthepacketandtransmitsitrightbackto
thesendingunit.Thepacketcontainstimestampsinsertedbythesendinganddestination
unitsthatindicatesendingtime,timereceivedand
re‐transmittedat thedestination unit,and
thetimereceivedbackatthesendingunit.Withthisinformation,thesendingunitcan
calculatethefollowingstatistics:packetloss,two‐wayla tency,anddirectional/one‐wayjitter.
TheNCTEonlysupportsreflectormode.
TWAMP Provisioning
InTWAMPterminology,thesourcenodeorsenderiscalledtheʺses si o n ‐senderʺandthe
reflectorissimplycalledtheʺses si o n ‐reflectorʺ.Inaddition,thesourcenodeusuallyhasthe
responsibilityofinitiallyrequestingaTWAMPsessiontocommence.InTWAMPterminology
thisiscalledtheʺControl‐Clientʺ‐sometimesjust
abbreviatedtoclient.Thereflectornode
alsohasanotherroleofbeingtheTWAMPʺserverʺ.Theʺserverʺisresponsibleforaccepting
theTWAMPrequestsfromthesourcenode.
TheTWAMPprotocolcanbedividedupintothe4logicalstates.Eachphasecommences
sequentiallyintimeinanormalTWAMP
probeexchange:
•Theconnectionsetupphase(runoverTCP)
•Thetestsessionsetupphase(runoverTCP)
•Theactivetestsessionphase(runoverUDP)
•Thetestsessionendandpmretrievalphase(runoverTCP)
Theactivetestse ssion phaserunsoverUDP,whereastheother3phasesall
runoverasingleTCPconnection.
TWAMP Connection Setup
Thehostthatinitiatesthetcpconnectiontakestheroleofcontrol‐clientandsessionsender.
ThehostthatacknowledgestheTCPconnectionisthesession‐reflector.
TWAMP Test Session Setup
Thesession‐reflectordoesNOTprocessincomingtestpacketsforPMmetricsanddoesnot
careaboutthesendschedule.Consequently,thenumberofscheduledslotsandnumberof
packetsintherequest‐sessioncommandmustbesetto0.
SenderUDPportistheUDPportusedforsendertransmission.
ReceiverUDPportistheUDP
portusedforreflectortransmission.