Example:
Source node verification
Router# sh run performance-measurement
performance-measurement
probe-profile name foo
tx-interval 6000
flow-label from 100 to 300 increment 10
!
!
Router# sh performance-measurement profile named-profile
Endpoint Probe Measurement Profile Name: foo
Profile configuration:
Measurement mode : One-way
Protocol type : TWAMP-light
Type of service:
TWAMP-light DSCP : 48
TX interval : 6000000 (effective: 6000000) uSec
Destination sweeping mode : Disabled
Liveness detection parameters:
Multiplier : 3
Logging state change : Disabled
Hop Limit : 255
Flow Label Count : 21
Flow Labels: 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240,
250, 260, 270, 280, 290, 300
Packet Size Count : 0
Traffic Class Count : 0
Router#sh run performance-measurement
performance-measurement
endpoint ipv6 bbbb::
path-assurance
session-id 11
!
!
!
source-address ipv6 aaaa::
!
Router# sh performance-measurement endpoint
Endpoint name: IPv6-bbbb::-vrf-default
Source address : Unknown
VRF name : default
Probe Measurement : Enabled
Profile Keys:
Profile name : default
Profile type : Endpoint Probe Measurement
Run this show command to verify the probe sessions:
Router# show performance-measurement probe-sessions
Transport type : Endpoint
Measurement type : Probe
Endpoint name : IPv6-bbbb:bbbb:2::-vrf-default
endpoint : bbbb:bbbb:2::
source : bbbb:bbbb:1::
vrf : default
Segment-list :
Path Tracing session:
Session ID : 10
Profile Keys:
Profile name : pt1
Profile type : Probe
Current status:
Packet sent every 0.30000 seconds (value stretched for rate-limiting)
Next packet will be sent in 0.20 seconds
Transport type : Endpoint
Measurement type : Probe
Endpoint name : IPv6-bbbb:bbbb:2::-vrf-default
endpoint : bbbb:bbbb:2::
source : bbbb:bbbb:1::
vrf : default
Segment-list :
Path Tracing session:
Session ID : 11
Profile Keys:
Profile name : pt2 (Profile not found)
Profile type : N/A
Current status:
Not running: Profile is not configured
Transport type : Endpoint
Measurement type : Probe
Endpoint name : IPv6-bbbb:bbbb:2::-vrf-default
endpoint : bbbb:bbbb:2::
source : bbbb:bbbb:1::
vrf : default
Segment-list :
Path Assurance session:
Session ID : 20
Profile Keys:
Profile name : pa1
Profile type : Probe
Current status:
Packet sent every 0.30000 seconds (value stretched for rate-limiting)
Next packet will be sent in 0.24 seconds
Run this show command to view the summary of all the probe sessions:
Router# show performance-measurement summary
Measurement Information:
Total interfaces with PM sessions : 0
Total SR Policies with PM sessions : 0
Total Endpoints with PM sessions : 1
Total RSVP-TE tunnels with PM sessions : 0
Global Counters:
Total packets sent : 0
Total query packets received : 0
Total invalid session id : 0
Total missing session : 0
Probe sessions:
Total sessions : 3
Path-tracing sessions:
Total running sessions : 1
Total running error sessions : 0
Path-assurance sessions:
Total running PA sessions : 1
Total running error PA sessions : 0
Counters:
Path-tracing packets:
Total sent : 3063
Total sent errors : 0
Path-assurance packets:
Total sent : 470
Total sent errors : 0
Router# show cef interface fourHundredGigE 0/0/0/1
FourHundredGigE0/0/0/1 is up if_handle 0x0f000208 if_type IFT_FOURHUNDREDGE(0xcd)
idb info 0x94dfbf88 flags 0x30001 ext 0x0
Vrf Local Info (0x0)
Interface last modified, create
Reference count 1 Next-Hop Count 0
PT (path tracing) is enabled: id:0xC8 load_in:0x0 load_out:0x0 tts:0x3
Protocol Reference count 0
Protocol ipv4 not configured or enabled on this card
Primary IPV4 local address NOT PRESENT
This is an example of Show CLI with Interface ID:
Router# show run performance-measurement
performance-measurement
probe-profile name foo
tx-interval 6000
flow-label from 100 to 300 increment 10
!
!
Router# sh performance-measurement profile named-profile
Endpoint Probe Measurement Profile Name: foo
Profile configuration:
Measurement mode : One-way
Protocol type : TWAMP-light
Type of service:
TWAMP-light DSCP : 48
TX interval : 6000000 (effective: 6000000) uSec
Destination sweeping mode : Disabled
Liveness detection parameters:
Multiplier : 3
Logging state change : Disabled
Hop Limit : 255
Flow Label Count : 21
Flow Labels: 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240,
250, 260, 270, 280, 290, 300
Packet Size Count : 0
Traffic Class Count : 0
Router# show cef interface GigabitEthernet 0/2/0/0
GigabitEthernet0/2/0/0 is up if_handle 0x01000020 if_type IFT_GETHERNET(0xf)
idb info 0x619f16f0 flags 0x30101 ext 0x627ef180 flags 0x30050
Vrf Local Info (0x626510f0)
Interface last modified Mar 4, 2022 13:34:43, modify
Reference count 1 Next-Hop Count 3
PT (path tracing) is enabled: id:0x40 load_in:0x0 load_out:0x0 tts:0x1
Forwarding is enabled
ICMP redirects are never sent
ICMP unreachables are enabled
Protocol MTU 1500, TableId 0xe0000000(0x61ccf768)
Protocol Reference count 4
Primary IPV4 local address 10.10.10.1
Router# show performance-measurement interfaces
Interface Name: GigabitEthernet0/2/0/0 (ifh: 0x1000020)
Delay-Measurement : Disabled
Loss-Measurement : Disabled
Path-Tracing : Enabled
Configured IPv4 Address : 10.10.10.1
Configured IPv6 Address : 10:10:10::1
Link Local IPv6 Address : fe80::91:e4ff:fe60:6707
Configured Next-hop Address : Unknown
Local MAC Address : 0291.e460.6707
Next-hop MAC Address : 023a.6fc9.cd6b
In-use Source Address : 10.10.10.1
In-use Destination Address : 10.10.10.2
Primary VLAN Tag : None
Secondary VLAN Tag : None
State : Up
Path-Tracing:
Interface ID : 64
Load IN : 0
Load OUT : 0
Load Interval : 60
Last FIB Update:
Updated at: Mar 04 2022 13:34:43.112 (0.392 seconds ago)
Update reason: Path tracing config
Update status: Done
This is an example of Show CLI without InterfaceID, which means PT is disabled on the target interface. So, you can configure timestamp template:
Router# show cef interface GigabitEthernet 0/2/0/0
GigabitEthernet0/2/0/0 is up if_handle 0x01000020 if_type IFT_GETHERNET(0xf)
idb info 0x619f16f0 flags 0x30101 ext 0x627ef180 flags 0x30050
Vrf Local Info (0x626510f0)
Interface last modified Mar 4, 2022 13:49:37, modify
Reference count 1 Next-Hop Count 3
Forwarding is enabled
ICMP redirects are never sent
ICMP unreachables are enabled
Protocol MTU 1500, TableId 0xe0000000(0x61ccf768)
Protocol Reference count 4
Primary IPV4 local address 10.10.10.1
Router# sh performance-measurement interfaces
Interface Name: GigabitEthernet0/2/0/0 (ifh: 0x1000020)
Delay-Measurement : Disabled
Loss-Measurement : Disabled
Path-Tracing : Enabled
Configured IPv4 Address : 10.10.10.1
Configured IPv6 Address : 10:10:10::1
Link Local IPv6 Address : fe80::91:e4ff:fe60:6707
Configured Next-hop Address : Unknown
Local MAC Address : 0291.e460.6707
Next-hop MAC Address : 023a.6fc9.cd6b
In-use Source Address : 10.10.10.1
In-use Destination Address : 10.10.10.2
Primary VLAN Tag : None
Secondary VLAN Tag : None
State : Up
Path-Tracing:
Interface ID : 0
Timestamp Template : 3
Load IN : 0
Load OUT : 0
Load Interval : 60
Last FIB Update:
Updated at: Mar 04 2022 13:49:37.492 (176.418 seconds ago)
Update reason: Path tracing config
Update status: Done
Sink Node Verification
Router# sh segment-routing srv6 sid fccc:cc00:1:fef1:: detail
SID Behavior Context Owner State RW
fccc:cc00:1:fef1:: uTEF [fccc:cc01:7::, default]:fccc:cc00:1:fef1:: ip_static_srv6 InUse Y
SID Function: 0xfef1
SID context: { controller=fccc:cc01:7::, table-id=0xe0800000 ('default':IPv6/Unicast), differentiator=fccc:cc00:1:fef1:: }
Locator: 'locator0'
Allocation type: Explicit
Router# sh segment-routing srv6 sid fccc:cc00:1:fef3:: detail
SID Behavior Context Owner State RW
fccc:cc00:1:fef3:: uTEF [fccc:cc00:7::, default]:fccc:cc00:1:fef3:: ip_static_srv6 InUse Y
SID Function: 0xfef3
SID context: { controller=fccc:cc00:7::, table-id=0xe0800000 ('default':IPv6/Unicast), differentiator=fccc:cc00:1:fef3:: }
Locator: 'locator0'
Allocation type: Explicit
Router# sh segment-routing srv6 sid fccc:cc01:1:fef2:: detail
SID Behavior Context Owner State RW
fccc:cc01:1:fef2:: uTEF [fccc:cc00:7::, default]:fccc:cc01:1:fef2:: ip_static_srv6 InUse Y
SID Function: 0xfef2
SID context: { controller=fccc:cc00:7::, table-id=0xe0800000 ('default':IPv6/Unicast), differentiator=fccc:cc01:1:fef2:: }
Locator: 'locator1'
Allocation type: Explicit
Created: Feb 27 11:06:54.999 (00:10:05 ago)