Siemens S223 Information of Snmp Agent, Following is an example of creating 2 Snmp communities

Models: S323 S223

1 381
Download 381 pages 49.11 Kb
Page 105
Image 105

User Manual

UMN:CLI

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

 

 

To display a configured SNMP community, use the following command.

Command

Mode

Description

 

 

 

show snmp community

Enable

Shows a created SNMP community.

Global

 

 

 

 

 

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.2Information 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

Global

Sets an IP address of SNMP agent.

 

 

no snmp contact

Deletes specified basic information for

 

 

 

no snmp location

 

 

each item.

 

 

no snmp agent-address IP-ADDRESS

 

 

 

 

 

 

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

Enable

Shows a name of administrator.

 

 

show snmp location

Shows a location of SNMP agent.

Global

 

 

show snmp agent-address

Shows an IP address of SNMP agent.

 

 

 

 

A50010-Y3-C150-2-7619

105

Page 105
Image 105
Siemens S223 Information of Snmp Agent, Following is an example of creating 2 Snmp communities, A50010-Y3-C150-2-7619 105