SNMP Feature
Configure SNMP parameters, including SNMP device name and location, SNMP version, views, and communities, and trap groups.
Diagram
Classes
system_profiles (sdwan.feature_profiles)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
snmp | Class | [snmp] | No |
snmp (sdwan.feature_profiles.system_profiles)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[^&<>! "]{1,128}$ | Yes | |
description | String | No | ||
communities | List | [communities] | No | |
contact_person | String | min: 1 , max: 255 | No | |
contact_person_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
groups | List | [groups] | No | |
location | String | min: 1 , max: 255 | No | |
location_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
shutdown | Boolean | true , false | No | |
shutdown_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
trap_target_servers | List | [trap_target_servers] | No | |
users | List | [users] | No | |
views | List | [views] | No |
communities (sdwan.feature_profiles.system_profiles.snmp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
authorization | Choice | read-only , read-write | No | |
authorization_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
name | String | Regex: ^[\S]+$ | Yes | |
user_label | String | Yes | ||
view | String | min: 1 , max: 32 | No | |
view_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
groups (sdwan.feature_profiles.system_profiles.snmp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | min: 1 , max: 32 | Yes | |
security_level | Choice | no-auth-no-priv , auth-no-priv , auth-priv | Yes | |
view | String | min: 1 , max: 32 | No | |
view_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
trap_target_servers (sdwan.feature_profiles.system_profiles.snmp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip | IP | No | ||
ip_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
port | Integer | min: 1 , max: 65535 | No | |
port_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
source_interface | String | Regex: ^(GigabitEthernet|Loopback|TenGigabitEthernet|TwoGigabitEthernet|FortyGigabitEthernet|HundredGigE|Vlan)(([1-9]\d|\d)/){0,2}(0|[1-9]\d*)([:|\.][1-9]\d*)? | No | |
source_interface_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
user | String | min: 1 , max: 32 | No | |
user_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
user_label | String | No | ||
vpn_id | Integer | min: 0 , max: 65530 | No | |
vpn_id_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
users (sdwan.feature_profiles.system_profiles.snmp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
authentication_password | String | min: 1 , max: 128 | No | |
authentication_password_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
authentication_protocol | Choice | sha | No | |
authentication_protocol_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
group | String | min: 1 , max: 32 | No | |
group_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
name | String | min: 1 , max: 32 | Yes | |
privacy_password | String | min: 1 , max: 128 | No | |
privacy_password_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
privacy_protocol | Choice | aes-cfb-128 , aes-256-cfb-128 | No | |
privacy_protocol_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
views (sdwan.feature_profiles.system_profiles.snmp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | min: 1 , max: 32 | Yes | |
oids | List | [oids] | No |
oids (sdwan.feature_profiles.system_profiles.snmp.views)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
exclude | Boolean | true , false | No | |
exclude_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
id | String | Regex: ^(([0-1](\.[1-3]?[0-9]))|(2\.(0|([1-9]\d*))))(\.(0|\*|([1-9]\d*))){0,126}$ | No | |
id_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
Examples
sdwan:
feature_profiles:
system_profiles:
- name: system1
description: this is test system profile
snmp:
name: snmpv2
description: basic snmpv2
contact_person_variable: snmp_contact
communities:
- authorization: read-write
name: test123
user_label: test
view: view_all
location_variable: snmp_location
shutdown_variable: snmp_shutdown
trap_target_servers:
- ip: 172.16.0.11
port: 514
source_interface_variable: snmp_trap_source_interface
user_label: test
vpn_id: 511
views:
- name: view_all
oids:
- id: "1.3"
- id: "1.3.5"
exclude: true
- name: system2
description: this is test system profile
snmp:
name: snmpv3
description: basic snmpv3
contact_person_variable: snmp_contact
groups:
- name: group_auth_priv
security_level: auth-priv
view: view_all
location_variable: snmp_location
shutdown_variable: snmp_shutdown
trap_target_servers:
- ip: 172.16.0.11
port: 514
source_interface_variable: snmp_trap_source_interface
user: user01
vpn_id: 511
users:
- authentication_protocol: sha
authentication_password: $CRYPT_CLUSTER$ENUwbbutISa31iAXuryRqQ==$CVy9EkMrtaPjTUFxNPv/QA==
group: group_auth_priv
name: user01
privacy_protocol: aes-cfb-128
privacy_password: $CRYPT_CLUSTER$ENUwbbutISa31iAXuryRqQ==$CVy9EkMrtaPjTUFxNPv/QA==
views:
- name: view_all
oids:
- id: "1.3"
- id: "1.3.5"
exclude: true