07-04-2023 05:42 AM
Hi
is there a trick on catalyst 9500 L3 Subinterfaces to capture packets via the "monitor capture" feature ?
I tried to capture traffic from Interface
!
interface TenGigabitEthernet1/0/11.3261
description tport / ETH-10577
encapsulation dot1Q 3261
ip vrf forwarding tport
ip address 192.168.66.1 255.255.255.252
ip pim query-interval 5
ip pim sparse-mode
ip ospf message-digest-key 1 md5 7 43523452345234523452345234523452345234523452345E
ip ospf network point-to-point
ip ospf hello-interval 5
ip ospf 4545451 area 10
end
and i used the commands
9500#show monitor capture TEST para
monitor capture TEST interface TenGigabitEthernet1/0/11 OUT
monitor capture TEST interface TenGigabitEthernet1/0/11.3265 OUT
monitor capture TEST class-map class-default
monitor capture TEST buffer size 100
monitor capture TEST limit pps 10000
9500#
used the interfaces in any variation , tried the vlan number as capture interace , tried some other match criteria and ANY as well, but it willnot capture my packets.
If i use a Switchport trunk interfaces everyting works fine. Is there a limitation for L3 Sub-Interfaces or something else ?
07-04-2023 05:46 AM
Hi @maamann
The problem is related to the VRF
"Neither VRFs, management ports, nor private VLANs can be used as attachment points."
07-04-2023 05:56 AM - edited 07-04-2023 06:56 AM
Hi Flavio
yes , but i don´t use the vrf as a source, the Interface like i would interpret the doc like this.
monitor capture TESt interface vrf tport
that captures everyting from the vrf to the buffer.
And on the other hand i would expect that the capture is working on the Main interface beause , this one sees only the L2 Dot1q packets and knows nothing from the vrf.
a classical monitor session is working in this case , so i would assume that it works with monitor capture as well because i can not Imagine that cisco uses to different processes to send packets to the destination if capture monitor is used or monitor session ...... is used
07-04-2023 06:16 AM
The doc states attachement not source. I would try to remove the VRF just to make sure.
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