Siemens S323 User Manual

Page of 381
User Manual                                                                               UMN:CLI 
SURPASS hiD 6615 S223/S323 R1.5 
A50010-Y3-C150-2-7619                                                                         105 
To display a configured SNMP community, use the following command. 
Command Mode 
Description 
show snmp community 
Enable 
Global 
Shows a created SNMP community. 
 
The following is an example of creating 2 SNMP communities. 
SWITCH(config)# snmp community ro public 
SWITCH(config)# snmp community rw private 
SWITCH(config)# show snmp community 
Community List 
Type Community 
Source 
OID 
----------------------------------------------- 
ro public 
rw private 
SWITCH(config)# 
 
7.1.2 
Information of SNMP Agent 
You can specify basic information of SNMP agent as administrator, location, and address 
that confirm its own identity. 
To set basic information of SNMP agent, use the following command. 
Command Mode 
Description 
snmp contact
 NAME 
Sets a name of administrator. 
snmp location
 LOCATION 
Sets a location of SNMP agent. 
snmp agent-address
 IP-ADDRESS 
Sets an IP address of SNMP agent. 
no snmp contact 
no snmp location 
no snmp agent-address
 IP-ADDRESS 
Global 
Deletes specified basic information for 
each item. 
 
The following is an example of specifying basic information of SNMP agent. 
SWITCH(config)# snmp contact Brad 
SWITCH(config)# snmp location Germany 
SWITCH(config)# 
 
To display basic information of SNMP agent, use the following command. 
Command Mode 
Description 
show snmp contact 
Shows a name of administrator. 
show snmp location 
Shows a location of SNMP agent. 
show snmp agent-address 
Enable 
Global 
Shows an IP address of SNMP agent.