ping srv6
Use this command to check the connectivity between ingress and egress of LSP. This command uses Internet Control Message Protocol (ICMPv6) echo request and reply messages to validate an LSP.
Use this command to check connectivity if an LSP traverses entirely through an SRv6 domain.
You can initiate the segment routing of ipv6 ping operation only when the SRv6 control plane is available at the originator.
Command Syntax
ping srv6 (ipv6 X:X::X:X| sid SID) (via segment-list .SID_VALUE sid-list-end |) ({source-ip X:X::X:X | repeat <5-5000> |interval <2-20000>}|)
Parameters
ipv6
IPv6 Address
X:X::X:X
Ping SRv6 destination address
sid
Segment list ID
SID
Ping SID value
via segment-list
List of segments to pass through
SID_VALUE
SID value
sid-list-end
End of the segment list
source-ip
Source IPv6 address to use in ICMPv6 packet
X:X::X:X
Source IPv6 address in the ping
repeat
Repeat sending of ping packet
<5-5000>
Number of pings to send
interval
Interval between ping packets
<2-20000>
Interval between pings in milliseconds
Defaults
No defaults
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.3.0.
Examples
PE1#ping srv6 ipv6 cafe:1:2::22
Sending 5 SRV6 Echos to cafe:1:2::22, timeout is 5 seconds
Codes:
'!' - Success, 'Q' - request not sent, '*' - timeout,
'x' - Retcode 0, 'M' - Malformed Request
Type 'Ctrl+C' to abort
! seq_num = 1 :: 1.44 ms
! seq_num = 2 :: 0.68 ms
! seq_num = 3 :: 0.34 ms
! seq_num = 4 :: 0.51 ms
! seq_num = 5 :: 0.36 ms
Success Rate is 100.00 percent (5/5)
round-trip min/avg/max = 0.34/0.89/1.44
Last modified date: 10/20/2023