User Manual UMN:CLI
V5808
143
TEST 10.1.1.1 PUBLIC
SWITCH(config)#
7.1.6 SNMP Group
You can create an SNMP group that can access SNMP agent and its community that
belongs to a group.
To create an SNMP group, use the following command.
snmp group GROUP {v1 | v2c |
v3} SECURITY
Creates SNMP group, enter the group name.
GROUP: group name
SECURITY: security name
no snmp group GROUP [{v1 |
v2c | v3} [SECURITY]]
Deletes SNMP group, enter the group name.
GROUP: group name
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.
snmp view VIEW {included |
excluded} OID [MASK]
Creates an SNMP view record.
VIEW: view record name
included: includes a sub-tree.
excluded: excludes a sub-tree.
OID: OID number
Deletes a created SNMP view record.
VIEW: view record name
To display a created SNMP view record, use the following command.
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