Enabling Snmp; Configuring Trap Message Targets - Cisco RJ-45-to-AUX Brochure

Cisco switch brochure
Table of Contents

Advertisement

SeansSwitch (enable) set port speed ?
<mod/port>
SeansSwitch (enable) set port speed 2/1 ?
auto
<port_speed>
SeansSwitch (enable) set port speed 2/1−8 100
Ports 2/1−8 transmission speed set to 100Mbps.
SeansSwitch (enable)
To manually configure a line card port to full duplex, use the following command:
SeansSwitch (enable) set port duplex ?
<mod/port>
SeansSwitch (enable) set port duplex 2/1 ?
full
half
SeansSwitch (enable) set port duplex 2/1 full
Port(s) 2/1 set to full−duplex.
SeansSwitch (enable)
Note The possible syntaxes are full or half, representing full duplex or half duplex.

Enabling SNMP

SNMP is used by SNMP management stations to monitor network devices such as switches. By configuring
operating thresholds, you can configure SNMP to generate trap messages when changes or problems occur on
a switch.
There are three levels of access for configuring SNMP. The levels of access are defined by the information
configured on the switch; the accessing management station must abide by those given sets of rights. The
levels can be defined with community string configuration or by trap receivers, as follows:
Read−only—Allows management stations to read the SNMP information but make no configuration
changes.
Read−write—Allows management stations to set SNMP parameters on the switch with the exception
of community strings.
Read−write−all—Allows complete access to the switch. The SNMP management stations can alter
all information and community strings.
The following commands are examples of how to configure all three types of access and set the functions of
the SNMP management stations:
Console> (enable) set snmp community read−only public
SNMP read−only community string set to Ôpublic'.
Console> (enable) set snmp community read−write public2
SNMP read−write community string set to Ôpublic2'.
Console> (enable) set snmp community read−write−all public3
SNMP read−write−all community string set to Ôpublic3'.

Configuring Trap Message Targets

You can configure trap message receivers by specifying the IP address of each receiver and the access type
allowed. You must then enable SNMP traps, as shown here:
Console> (enable) set snmp trap 68.187.127.6 read−write−all
SNMP trap receiver added.
Console> (enable) set snmp trap 68.187.127.4 read−write
SNMP trap receiver added.
Console> (enable) set snmp trap enable all
All SNMP traps enabled.
Module number and Port number(s)
Set speed to auto
Port speed (4, 10, 16, 100 or 1000)
Module number and Port number(s)
Full duplex
Half duplex
46

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents