Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set snmp community
5-14 SNMP Configuration
set snmp community
Use this command to configure an SNMP community group.
Syntax
set snmp community community [securityname securityname] [context context
[transport transport] [volatile | nonvolatile]
Parameters
Defaults
If securityname is not specified, the community name will be used.
If context is not specified, access will be granted for the default context.
If transport tag is not specified, none will be applied.
If storage type is not specified, nonvolatile will be applied.
Mode
Switch command, read‐write.
Example
This example shows how to set an SNMP community name called “vip”
D2(su)->set snmp community vip
clear snmp community
Use this command to delete an SNMP community name.
Syntax
clear snmp community name
Parameters
community
Specifies a community group name. 
securityname 
securityname
(Optional) Specifies an SNMP security name to associate with this 
community.
context context
(Optional) Specifies a subset of management information this community 
will be allowed to access. Valid values are full or partial context names. To 
review all contexts configured for the device, use the show snmp context 
command as described in “
transport transport
(Optional) Specifies the set of transport endpoints from which SNMP 
request with this community name will be accepted. Makes a link to a 
target address table.
volatile | 
nonvolatile
(Optional) Specifies the storage type for these entries.
name
Specifies the SNMP community name to clear.