SNMP Commands
4-99
4
snmp-server group
This command adds an SNMP group, mapping SNMP users to SNMP views. Use
the
no
form to remove an SNMP group.
Syntax
snmp-server group
groupname
{
v1
|
v2c
|
v3
{
auth
|
noauth
|
priv
}}
[
read
readview
] [
write
writeview
] [
notify
notifyview
]
no snmp-server group
groupname
• groupname -
Name of an SNMP group. (Range: 1-32 characters)
•
v1
|
v2c
|
v3
- Use SNMP version 1, 2c or 3.
•
auth
|
noauth
|
priv
- This group uses SNMPv3 with authentication, no
authentication, or with authentication and privacy. See ?$paratext>? on
page 3-49 for further information about these authentication and encryption
options.
•
readview
- Defines the view for read access. (1-64 characters)
•
writeview
- Defines the view for write access. (1-64 characters)
•
notifyview
- Defines the view for notifications. (1-64 characters)
Default Setting
• Default groups: public
22
(read only), private
23
(read/write)
•
readview
- Every object belonging to the Internet OID space (1.3.6.1).
• writeview - Nothing is defined.
•
notifyview
- Nothing is defined.
Command Mode
Global Configuration
Command Usage
• A group sets the access policy for the assigned users.
• When authentication is selected, the MD5 or SHA algorithm is used as
specified in the
snmp-server user
command.
• When privacy is selected, the DES 56-bit algorithm is used for data encryption.
• Note that the authentication, link-up and link-down messages are legacy traps
and must therefore be enabled in conjunction with the
snmp-server enable
traps
command (page 4-95).
Example
22. No view is defined.
23. Maps to the defaultview.
Console(config)#snmp-server group r&d v3 auth write daily
Console(config)#
Содержание 6152PL2 FICHE
Страница 2: ......
Страница 6: ...vi ...
Страница 8: ...viii ...
Страница 32: ...Tables xxxii ...
Страница 38: ...Figures xxxviii ...
Страница 56: ...Initial Configuration 2 10 2 ...
Страница 378: ...Configuring the Switch 3 322 3 ...
Страница 651: ...Address Table Commands 4 273 4 Example Console show mac address table aging time Aging time 100 sec Console ...
Страница 817: ......
Страница 818: ...SMC6128PL2 SMC6152PL2 149100000007A R01 ...