724-746-5500 | blackbox.com
Page 168
Chapter 7: Command-Line Management
SNMP v1/v2c
Get Community Name:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2. Usage:
Use snmp-server community get command to specify and no snmp-server community get command to remove get community
name for SNMP.
3. Command Syntax:
snmp-server community get NAME
no snmp-server community get
NAME The get community name for SNMP.
4. Example:
The following example specifies get community name (name) for SNMP:
switch_a(config)#snmp-server community get name
switch_a(config)#
Set Community Name:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2. Usage:
Use snmp-server community set command to specify and no snmp-server community set command to remove set community
name for SNMP.
3. Command Syntax:
snmp-server community set NAME
no snmp-server community set
NAME The set community name for SNMP.
4. Example:
The following example specifies set community name (name) for SNMP:
switch_a(config)#snmp-server community set name
switch_a(config)#