cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2366
Views
5
Helpful
16
Replies

monitor-session to file

oeche
Level 1
Level 1

Hello guys,

I have some traffic comming on my port (300 Mbits/s)

I want to capture the traffic to a file.

I'm using this doc :

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-5/interfaces/configuration/guide/b-interfaces-hardware-component-cg-asr9000-75x/b-interfaces-hardware-component-cg-asr9000-71x_chapter_01001.html#Cisco_Concept.dita_c471912c-4ab8...

I should have this output :

Configuring SPAN to File

Use the following command to configure SPAN to File:

monitor-session <name> [ethernet|ipv4|ipv6|mpls-ipv4|mpls-ipv6]
    destination file [size <kbytes>] [buffer-type linear]

but i have only ethernet on my ASR9902 :

RP/0/RP0/CPU0:ASR9902I(config)#monitor-session TEST ?
destination Specify the destination that traffic should be replicated to
ethernet Replicate Ethernet traffic
inject-interface Specify the attachment interface into which traffic may be injected from the SPAN session's destination
mirror Set the mirroring properties of this session

i'm in 7.5.2 on the ASR.

Anyone have an idea why i do not find the ipv4|ipv6|mpls-ipv4|mpls-ipv6] ?

Thanks

16 Replies 16

Hi,

Big thanks for you help.

I try an other solution to retrieve my SPAN traffic.

I attach a schema.

Do you know if there is a way on the SPAN traffic i received on my ASR9902 to strip all the vlan and send it on my E-LINE to my ASR9901. And the ASR9901 will encap all the traffic in ethernet 802.1q 2996 ?

 

 

Test-l2vpn-span.PNG

Thank you in advance.