[edit snmp] Hierarchy Level
snmp {
access {
context context-name {
description description;
group group-name {
model usm;
read-view view-name;
security-level (none | authentication | privacy);
write-view view-name;
}
}
group group-name {
model usm;
user [ user-names ];
}
user [ user-names ] {
authentication-password authentication-password;
authentication-type (none | md5 | sha};
privacy-password privacy-password;
privacy-type (none | des);
clients {
address restrict;
}
}
}
community community-name {
authorization authorization;
clients {
address restrict;
}
view view-name;
}
contact contact;
description description;
interface [ interface-name ];
location location;
name name;
traceoptions {
file size size files number;
flag flag;
}
engine-id {
local engine-id;
}
rmon {
alarm index {
description text-description;
falling-event-index index;
falling-threshold integer;
interval seconds;
rising-event-index index;
rising-threshold integer;
sample-type (absolute-value | delta-value);
startup-alarm (falling-alarm | rising-alarm | rising-or-falling-alarm;
variable oid-variable;
}
event index {
community community-name;
description text-description;
type type;
}
)
traceoptions {
file size size files number;
flag flag;
}
trap-group group-name {
categories category;
destination-port <port-number>;
targets {
address;
}
version version;
}
trap-options {
agent-address outgoing-interface;
source-address address;
}
view view-name;
oid object-identifier (include | exclude)
}
} # End of [edit snmp] hierarchy level