Example-1: This data model creates a TACACS monitoring destination group named tacacs_simple with a single TACACS+ accounting destination at 10.0.0.50 over port 49 using pap authentication. The destination is reached over the oob management EPG. The shared secret key is sensitive and should be supplied via a variable or vault.
apic:
fabric_policies:
monitoring:
tacacs:
- name: tacacs_simple
description: Simple TACACS Accounting Example
destinations:
- hostname_ip: 10.0.0.50
port: 49
protocol: pap
key: "{{ tacacs_key }}"
mgmt_epg: oob
Example-2: This data model creates a TACACS monitoring destination group tacacs_advanced with two destinations (one primary using chap over inb, one secondary using mschap over oob), and wires it into the common monitoring policy as a TACACS source with Switch TACACS Audit enabled.