3Com 3CRUS2475 Plumbing Product User Manual


 
298 CHAPTER 19: SNMP COMMANDS
Parameters
variable-name — MIB variable name (Range 1-160 characters).
name value — List of name and value pairs. In the case of scalar MIBs,
only a single pair of name values. In the case of an entry in a table, at
least one pair of name and value followed by one or more fields
(Range 1-160 characters).
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
Although the CLI can set any required configuration, there might be a
situation where a SNMP user sets a MIB variable that does not have an
equivalent command. In order to generate configuration files that
support those situations, the snmp-server set command is used.
This command is case-sensitive.
Example
The following example configures the scalar MIB sysName with the value
3Com.
show snmp The show snmp Privileged EXEC mode command displays the SNMP
status.
Syntax
show snmp
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
Console(config)# snmp-server set sysName sysname 3Com