•
•
Step Description Command Keys
2 Specify community for the access via
SNMPv2c.
esr(config)# snmp-server
community <COMMUNITY>
[ <TYPE> ]
[ { <IP-ADDR> | <IPV6-ADDR> } ]
[ client-list <OBJ-GROUP-
NETWORK-NAME> ]
[ <VERSION> ] [ view <VIEW-
NAME> ] [ vrf <VRF> ]
<COMMUNITY> – community
for the access via SNMP;
<TYPE> – access level:
ro – read-only access;
rw – read and write
access.
<IP-ADDR> – IP address of the
client provided with the access,
defined as AAA.BBB.CCC.DDD
where each part takes values of
[0..255];
<IPV6-ADDR> – client IPv6
address, defined as X:X:X:X::X
where each part takes values in
hexadecimal format [0..FFFF];
<OBJ-GROUP-NETWORK-
NAME> – profile name of IP
addresses, from which snmp
requests are processing, set by
the string of up to 31
characters;
<VERSION> – the snmp version
supported by this community
takes the values v1 or v2c;
<VIEW-NAME> – SNMP view
profile name, set by the string
of up to 31 characters;
<VRF> – VRF instance name,
set by the string of up to 31
characters, for which access
will be granted.
3 Set the value of SNMP variable that
contains contact information
esr(config)# snmp-server contact
<CONTACT>
<CONTACT> – contact
information, sets by string with
255 characters length.
4 Set the DSCP code value for the use in
IP headers of SNMP server egress
packets (optionally).
esr(config)# snmp-server dscp
<DSCP>
<DSCP> – DSCP code value,
takes values in the range of
[0..63].
Default value: 63.
5 Enable router reboot by using snmp
messages (optionally)
esr(config)# snmp-server system-
shutdown