cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1479
Views
15
Helpful
3
Replies

ASR Embedded Packet Capture on GigabitEthernet0

Jason Szucs
Level 1
Level 1

Can EPC be applied to the Gig0 interface of an ASR 1002-X that's in the Mgmt-intf VRF?  I've tried both of the following examples, but don't see any packets captured:

 

monitor capture testcap interface GigabitEthernet 0 both match any buffer size 1

monitor capture testcap interface GigabitEthernet 0 both control-plane both buffer size 1 match any 

1 Accepted Solution

Accepted Solutions

Hello Jason

The earlier configuration that i tried was on ASR1004. i tried to test this in my lab on ASR1002-X and was able to see the same behavior. After researching a bit on this issue, i noticed that though Mgmt Interface is configurable but its not supported. There is a config check added starting 15.3 release for this issue to ensure that mgmt interface is not configurable for EPC. There is an internal defect opened as well for this issue (though i cannot share as its internal).

Hope this clarifies your doubt.

Regards,

Vinit

PS: Please mark the question as answered if your query is resolved.

Thanks
--Vinit

View solution in original post

3 Replies 3

Vinit Jain
Cisco Employee
Cisco Employee

Hello Jason

i just tried to setup EPC on GI0 interface and it works. What is the version that you are using.

ASR1004#monitor capture buffer test limit duration 60
ASR1004#monitor capture point ip cef test Gi0 bot
ASR1004#monitor capture point ip cef test Gi0 both
*Oct 24 14:17:46.668: %BUFCAP-6-CREATE: Capture Point test created.o
ASR1004#monitor capture point associate test test
ASR1004#monitor capture point start test

 

ASR1004#show monitor capture buffer test       
14:18:33.240 UTC Oct 24 2015 : IPv4 LES CEF    : Gi0 None

14:18:34.240 UTC Oct 24 2015 : IPv4 LES CEF    : Gi0 None

14:18:35.246 UTC Oct 24 2015 : IPv4 LES CEF    : Gi0 None

14:18:36.250 UTC Oct 24 2015 : IPv4 LES CEF    : Gi0 None

14:18:37.249 UTC Oct 24 2015 : IPv4 LES CEF    : Gi0 None

14:18:38.274 UTC Oct 24 2015 : IPv4 LES CEF    : Gi0 None

14:18:39.260 UTC Oct 24 2015 : IPv4 LES CEF    : Gi0 None

What is the XE version that you are using?

Please let me know if the above configuration works for EPC for you.

Regards

Vinit

Thanks
--Vinit

Hi Vinit,

Thanks for testing this!  I'm running version 15.2(4)S5.  It looks like the syntax on my version is slightly different:

router#monitor capture ?
  WORD  Name of the Capture 

router#monitor capture test ?
  access-list    access-list to be attached 
  buffer         Buffer options
  class-map      class name to attached 
  clear          Clear Buffer
  control-plane  Control Plane 
  export         Export Buffer
  interface      Interface
  limit          Limit Packets Captured
  match          Describe filters inline
  start          Enable Capture
  stop           Disable Capture 

I've been trying to implement the feature as described in this config guide:

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/epc/configuration/xe-3s/asr1000/epc-xe-3s-asr1000-book/nm-packet-capture-xe.html

Hello Jason

The earlier configuration that i tried was on ASR1004. i tried to test this in my lab on ASR1002-X and was able to see the same behavior. After researching a bit on this issue, i noticed that though Mgmt Interface is configurable but its not supported. There is a config check added starting 15.3 release for this issue to ensure that mgmt interface is not configurable for EPC. There is an internal defect opened as well for this issue (though i cannot share as its internal).

Hope this clarifies your doubt.

Regards,

Vinit

PS: Please mark the question as answered if your query is resolved.

Thanks
--Vinit
Review Cisco Networking products for a $25 gift card