71
DCS-3950 series Ethernet switch manual
Delete a group.
Switch (Config)#no snmp-server group Group AuthPriv
5.4.4.2.7 snmp-server view
Command: snmp-server view <view-string> <oid-string> {include|exclude}
no snmp-server view <view-string>
Function: View configurations can be updated with this command. If no is put in front of
this command, corresponding view configuration will be removed.
Command mode: Global Mode.
Parameter: <view-string> view name, containing 1-32 characters;
<oid-string>is OID number or corresponding node name, containing 1-255 characters.
include|exclude , include/exclude this OID
Usage Guide: The command supports not only the input using the character string of the
variable OID as parameter. But also supports the input using the node name of the
parameter
Example: Create a view, the name is readview, including iso node but not including the
iso.3 node.
Switch (Config)#snmp-server view readview iso include
Switch (Config)#snmp-server view readview iso.3 exclude
Delete the view.
Switch (Config)#no snmp-server view readview
5.4.4.2.8 snmp-server host
Command:snmp-server host <host-address> {v1|v2c|{v3
{NoauthNopriv|AuthNopriv | AuthPriv}}} <user-string>
no snmp-server host <host-address> {v1|v2c|{v3
{NoauthNopriv|AuthNopriv |AuthPriv}}} <user-string>
Function: For v1 and v2c version, the IP address of the SNMP management station
which receives the Trap messages and the Trap community string should be configured.
For v3 version, the IP address of the SNMP server, and the user name and the security
level should be configured. If no is put in front of this command, this command will be
removed.
Command mode: Global Mode
Parameters: <host-addr> is the ip address of the NMS workstation which receives the
Trap messages. V1|v2c|v3 is the version number to be used by the Trap messages.
Noauth|Nopriv|AuthNopriv|AuthPriv is the security level for trap messages of version
v3. <user-string> is the community string for Trap messages of v1/v2c version. For the
version of v3, it is the user name.
Usage Guide: The community string for Trap messages configured by this command is
used as the default community string for RMON events. If no community strings are
configured for the RMON events, community string configured by this command will be
used. Otherwise, community string of RMON will be used for RMON Trap messages.