snmp-server group
Creates user-defined groups for SNMPv1/v2c/v3 and configures read, write, and notify
permissions to access the MIB view.
Syntax
snmp-server group
groupname
{
v1
|
v2c
}
[
access
{
standard-ACL-id
|
ipv6
ipv6-ACL-name
}
]
[
notify
viewname
]
[
read
viewname
]
[
write
viewname
]
no snmp-server group
groupname
{
v1
|
v2c
}
[
access
{
standard-ACL-id
|
ipv6
ipv6-ACL-name
}
]
[
notify
viewname
]
[
read
viewname
]
[
write
viewname
]
snmp-server group
groupname
v3
{
auth
|
noauth
|
priv
}
[
access
{
standard-ACL-id
|
ipv6
ipv6-ACL-name
}
]
[
notify
viewname
]
[
read
viewname
]
[
write
viewname
]
no snmp-server group
groupname
v3
{
auth
|
noauth
|
priv
}
[
access
{
standard-ACL-id
|
ipv6
ipv6-ACL-name
}
]
[
notify
viewname
]
[
read
viewname
]
[
write
viewname
]
Command Default
Six default groups are supported to associate the default SNMPv3 user groups and the default SNMPv1/v2c community groups with the view configuration.
Note: This command is not used for SNMP version 1 and SNMP version 2. In these versions,
groups and group views are created internally using community strings. When a community
string is created, two groups are created, based on the community string name. One
group is for SNMP version 1 packets, while the other is for SNMP version 2 packets.
Parameters
- auth
- Specifies that only authenticated packets with no privacy are allowed to access the specified view. This parameter is available only for SNMPv3 user groups.
- noauth
- Specifies that no authentication and no privacy are required to access the specified view. This parameter is available only for SNMPv3 user groups.
- priv
- Specifies that authentication and privacy are required from the users to access the view. This parameter is available only for SNMPv3 user groups.
- standard-ACL-id
- Specifies the standard IP access list and allows the incoming SNMP packets to be filtered based on the standard ACL attached to the group.
- ipv6-ACL-name
- Specifies the IPv6 access list and allows incoming SNMP packets to be filtered based on the IPv6 ACL attached to the group.
- notify viewname
- Specifies the name of the view that enables you to provide access to the MIB for trap or inform. This allows the administrators to restrict the scope of varbind objects that will be part of the notification. All of the varbinds need to be in the included view for the notification to be created.
- write viewname
- Specifies the name of the view that enables you to provide both read and write access.
Modes
Global configuration mode
Usage Guidelines
Maximum number of SNMP groups supported is 10.
The
no form of the command removes the configured SNMP server group.
History
| Release version | Command history |
|---|---|
| 08.0.20a | The ipv6 ipv6-ACL-name keyword-argument pair was introduced. |