C
HAPTER
26
| SNMP Commands
– 338 –
COMMAND USAGE
To manage the switch through SNMP, you must first enable the protocol
and configure the basic access parameters.
EXAMPLE
SNMP>mode enable
SNMP>
snmp version This command displays or sets the SNMP protocol version.
SYNTAX
snmp version [1 | 2c | 3]
1 - SNMP version 1.
2c - SNMP version 2c.
3 - SNMP version 3.
DEFAULT SETTING
Displays current SNMP version.
EXAMPLE
SNMP>version 3
SNMP>
snmp read
community
This command displays or sets the community string for SNMP read access.
SYNTAX
snmp read community [community]
community - The community string used for read-only access to the
SNMP agent. (Range: 0-255 characters, ASCII characters 33-126
only)
DEFAULT SETTING
public
COMMAND USAGE
This parameter only applies to SNMPv1 and SNMPv2c. SNMPv3 uses the
User-based Security Model (USM) for authentication and privacy. This
community string is associated with SNMPv1 or SNMPv2 clients in the
SNMPv3 communities table (see the snmp community lookup command on
page 347).