UMN:CLI
User Manual
V8102
148
no snmp group
GROUP
[{
v1
|
v2c
|
v3
} [
SECURITY
]]
Deletes SNMP group, enter the group name.
GROUP: group name
show snmp group
Enable
Global
Shows a created SNMP group.
7.1.7
SNMP View Record
You can create an SNMP view record to limit access to MIB objects with object identity
(OID) by an SNMP manager.
To configure an SNMP view record, use the following command.
Command
Mode
Description
snmp view
VIEW
{
included
|
excluded
}
OID
[
MASK
]
Global
Creates an SNMP view record.
VIEW: view record name
included: includes a sub-tree.
excluded: excludes a sub-tree.
OID: OID number
no snmp view
VIEW
[
OID
]
Deletes a created SNMP view record.
VIEW: view record name
To display a created SNMP view record, use the following command.
Command
Mode
Description
show snmp view
Enable
Global
Shows a created SNMP view record.
The following is an example of creating an SNMP view record.
SWITCH(config)#
snmp view
TEST
included
410
SWITCH(config)#
show snmp view
View List
ViewName
Type
SubTree / Mask
-------------------------------------------
TEST
included 410
SWITCH(config)#
7.1.8
Permission to Access SNMP View Record
To grant an SNMP group to access to a specific SNMP view record, use the following
command.
Command
Mode
Description
snmp access
GROUP
{
v1
|
v2c
}
READ-VIEW
WRITE-VIEW
NOTI-
FY-VIEW
Global
Grants an SNMP group to access a specific SNMP
view record.
GROUP: group name
snmp access
GROUP
v3
{
no-
Grants an SNMP version 3 group to access a specific