06-08-2024 03:46 AM - edited 06-08-2024 03:53 AM
Hi all,
I am trying to capture the packets from Cisco NCS-IOS XR but everytime i try to open the file it shows this error "the capture file has no Interface Description Blocks" My configurations are mentioned below. does someone has any idea that why NCS540 is behaving like that way.
#
monitor-session jb ethernet
destination file size 6000 buffer-type linear format pcapng
#
interface GigabitEthernet0/0/0/10
description **Connected with ASR920_Gig0/0/0/1**
cdp
ipv4 address 192.168.158.1 255.255.255.0
monitor-session jb ethernet direction rx-only port-level
!
#
monitor-session jb packet-collection start
monitor-session jb packet-collection stop write directory /misc/disk1 filename jbcd
#
RP/0/RP0/CPU0:NCS_LAB-1#run
[xr-vm_node0_RP0_CPU0:/misc/disk1/node0_0_CPU0]$tcpdump -r jbcd.pcapng
tcpdump: the capture file has no Interface Description Blocks
#
does someone has an idea why this error is being observed, even when i do the simple packet capturing without file format the pcap file is empty. interface is up and regular communicaton (ping) is happening on the interface
PS : this is not spam, previous post was blocked by modirator
06-08-2024 04:03 AM
what is the IOS XR code, I have used below guide and works for me :
Only difference i extract from device and used Wireshark to view the file with .pacp (never tried .pcappng )
06-08-2024 04:28 AM
even pcap is not working
06-08-2024 04:34 AM
not sure if its a bug
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide