Skip to main content

SNMP Pod Policy

Location in GUI: Fabric Policies » Policies » Pod » SNMP

Diagram

Classes

pod_policies (apic.fabric_policies)

NameTypeConstraintMandatoryDefault Value
snmp_policiesList[snmp_policies]No

snmp_policies (apic.fabric_policies.pod_policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
admin_stateBooleantrue, falseNotrue
locationStringmin: 0, max: 512No
contactStringmin: 0, max: 255No
usersList[users]No
communitiesListString[min: 0, max: 32]No
trap_forwardersList[trap_forwarders]No
clientsList[clients]No

users (apic.fabric_policies.pod_policies.snmp_policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
privacy_typeChoicenone, des, aes-128Noaes-128
privacy_keyStringmin: 8, max: 130No
authorization_typeChoicehmac-md5-96, hmac-sha1-96, hmac-sha2-224, hmac-sha2-256, hmac-sha2-384, hmac-sha2-512Nohmac-sha1-96
authorization_keyStringmin: 8, max: 130Yes

trap_forwarders (apic.fabric_policies.pod_policies.snmp_policies)

NameTypeConstraintMandatoryDefault Value
ipIPNo
portIntegermin: 0, max: 65535No162

clients (apic.fabric_policies.pod_policies.snmp_policies)

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

entries (apic.fabric_policies.pod_policies.snmp_policies.clients)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
ipIPYes

Examples

Simple example:

apic:
fabric_policies:
pod_policies:
snmp_policies:
- name: SNMP1
communities:
- abcABC123
clients:
- name: CLIENTS
entries:
- name: NMS1
ip: 1.1.1.1

Full example:

apic:
fabric_policies:
pod_policies:
snmp_policies:
- name: SNMP1
admin_state: true
location: LOCATION
contact: CONTACT
users:
- name: USER1
description: Description of USER1
privacy_type: aes-128
privacy_key: Key123456
authorization_type: hmac-sha1-96
authorization_key: Key123456
communities:
- abcABC123
clients:
- name: CLIENTS
description: Description of CLIENTS
mgmt_epg: inb
entries:
- name: NMS1
ip: 1.1.1.1