C
HAPTER
26
| SNMP Commands
– 346 –
EXAMPLE
SNMP>engine id 800007e5017f000005
Changing Engine ID will clear all original local users
SNMP>
snmp community
add
This command adds or modifies an SNMPv3 community entry.
SYNTAX
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
snmp trap security name command, page 345), and are mapped as
an SNMPv1 or SNMPv2 community string in the SNMPv3 groups
table (see snmp group add command, page 350).
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
SNMP/Community>add r&d 192.168.2.19 255.255.255.0
SNMP/Community>
snmp community
delete
This command deletes an SNMPv3 community entry.
SYNTAX
snmp community delete index
index - Index to SNMP community table. (Range: 1-64)