UMN:CLI User Manual
SURPASS hiD 6615 S223/S323 R1.5
106 A50010-Y3-C150-2-7619
7.1.3 SNMP
Com2sec
SNMP v2 authorizes the host to access the agent according to the identity of the host and
community name. The command,
com2sec
, specifies the mapping from the identity of
the host and community name to security name.
To configure an SNMP security name, use the following command.
Command Mode
Description
snmp com2sec
SECURITY
{
IP-ADDRESS
|
IP-ADDRESS/M
}
COMMUNITY
Specifies the mapping from the identity of the host and
community name to security name, enter security and
community name.
SECURITY: security name
COMMUNITY: community name
no snmp com2sec
SECURITY
Global
Deletes a specified security name, enter the security
name.
SECURITY: security name
show snmp com2sec
Enable
Global
Shows a specified security name.
The following is an example of configuring SNMP com2sec.
SWITCH(config)#
snmp com2sec
TEST 10.1.1.1 PUBLIC
SWITCH(config)#
show snmp com2sec
Com2Sec List
SecName Source Community
---------------------------------------
com2sec
TEST 10.1.1.1 PUBLIC
SWITCH(config)#
7.1.4 SNMP
Group
You can create an SNMP group that can access SNMP agent and its community that be-
longs to a group.
To create an SNMP group, use the following command.
Command Mode
Description
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
Global
Deletes SNMP group, enter the group name.
GROUP: group name
show snmp group
Enable
Global
Shows a created SNMP group.