User guide
set snmpauth
Chapter 2 Command Descriptions 205
Configure access for two IP addresses
This example requires three commands:
• The first removes the default entry from the snmpauth table, which
changes the default setting from unrestricted access to no access.
• The second and third commands restore access for the IP addresses
specified. Note that if “mask” is not specified with “ip,” the mask defaults
to 255.255.255.255.
remove snmpauth range=1
set snmpauth ip=199.22.33.4
set snmpauth ip=199.22.33.8
Use the mask field to extend the command
In this example, the command allows access for all IP addresses in the
range of 199.150.150.1 to 199.150.150.255
set snmpauth ip=199.150.150.33 mask=255.255.255.0
See also
• "set snmpauth" on page 204 for information on setting snmp
communities.
• "remove" on page 77. The “remove snmpauth” command removes an
an snmpauth table entry.
• "revert" on page 79. The “revert network” command reverts the settings
configured by this command.