User Manual UMN:CLI
V8102
147
Shows the name of the administrator.
Shows the location of the SNMP agent.
Shows the IP address of the SNMP agent.
7.1.5 SNMP Com2sec
SNMP v2 authorizes the host to access the agent according to the identity of the host and
community name. The com2sec command 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.
snmp com2sec COM2SEC
{A.B.C.D | A.B.C.D/M} COMMU-
NITY
Specifies the mapping from the identity of the host and
community name to security name, enter security and
community name.
COM2SEC: com2sec name
COMMUNITY: community name
snmp com2sec COM2SEC ipv6
{X:X::X:X | X:X::X:X/M} COMMU-
NITY
Deletes a specified security name, enter the security
name.
COM2SEC: security name
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
------------------------------------------------
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 be-
longs 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