This topic shows all possible configuration statements at the [edit snmp] hierarchy level and their level in the configuration hierarchy. When you are configuring JUNOS Software, your current hierarchy level is shown in the banner on the line preceding the user@host# prompt.
For a list of the complete configuration statement hierarchy, see the JUNOS Hierarchy and RFC Reference.
- [edit]
- snmp {
-
- client-list client-list-name {
- ip-addresses;
- }
-
- community community-name {
- authorization authorization;
- client-list-name client-list-name;
-
- clients {
- address restrict;
- }
- view view-name;
- }
- contact contact;
- description description;
-
- engine-id {
- (local engine-id | use-default-ip-address
| use-mac-address);
- }
- filter-duplicates;
- interface [ interface-names ];
- location location;
- name name;
-
- nonvolatile {
- commit-delay seconds;
- }
-
- rmon {
-
- alarm index {
- description description;
- falling-event-index index;
- falling-threshold integer;
- falling-threshold-interval seconds;
- interval seconds;
- request-type (get-next-request
| get-request | walk-request);
- rising-event-index index;
- rising-threshold integer;
- sample-type type;
- startup-alarm alarm;
- syslog-subtag syslog-subtag;
- variable oid-variable;
- }
-
- event index {
- community community-name;
- description description;
- type type;
- }
- }
-
- traceoptions {
- file filename <files number> <size size> <world-readable
| no-world-readable> <match regular-expression>;
- flag flag;
- }
-
- trap-group group-name {
-
- categories {
- category;
- }
- destination-port port-number;
- routing-instance instance;
-
- targets {
- address;
- }
- version (all |
v1 | v2);
- }
-
- trap-options {
- agent-address outgoing-interface;
- source-address address;
- }
-
- v3 {
-
-
- notify-filter profile-name {
- oid oid (include | exclude);
- }
-
- snmp-community community-index {
- community-name community-name;
- security-name security-name;
- tag tag-name;
- }
-
- target-address target-address-name {
- address address;
- address-mask address-mask;
- inform-timeout number;
- inform-retry-count seconds;
- port port-number;
- routing-instance instance;
- tag-list tag-list;
- target-parameters target-parameters-name;
- }
-
- target-parameters target-parameters-name {
- notify-filter profile-name;
-
- parameters {
- message-processing-model (v1 | v2c | v3);
- security-level (authentication | none
| privacy);
- security-model (usm | v1 | v2c);
- security-name security-name;
- }
- }
-
- usm {
-
- local-engine {
-
- user username {
-
- authentication-md5 {
- authentication-password authentication-password;
- }
- authentication-none;
-
- authentication-sha {
- authentication-password authentication-password;
- }
-
- privacy-3des {
- privacy-password privacy-password;
- }
-
- privacy-aes128 {
- privacy-password privacy-password;
- }
-
- privacy-des {
- privacy-password privacy-password;
- }
- privacy-none;
- }
- }
- }
-
- vacm {
-
- access {
-
- group group-name {
-
- default-context-prefix {
-
- security-model (any | usm | v1 | v2c)
{
-
- security-level (authentication | none
| privacy) {
- notify-view view-name;
- read-view view-name;
- write-view view-name;
- }
- }
- }
- }
- }
-
- security-to-group {
-
- security-model (usm | v1 | v2c) {
-
- security-name security-name {
- group group-name;
- }
- }
- }
- }
- }
-
- }