SNMP C
OMMANDS
4-141
Example
snmp-server community
This command defines the SNMP v1 and v2c community access string. Use
the
no
form to remove the specified community string.
Syntax
snmp-server community
string
[
ro
|
rw
]
no snmp-server community
string
•
string
- Community string that acts like a password and permits access
to the SNMP protocol. (Maximum length: 32 characters, case
sensitive; Maximum number of strings: 5)
•
ro
- Specifies read-only access. Authorized management stations are
only able to retrieve MIB objects.
•
rw
- Specifies read/write access. Authorized management stations are
able to both retrieve and modify MIB objects.
Console#show snmp
SNMP Agent: enabled
SNMP traps:
Authentication: enable
Link-up-down: enable
SNMP communities:
1. private, and the privilege is read-write
2. public, and the privilege is read-only
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
0 SNMP packets output
0 Too big errors
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
0 Trap PDUs
SNMP logging: disabled
Console#
Содержание 8724ML3 - annexe 1
Страница 2: ......
Страница 26: ...TABLE OF CONTENTS xxvi ...
Страница 64: ...MANAGING SYSTEM FILES 2 18 ...
Страница 366: ...CONFIGURING THE SWITCH 3 302 Web Click Routing Protocol RIP Statistics Figure 3 132 RIP Statistics ...
Страница 400: ...CONFIGURING THE SWITCH 3 336 ...
Страница 798: ...SOFTWARE SPECIFICATIONS A 6 ...
Страница 802: ...TROUBLESHOOTING B 4 ...
Страница 812: ...GLOSSARY Glossary 10 ...
Страница 818: ...INDEX Index 6 ...
Страница 819: ......