Siemens S323, S223 Snmp Com2sec, Snmp Group, Following is an example of configuring Snmp com2sec

Models: S323 S223

1 381
Download 381 pages 49.11 Kb
Page 106
Image 106

UMN:CLI

User Manual

 

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

7.1.3SNMP 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

 

 

 

 

 

Specifies the mapping from the identity of the host and

snmp com2sec SECURITY

 

community name to security name, enter security and

{IP-ADDRESS IP-ADDRESS/M}

 

community name.

COMMUNITY

Global

SECURITY: security name

 

COMMUNITY: community name

 

 

 

 

 

 

 

Deletes a specified security name, enter the security

no snmp com2sec SECURITY

 

name.

 

 

SECURITY: security name

 

 

 

show snmp com2sec

Enable

Shows a specified security name.

Global

 

 

 

 

 

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.4SNMP 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

 

Creates SNMP group, enter the group name.

 

GROUP: group name

v3} SECURITY

 

Global

SECURITY: security name

 

 

 

 

no snmp group GROUP {v1 v2c

 

Deletes SNMP group, enter the group name.

v3} SECURITY

 

GROUP: group name

 

 

 

show snmp group

Enable

Shows a created SNMP group.

Global

 

 

 

 

 

106

A50010-Y3-C150-2-7619

Page 106
Image 106
Siemens S323 Snmp Com2sec, Snmp Group, Following is an example of configuring Snmp com2sec, 106 A50010-Y3-C150-2-7619