192
Command Line Interface
SNMP Commands
SNMP-server community
Specifies the community access string for SNMP protocol v1/v2c.
NOTE:
If the trans-tag is not an empty string, match the tag in the snmpTargetAddrTable
to search the snmpTargetParamsTable, then use the security name in the target-parameter
to set user authentication.
Command Mode:
Global Configuration
Syntax
[no] SNMP-server community <CommunityIndex> community-name <Communi-
tyName> sec-name <SecurityName> trans-tag <TransportTagName | none>
[context-name <Name>]
Description
■
<CommunityIndex>
- Sets the community access string for SNMP v1&v2c and it must
be unique for every SNMP community table. May be a string of up to 32 characters.
■
community-name <CommunityName>
- Sets the community name. May be a string
of up to 32 characters.
■
sec-name <SecurityName>
- Sets the security name.
■
trans-tag <TransportTagName | none>
- Sets the transport tag list name. If
the trans-tag is empty (none), it is ignored for matching.
■
[context-name <Name>]
- Sets the context name. The default value is also default
for the context name.
■
no SNMP-server community
- Disables the SNMP-server community command.
Example
!Sets SNMP community
Switch(config)#
SNMP-server community
1
community-name
com
sec-name
hello
trans-tag
x
Switch(config)#
!Disables SNMP community
Switch(config)#
no SNMP-server community
1
Switch(config)#
Summary of Contents for ZoneSwitch 4124
Page 2: ......
Page 64: ...50 Accessing the Switch Overview...
Page 168: ...154 Graphical User Interface POE...
Page 170: ...156 Command Line Interface RMON Commands 364 POE Commands 374 Configuration File Example 378...
Page 398: ...384 Safety and CE Regulations...
Page 409: ...395 Index Workspace 53 Z ZoneSwitch 4124 4 ZoneSwitch 4224 7...
Page 410: ...396 Index...