Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

snmp

Syntax

snmp {client-list client-list-name {ip-addresses;} community community-name {authorization authorization; client-list-name client-list-name;clients {address restrict;}logical-system logical-system-name {routing-instance routing-instance-name {clients {addresses;}}}routing-instance routing-instance-name {clients {addresses;}}view view-name;}contact contact; description description; filter-duplicates; filter-interfaces; health-monitor {falling-threshold integer;interval seconds;rising-threshold integer;}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;rising-event-index index;rising-threshold integer;sample-type (absolute-value | delta-value);startup-alarm (falling-alarm | rising-alarm | rising-or-falling alarm);syslog-subtag syslog-subtag;variable oid-variable;}event index {community community-name;description description;type type;}history history-index {bucket-size number;interface interface-name;interval seconds;owner owner-name;}}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 routing-instance-name;targets {address;}version (all | v1 | v2);}trap-options {agent-address outgoing-interface;source-address address;}v3 {notify name {tag tag-name;type trap;}notify-filter profile-name {oid object-identifier (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;logical-system logical-system;port port-number;retry-count number;routing-instance routing-instance-name;tag-list tag-list;target-parameters target-parameters-name;timeout seconds;}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-sha {authentication-password authentication-password;}authentication-md5 {authentication-password authentication-password;}authentication-none;privacy-aes128 {privacy-password privacy-password;}privacy-des {privacy-password privacy-password;}privacy-3des {privacy-password privacy-password;}privacy-none;}}remote-engine engine-id {user username {authentication-sha {authentication-password authentication-password;}authentication-md5 {authentication-password authentication-password;}authentication-none;privacy-aes128 {privacy-password privacy-password;}privacy-des {privacy-password privacy-password;}privacy-3des {privacy-password privacy-password;}privacy-none {privacy-password privacy-password;}}}}vacm {access {group group-name {(default-context-prefix | context-prefix 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;}}}}}view view-name {oid object-identifier (include | exclude);}}
}

Hierarchy Level

[edit]

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

Configure SNMP.

The remaining statements are explained separately.

Required Privilege Level

snmp—To view this statement in the configuration.
snmp–control—To add this statement to the configuration.

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23