UMN:CLI User Manual
V5808
142
7.1.4 Assigning IP Address of SNMP Agent
If SNMP agent has several IP addresses, SNMP carries the information through the best
suited path (IP address) when SNMP administrator requests for information. It means that
SNMP administrator can be received the information from a different IP address which
was not actually a given IP address before. To assign IP address of SNMP agent, use the
following command.
snmp agent-address A.B.C.D
Assigns an IP address of SNMP agent.
Deletes the configured IP address of
SNMP agent
To display IP address of SNMP agent, use the following command.
Shows an IP address of 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 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
Deletes a specified security name, enter the security
name.
SECURITY: 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
------------------------------------------------