Skip to main content

VSPAN Session

Location in GUI: Fabric » Access Policies » Policies » Troubleshooting » VSPAN » VSPAN Sessions

Diagram

Classes

vspan (apic.access_policies)

NameTypeConstraintMandatoryDefault Value
sessionsList[sessions]No

sessions (apic.access_policies.vspan)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
admin_stateBooleantrue, falseNotrue
sourcesList[sources]No
destinationClass[destination]Yes
expected_stateClass[expected_state]No

sources (apic.access_policies.vspan.sessions)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
directionChoicein, out, bothYesboth
access_pathsList[access_paths]No
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
endpointStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No

destination (apic.access_policies.vspan.sessions)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No

expected_state (apic.access_policies.vspan.sessions)

NameTypeConstraintMandatoryDefault Value
minimum_healthIntegermin: 0, max: 100No
maximum_critical_faultsIntegermin: 0No
maximum_major_faultsIntegermin: 0No
maximum_minor_faultsIntegermin: 0No

access_paths (apic.access_policies.vspan.sessions.sources)

NameTypeConstraintMandatoryDefault Value
node_idIntegermin: 1, max: 4000No
node2_idIntegermin: 1, max: 4000No
pod_idIntegermin: 1, max: 255No
moduleIntegermin: 1, max: 9No1
portIntegermin: 1, max: 127No
channelStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
typeChoiceaccess, vpc, pcNo

Examples

apic:
access_policies:
vspan:
sessions:
- name: SESSION1
destination:
name: DST_GRP1
sources:
- name: SRC1
direction: both
tenant: ABC
application_profile: AP1
endpoint_group: EPG1
endpoint: 00:50:56:96:6B:4F
access_paths:
- node_id: 101
port: 1