176
SNMP Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\SNMP.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
Syntax
snmp-server set
variable-name
name value
[
name2 value2
...]
Parameters
•
variable-name
—Specifies the SNMP MIB variable name, which must be a
valid string.
•
name value
—Specifies a list of name and value pairs. Each name and
value must be a valid string. In the case of scalar MIBs, there is only a
single name-value pair. In the case of an entry in a table, there is at least
one name-value pair, followed by one or more fields.
Command Mode
Global Configuration mode
User Guidelines
Although the CLI can set any required configuration, there might be a
situation where an SNMP user sets a MIB variable that does not have an
equivalent command. To generate configuration files that support those
situations, use the
snmp-server set
command.
Example
The following example configures the scalar MIB sysName with the value
TechSupp.
Console(config)#
snmp-server set
sysName sysname TechSupp
show snmp
Use the
show snmp
Privileged EXEC mode command to display the SNMP
status.
Syntax
show snmp
Command Mode
Privileged EXEC mode