
C
HAPTER
2
| Initial Switch Configuration
Basic Configuration
– 76 –
2.
To remove an existing string, simply type “no snmp-server community
string
,” where “string” is the community access string to remove. Press
<Enter>.
Console(config)#snmp-server community admin rw
Console(config)#snmp-server community private
Console(config)#
N
OTE
:
If you do not intend to support access to SNMP version 1 and 2c
clients, we recommend that you delete both of the default community
strings. If there are no community strings, then SNMP management access
from SNMP v1 and v2c clients is disabled.
T
RAP
R
ECEIVERS
You can also specify SNMP stations that are to receive traps from the
switch. To configure a trap receiver, use the “snmp-server host” command.
From the Privileged Exec level global configuration mode prompt, type:
“snmp-server host
host-address
community-string
[version {1 | 2c | 3 {auth | noauth | priv}}]”
where “host-address” is the IP address for the trap receiver, “community-
string” specifies access rights for a version 1/2c host, or is the user name
of a version 3 host, “version” indicates the SNMP client version, and “auth |
noauth | priv” means that authentication, no authentication, or
authentication and privacy is used for v3 clients. Then press <Enter>. For
a more detailed description of these parameters, see
. The following example creates a trap host for each type of
SNMP client.
Console(config)#snmp-server host 10.1.19.23 batman
Console(config)#snmp-server host 10.1.19.98 robin version 2c
Console(config)#snmp-server host 10.1.19.34 barbie version 3 auth
Console(config)#
C
ONFIGURING
A
CCESS
FOR
SNMP V
ERSION
3 C
LIENTS
To configure management access for SNMPv3 clients, you need to first
create a view that defines the portions of MIB that the client can read or
write, assign the view to a group, and then assign the user to a group. The
following example creates one view called “mib-2” that includes the entire
MIB-2 tree branch, and then another view that includes the IEEE 802.1d
bridge MIB. It assigns these respective read and read/write views to a
group call “r&d” and specifies group authentication via MD5 or SHA. In the
last step, it assigns a v3 user to this group, indicating that MD5 will be
Содержание DG-FS4526E
Страница 4: ...ABOUT THIS GUIDE 4...
Страница 34: ...CONTENTS 34...
Страница 50: ...TABLES 50...
Страница 52: ...SECTION I Getting Started 52...
Страница 62: ...CHAPTER 1 Introduction System Defaults 62...
Страница 80: ...CHAPTER 2 Initial Switch Configuration Managing System Files 80...
Страница 82: ...SECTION II Web Configuration 82...
Страница 100: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 100...
Страница 128: ...CHAPTER 4 Basic Management Tasks Resetting the System 128...
Страница 166: ...CHAPTER 5 Interface Configuration VLAN Trunking 166...
Страница 198: ...CHAPTER 6 VLAN Configuration Configuring VLAN Mirroring 198...
Страница 516: ...CHAPTER 17 IP Services Displaying the DNS Cache 516...
Страница 562: ...CHAPTER 19 Using the Command Line Interface CLI Command Groups 562...
Страница 652: ...CHAPTER 22 SNMP Commands 652...
Страница 660: ...CHAPTER 23 Remote Monitoring Commands 660...
Страница 714: ...CHAPTER 24 Authentication Commands Management IP Filter 714...
Страница 802: ...CHAPTER 27 Interface Commands 802...
Страница 824: ...CHAPTER 29 Port Mirroring Commands RSPAN Mirroring Commands 824...
Страница 846: ...CHAPTER 32 Address Table Commands 846...
Страница 874: ...CHAPTER 33 Spanning Tree Commands 874...
Страница 886: ...CHAPTER 34 ERPS Commands 886...
Страница 928: ...CHAPTER 35 VLAN Commands Configuring Voice VLANs 928...
Страница 942: ...CHAPTER 36 Class of Service Commands Priority Commands Layer 3 and 4 942...
Страница 998: ...CHAPTER 38 Multicast Filtering Commands Multicast VLAN Registration 998...
Страница 1022: ...CHAPTER 39 LLDP Commands 1022...
Страница 1064: ...CHAPTER 40 CFM Commands 1064...
Страница 1084: ...CHAPTER 42 Domain Name Service Commands 1084...
Страница 1090: ...CHAPTER 43 DHCP Commands DHCP Client 1090...
Страница 1122: ...CHAPTER 44 IP Interface Commands IPv6 Interface 1122...
Страница 1124: ...SECTION IV Appendices 1124...
Страница 1129: ...APPENDIX A Software Specifications Management Information Bases 1129 Trap RFC 1215 UDP MIB RFC 2013...
Страница 1130: ...APPENDIX A Software Specifications Management Information Bases 1130...
Страница 1152: ...COMMAND LIST 1152...
Страница 1161: ......
Страница 1162: ...DG FS4526E 042012 HW R01...