| SNMP Commands
C
26
HAPTER
snmp version
snmp read
community
C
U
OMMAND
SAGE
To manage the switch through SNMP, you must first enable the protocol
and configure the basic access parameters.
E
XAMPLE
SNMP>mode enable
SNMP>
This command displays or sets the SNMP protocol version.
S
YNTAX
snmp version [1 | 2c | 3]
1 - SNMP version 1.
2c - SNMP version 2c.
3 - SNMP version 3.
D
S
EFAULT
ETTING
Displays current SNMP version.
E
XAMPLE
SNMP>version 3
SNMP>
This command displays or sets the community string for SNMP read access.
S
YNTAX
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)
D
S
EFAULT
ETTING
public
C
U
OMMAND
SAGE
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
page
343).
– 334 –
snmp community lookup
command on