08-12-2021 12:23 PM
How do you configure a span port on an SDA router? C9500
Thanks.
08-12-2021 01:36 PM
check this user guide help you :
08-13-2021 11:32 AM
What kind of SPAN?
SPAN (mirror a port and send the traffic to another port directly connected to the switch):
monitor session 1
source interface x/x both
destination interface x/x encapsulation-replicate
RSPAN (mirror a port and send the traffic on a VLAN instead): Rarely used in SDA as there are no trunks to work with
ERSPAN (mirror a port and send the traffic to a remote device, encapsulating the traffic on an IP /GRE tunnel):
ip access-list extended RTP
10 permit udp any any eq 1234
monitor session 10 type erspan-source
description RTP_Test -
source interface/vlan/etc
filter ip access-group RTP ----- ACL to only replicate relevant traffic
destination
erspan-id 100
mtu 9000 ----- Set by default
ip address 192.168.32.11 ------- Remote recording / capture server
origin ip address 172.19.1.72 --- Loopback 0 IP from the fabric node
no shut
None of these can be yet automated by DNAC; the traffic copy feature can only support router platforms as per the time of this writting
02-01-2022 05:16 AM
@jalejand Does SDA support ERSPAN session across the fabric between two ENs? I have conducted several tests, but not getting expected results. My test case platform info: Both ENs are C9300-48UXM running 17.03.04
05-21-2024 01:38 PM - edited 05-21-2024 01:40 PM
Yes it does. Here's a config snip from my lab that works. Please open TAC case if it doesn't. Note below something is replacing the word a d d r e s s with **bleep**, seem it's being erroneously flagged as a swear word, sorry, nothing I can do about it.
SDA EN1 - ERSPAN source
monitor session 10 type erspan-source
source interface Gi1/0/23 - 24
destination
erspan-id 101
ip **bleep** 10.180.4.81
origin ip **bleep** 10.180.4.80
SDA EN2 - ERSPAN destination
monitor session 10 type erspan-destination
destination interface Gi1/0/23
source
erspan-id 101
ip **bleep** 10.180.4.81
05-21-2024 02:28 AM
Would this ERSPAN solution work from an SDA enabled EN to a non fabric router? For example, an ERSPAN session from an EN at multiple sites, back to a single ERSPAN aggregator connected to a DC switch?
Thanks,
J
05-21-2024 03:12 AM
it will assuming there is end-2-end connectivity bw src & dst.
05-21-2024 01:40 PM - edited 05-21-2024 01:42 PM
The config snip I shared above would, yes. Replace "SDA EN2 - ERSPAN destination" with whatever ERSPAN capable device, including a device that is outside the fabric e.g. a non-SDA C9K switch.
05-24-2024 06:20 AM
Based on the destination not being a destination switch, Am i right in thinking that there is only the source switch configuration to consider in this instance?
As the ERSPAN destination is an appliance, that appliance will simply receive the traffic and the routed network in between will just pass the encapsulated traffic to the device configured as the ERSPAN destination.
Thanks,
J
05-24-2024 06:38 AM - edited 05-24-2024 06:41 AM
it's something i 'm still curios of erspan's destination formula :0)
1) if "destination interface X" is set & attached to it TAP will consume/analyse traffic w/o problem why config need "source/ip **bleep** address"?
2) what is the purpose of "source/ip **bleep** address" at all if analyser IP is already defined in ERSPAN-Source switch?
In real life i've always been using remote wireshar machine w/o any ERSPAN Destination switch
05-24-2024 07:19 AM
I think the source IP is just for the tunnel configuration for GRE on the receiving switch.
When you setup a typical GRE tunnel you specify the src/dst IP or interface, i imagine under the hood, the ERSPAN session also requires the same information to ensure that the sessions' associated tunnel can establish. I'm not sure if you could in theory use the same session ID on multiple source switches to the same destination switch, which would then need the source IP address of the tunnel as the differentiator.
I'm also curious.
05-24-2024 07:43 AM - edited 05-24-2024 07:45 AM
lets take erspan-id as base here. u may have number of taps with number of src switches (erspan source) pointing to different or the same destination.
Then u configure on the erspan-src switch:
monitor session X type erspan-source
source interface <variable>
destination
erspan-id <Constant>
ip **bleep** <variable>
to have taps to catch traffic of interest. & it will work
Q: why on the tap adjacent switch we need to configure something different from "destination interface X,Y,Z"?
especially
source
erspan-id <Constant>
ip **bleep** <something_already_defined_on_the_Erspan_src_switch>
?
08-16-2021 10:18 AM
Running DNAC 1.3.3.6 and don't have the service.
02-03-2022 12:13 PM
I think you have to go for a upgrade of your DNAC.
At least DNAC Version 2.2.3.4 brings the following support.
You can configure Switched Port Analyzer (SPAN) and Encapsulated Remote Switched Port Analyzer (ERSPAN) sessions on switches to share IP traffic for application assurance and endpoint analytics. |
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