C
HAPTER
15
| Security Commands
SNMP Commands
– 338 –
EXAMPLE
Security/Switch/SNMP>engine id 800007e5017f000005
Changing Engine ID will clear all original local users
Security/Switch/SNMP>
security switch
snmp community
add
This command adds or modifies an SNMPv3 community entry.
SYNTAX
security switch snmp community add community [ip-address]
[address-mask]
community - Specifies the community strings which allow access to
the SNMP agent. (Range: 1-32 characters, ASCII characters 33-126
only)
For SNMPv3, these strings are treated as a security name (see the
security switch snmp trap security name command, page 337), and
are mapped as an SNMPv1 or SNMPv2 community string in the
SNMPv3 groups table (see security switch snmp group add
command, page 342).
ip-address - Specifies the source address of an SNMP client.
address-mask - Specifies the address mask for the SNMP client.
DEFAULT SETTING
public, private
COMMAND USAGE
◆ All community strings used to authorize access by SNMP v1 and v2c
clients should be listed in the SNMPv3 communities table. For security
reasons, you should consider removing the default strings.
◆ Add any new community strings required for SNMPv1 or v2 clients that
need to access the switch, along with the source address and address
mask for each client.
◆ Up to 64 community names can be configured.
EXAMPLE
Security/Switch/SNMP/Community>add r&d 192.168.2.19 255.255.255.0
Security/Switch/SNMP/Community>