Trap Receivers - SMC Networks SMC8126L2 Management Manual

Tigerswitch 10/100/1000 26/50-port gigabit managed switch
Hide thumbs Also See for SMC8126L2:
Table of Contents

Advertisement

The default strings are:
• public - with read-only access. Authorized management stations are only able to
retrieve MIB objects.
• private - with read-write access. Authorized management stations are able to both
retrieve and modify MIB objects.
To prevent unauthorized access to the switch from SNMP version 1 or 2c clients, it is
recommended that you change the default community strings.
To configure a community string, complete the following steps:
1.
From the Privileged Exec level global configuration mode prompt, type
"snmp-server community string mode," where "string" is the community access
string and "mode" is rw (read/write) or ro (read only). Press <Enter>. (Note that
the default mode is read only.)
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)#
Note: 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.

Trap Receivers

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 "snmp-server host" on page 4-104. The following example creates a trap host
for each type of SNMP client.
Console(config)#snmp-server host 10.1.19.23 batman4-104
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)#
Basic Configuration
4-102
2
2-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smc8150l28126l28150l2

Table of Contents