01-23-2023 08:08 AM
Have an NCS540 running 7.3.2 and want to capture and examine packet traffic
01-23-2023 08:10 AM
you can try this tool, span to file
01-23-2023 08:23 AM
Thank you. I tried that and here's what I got
(config)#monitor-session TEST ethernet
(config-mon)#destination file size 10000
RP/0/RP0/CPU0:N540-1-LG2-A238(config-mon)#exit
RP/0/RP0/CPU0:N540-1-LG2-A238(config)#int Te0/0/0/8
RP/0/RP0/CPU0:N540-1-LG2-A238(config-if)#monitor-session TEST ethernet port-level
RP/0/RP0/CPU0:N540-1-LG2-A238(config-if-mon)#exit
RP/0/RP0/CPU0:N540-1-LG2-A238(config-if)#exit
RP/0/RP0/CPU0:N540-1-LG2-A238(config)#monitor-session TEST ?
destination Specify the destination that traffic should be replicated to
discard-class Specify the discard class value to be set on all traffic mirrored to th
e destination
ethernet Replicate Ethernet traffic
inject-interface Specify the attachment interface into which traffic may be injected fro
m the SPAN session's destination
traffic-class Specify the traffic class value to be set on all traffic mirrored to th
e destination
<cr>
packet-collection start not an option.
I'm sure this is user error
01-23-2023 08:49 AM
to start the packet collection you need to be in exec-mode not config mode
03-27-2024 04:04 AM - edited 03-27-2024 04:10 AM
Hello, could you please let us know if "span to file" should be supported also on NCS540 running XR7?
01-23-2023 08:55 AM
Thank you. would that be the admin command.
RP/0/RP0/CPU0:N540-1-LG2-A238#monitor-session
^
% Invalid input detected at '^' marker.
01-23-2023 09:13 AM
admin is not required
RP/0/RP0/CPU0:NCS-540-A#monitor-session test packet-collection st
start stop
RP/0/RP0/CPU0:NCS-540-A#monitor-session test packet-collection st?
start stop
RP/0/RP0/CPU0:NCS-540-A#monitor-session test packet-collection start ?
<cr>
RP/0/RP0/CPU0:NCS-540-A#monitor-session test packet-collection start
do you have tacacs enabled that may be blocking this command?
Thank you
01-23-2023 09:18 AM
01-23-2023 09:27 AM
can you check show user group, make sure your account has cisco-support and rootsystem group privileges
thanks
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