16 snmp-server group, 17 snmp-server host, 16 snmp-server group -92 – PLANET XGS3-24042 User Manual

Page 92: 17 snmp-server host -92

Advertising
background image

XGS3 Command Guide

1-92

1.4.16 snmp-server group

Command:

snmp-server group <group-string> {NoauthNopriv | AuthNopriv | AuthPriv} [[read <read-string>] [write

<write-string>] [notify <notify-string>]] [access {<num-std>|<name>}] [ipv6-access

{<ipv6-num-std>|<ipv6-name>}]

no snmp-server group <group-string> {NoauthNopriv | AuthNopriv | AuthPriv} [access {<num-std>|<name>}]

[ipv6-access {<ipv6-num-std>|<ipv6-name>}]

Function:

This command is used to configure a new group; the “no” form of this command deletes this group.

Command Mode:

Global Mode

Parameter:

<group-string> group name which includes 1-32 characters

NoauthNopriv Applies the non recognizing and non encrypting safety level

AuthNopriv Applies the recognizing but non encrypting safety level

AuthPriv Applies the recognizing and encrypting safety level

read-string Name of readable view which includes 1-32 characters

write-string Name of writable view which includes 1-32 characters

notify-string Name of trappable view which includes 1-32 characters

<num-std> is the access-class number for standard numeric ACL, ranging between 1-99;

<name> is the access-class name for standard ACL, the character string length is ranging between 1-32;

<ipv6-num-std> is the access-class number for standard numeric IPv6 ACL, ranging between 500-599;

<name> is the access-class name for standard IPv6 ACL, the character string length is ranging between 1-32.

Usage Guide:

There is a default view “v1defaultviewname” in the system. It is recommended to use this view as the view name of

the notification. If the read or write view name is empty, corresponding operation will be disabled.

Example:

Create a group CompanyGroup, with the safety level of recognizing andencrypting, the read viewname isreadview,

and the writing is disabled.

Switch (config)#snmp-server group CompanyGroup AuthPriv read readview

deletet group

Switch (config)#no snmp-server group CompanyGroup AuthPriv

1.4.17 snmp-server host

Command:

snmp-server host { <host-ipv4-address> | <host-ipv6-address> } {v1 | v2c | {v3 {NoauthNopriv | AuthNopriv |

Advertising
This manual is related to the following products: