To configure SNMP, you include statements at the [edit snmp] hierarchy level of the configuration.
snmp {
description description;
location location;
contact contact;
interface [ interface-names ];
community community-name {
authorization authorization;
clients {
default restrict;
address <restrict>;
}
}
trap-group group-name {
categories category;
targets {
address;
}
version version;
}
traceoptions {
file <files number> <size size>;
flag flag <disable>;
}
}
This section describes the minimum required configuration and discusses the following tasks for configuring SNMP: