cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
352
Views
0
Helpful
3
Replies

monitor-session is not working in ios-xr ? Help needed

usmansa2
Level 1
Level 1

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 

 

3 Replies 3

marce1000
VIP
VIP

 

  - Check software version on the NCS and or use latest advisory release :
                https://software.cisco.com/download/home/286324702/type/280805694/release/7.7.21
    and try again.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

usmansa2
Level 1
Level 1

Hi,

it is the latest version 

I'm having exactly the same problem, also on 7.7.21. Did you manage to find solution?

Review Cisco Networking for a $25 gift card