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

CSR 1000v Local SPAN

Hi Everyone,

 

Do you know, if the virtual CSR 1000v router supports Local span configuration?

- I have configured local span, as I would on any switching platform

- Traffic is flowing in and out of the router via interface Gi1

- I want interface Gi2 to be a SPAN destination

- On interface Gi2, I don't see any traffic going out. Tested with version 3.16.8s and Denali 16.3.6.

- (Side note: I have also tried to configure the router as ERSPAN Destination. This has worked as expected, traffic received from ERSPAN was successfully mirrored to Gi2 interface.)

 

I have a simple configuration like that:

monitor session 1 type local
 description TEST-Monitor
 source interface Gi1
 destination interface Gi2

 

Monitor session is up:

prg-csr-cisco#show monitor session 1
Session 1
---------
Type                   : Local Session
Status                 : Admin Enabled
Description            : TEST-Monitor
Source Ports           :
    Both               : Gi1
Destination Ports      : Gi2

 

 

Interface Gi1 has some traffic, but Gi2 has no traffic comming out:

 

prg-csr-cisco#show int gi 1
GigabitEthernet1 is up, line protocol is up
  Hardware is CSR vNIC, address is 0050.5695.498d (bia 0050.5695.498d)
  Internet address is 10.132.1.68/24
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full Duplex, 1000Mbps, link type is auto, media type is RJ45
  output flow-control is unsupported, input flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:44, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 261000 bits/sec, 87 packets/sec
  5 minute output rate 1000 bits/sec, 1 packets/sec
     208524 packets input, 78979536 bytes, 0 no buffer
      ...

    1638 packets output, 163784 bytes, 0 underruns
     ...

prg-csr-cisco#
prg-csr-cisco#
prg-csr-cisco#show int gi 2
GigabitEthernet2 is up, line protocol is up (monitoring)
  Hardware is CSR vNIC, address is 0050.5695.65c2 (bia 0050.5695.65c2)
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full Duplex, 1000Mbps, link type is auto, media type is RJ45
  output flow-control is unsupported, input flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:02:07, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     2 packets input, 120 bytes, 0 no buffer
     ...
     3 packets output, 231 bytes, 0 underruns
     ...

prg-csr-cisco#

 

Regards,

Alexander Pickar

3 REPLIES 3
Highlighted
Cisco Employee

Re: CSR 1000v Local SPAN

I have this exact same problem too.

Did you ever get a response from someone on how to address it?

Highlighted
Participant

Re: CSR 1000v Local SPAN

I opened a case with Cisco for this and they provided workaround which works for me:

 

Workaround:
Local SPAN is not available on the ASR, but creative use of ERSPAN can produce similar results. An example configuration is given below:int loopback0

int loopback0
ip address x.x.x.x y.y.y.y
!
!
monitor session 1 type erspan-source
source interface GigabitEthernet0/0/0
destination
erspan-id 100
ip address x.x.x.x
origin ip address x.x.x.x
!
!
monitor session 2 type erspan-destination
destination interface GigabitEthernet0/0/5
source
erspan-id 100
ip address x.x.x.x

 

This is as per defect

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCto80065

 

Highlighted
Cisco Employee

Re: CSR 1000v Local SPAN

Thanks!

I got it working with this:

***

interface Loopback0
ip address 1.1.1.1 255.255.255.255

!

monitor session 1 type erspan-source
source interface Gi2 rx
destination
erspan-id 100
ip address 1.1.1.1
origin ip address 1.1.1.1
!
monitor session 2 type erspan-destination
destination interface Gi4
source
erspan-id 100
ip address 1.1.1.1

***

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here