SeansSwitch

(enable) set

port speed

?

<mod/port>

 

Module

number and Port number(s)

SeansSwitch

(enable) set

port speed 2/1 ?

auto

 

Set speed to auto

<port_speed>

Port speed (4, 10, 16, 100 or 1000)

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>

Module number and Port number(s)

SeansSwitch

(enable) set port duplex 2/1

?

full

Full duplex

 

half

Half duplex

 

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.

46

Page 62
Image 62
Cisco Systems RJ-45-to-AUX manual Enabling Snmp, Configuring Trap Message Targets