378 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
Parameter
groupname: Group name, ranging from 1 to 32 bytes.
Description
Use the display snmp-agent group command to display group name, safe
mode, state of various views and storage modes.
Example
Display SNMP group name and safe mode.
<SW4500>display snmp-agent group
groupname: public
Security model: v2c noAuthnoPriv
readview:v1default
writeview: no writeview specified
notifyview: *tv.FFFFFFFF
storage-type: volatile
The following table describes the output fields.
display snmp-agent
mib-view
Syntax
display snmp-agent mib-view [ exclude | include | viewname mib-view ]
View
All views
Parameter
exclude: Display the SNMP mib view excluded.
include: Display the SNMP mib view included.
viewname: Display the SNMP mib view according to the mib view name.
mib-view: Specify the mib view name.
Description
The display snmp-agent mib-view command is used to view the MIB view
configuration information of the Switch.
Example
Display the information about the currently configured MIB view.
Tabl e 38 Output description of the display snmp-agent group command
Field Description
groupname SNMP Group name of the user
Security model The security model adopted by SNMP
readview Read-only MIB view name corresponding to that group
writeview Writable MIB view corresponding to that group
notifyview The name of the notify MIB view corresponding to that group
storage-type Storage type