TWAMP on OcNOS netconf
https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/MPLS-Config/TWAMP_over_EVPN_Configuration.html
Image Added
requirement |
|
---|
NTP | NTP in OcNOS
|
PtP |
|
Control and Test Sessions: |
|
---|
| - Control Session: Establishes the parameters for the test session, such as the IP addresses, ports, packet sizes, and the duration of the test.
- Test Session: Where the actual performance measurements occur, involving the exchange of test packets between the two endpoints.
|
Key Metrics | - Latency: The time taken for a packet to travel from the sender to the receiver and back.
- Jitter: The variation in latency over a series of packets.
- Packet Loss: The number of packets sent that are not received by the destination.
|
Vince's Confluence |
|
---|
| https://ipinfusion.atlassian.net/wiki/spaces/CE/pages/91193347/TWAMP |
Client CnnfigClinet side / Controller Config |
|
---|
| use local-loopback ( Sender ) and remote loopback ( receiver )
Code Block |
---|
| +
hardware-profile filter twamp-ipv4 enable
R5LAB#show running-config twamp
twamp-light control
control-admin-state enable
twamp client
connection R6
server ipv4 10.10.100.6
session R6 sender-port 2000 receiver-port 2000 sender-address ipv4 10.10.100.5 receiver-address ipv4 10.10.100.6
exit-connection
|
|
|
|
| show twamp client connection show twamp client session
Code Block |
---|
| R5LAB#show twamp client connection
connection Name Server address Server port VRF Status
R6 10.10.100.6 862 default Running
R5LAB#show twamp client session
Connection name Session name Sender Receiver State
R6 R6 10.10.100.5 10.10.100.6 Session started
R5LAB#
|
|
Server Client |
statistics |
|
---|
| show twamp-statistics Code Block |
---|
| R5LAB#show twamp-statistics
=========================================
TWAMP Test-Session Statistics
=========================================
Test-Session Name : R6
Start Time : 2024 Jul 12 18:46:14
Elapsed time(milli sec) : 48013
Packets Sent : 16
Packets Received : 16
Packet Loss(%) : 0.00
Round Trip Delay(usec)
Minimum : 10
Maximum : 12
Average : 11
Forward Delay(usec)
Minimum : (*)
Maximum : (*)
Average : (*)
Reverse Delay(usec)
Minimum : (*)
Maximum : (*)
Average : (*)
Round Trip Delay Variation(usec)
Minimum : 11
Maximum : 11
Average : 11
Forward Delay Variation(usec)
Minimum : (*)
Maximum : (*)
Average : (*)
Reverse Delay Variation(usec)
Minimum : (*)
Maximum : (*)
Average : (*)
(*) - Time is not in sync between Sender and Reflector
|
|
Server Side / Reflector |
|
---|
|
Code Block |
---|
| R6LAB#show running-config twamp
twamp-light reflector
reflector-admin-state enable
twamp server
server-admin-state enable
|
|
start sessions | on the Server side |
---|
| show twamp server status show twamp server connection show twamp server session
Code Block |
---|
| R6LAB#show twamp server status
Status : Enabled
Listening Port : 862
Server VRF list :
Number of connections : 1
Number of sessions : 1
Number of running sessions: 1
R6LAB#show twamp server connection
Connection ID Client Address Client Port
1 10.10.100.5 46784
R6LAB#show twamp server session
Connection ID Session Id Sender Receiver State
1 0A.0A.64.06:E00FC1220EE2C98E:E976003A 10.10.100.5 10.10.100.6 Started
R6LAB#
R6LAB#show twamp server session 0A.0A.64.06:E00FC1220EE2C98E:E976003A
State : Started
Connection ID : 1
Session ID : 0A.0A.64.06:E00FC1220EE2C98E:E976003A
Sender address : 10.10.100.5
Sender port : 2000
Receiver address: 10.10.100.6
Receiver port : 2000
Receiver VRF : default
Start time : -
Timeout : 0 sec
|
|
|
|
Netconf | get connection the data |
---|
| TWAMP on OcNOS netconf |
|
|
|
|
---|