Skip to content

Access SPAN Destination Groups

Location in GUI: Fabric » Access Policies » Policies » Troubleshooting » SPAN » SPAN Destination Groups

Diagram
NameTypeConstraintMandatoryDefault Value
destination_groupsList[destination_groups]No

destination_groups (apic.access_policies.span)

Section titled “destination_groups (apic.access_policies.span)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
node_idIntegermin: 1, max: 4000No
pod_idIntegermin: 1, max: 255No
sub_portIntegermin: 1, max: 16No
moduleIntegermin: 1, max: 9No1
portIntegermin: 1, max: 127No
channelStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
ipIPNo
source_prefixStringNo
dscpAnyChoice[unspecified, CS0, CS1, AF11, AF12, AF13, CS2, AF21, AF22, AF23, CS3, AF31, AF32, AF33, CS4, AF41, AF42, AF43, CS5, VA, EF, CS6, CS7] or Integer[min: 0, max: 63]Nounspecified
flow_idIntegermin: 1, max: 1023No1
mtuIntegermin: 64, max: 9216No1518
ttlIntegermin: 1, max: 255No64
versionChoice1, 2No2
enforce_versionBooleantrue, falseNofalse
tenantStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
application_profileStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
endpoint_groupStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No

Example-1: This example demonstrates how to configure a SPAN destination group under access policies for ERSPAN. The destination group Lf1011-EPC-CP-DstGrp defines the ERSPAN collector with IP 192.168.101.151. The source_prefix 10.1.1.1 specifies the ERSPAN source IP. The MTU is set to 9216 to support jumbo frames. By default, the ERSPAN version is 2; in this example, it is explicitly set to 1. The tenant mgmt, application_profile Mgmt-AP, and endpoint_group VLAN-1001-EPG identify the EPG used to reach the collector. The collector IP must be reachable and learned in this EPG.

apic:
access_policies:
span:
destination_groups:
- name: Lf1011-EPC-CP-DstGrp
description: ERSPAN destination group for the EPC-CP collector.
ip: 192.168.101.151
source_prefix: 10.1.1.1
mtu: 9216
version: 1
tenant: mgmt
application_profile: Mgmt-AP
endpoint_group: VLAN-1001-EPG

Example-2: This example demonstrates how to configure a local SPAN destination group under access policies. The destination group Local-Span-DstGrp directs mirrored traffic to a physical interface on a specific leaf. The node_id and port fields identify the egress interface used for the SPAN destination (port 10 on node 1011). Because this is local SPAN, ERSPAN-specific fields such as ip, source_prefix, and version are not required. By default, the destination interface MTU is 1518 unless explicitly specified.

apic:
access_policies:
span:
destination_groups:
- name: Local-Span-DstGrp
description: Local SPAN Destination Group
node_id: 1011
port: 10