Prepare the Device for Operation
Chapter 3. Configuration
32
Set Session Timer
A timer can be set to end a session after a specified interval of user inactivity with
the
session timer
command.
At the
config>
prompt, enter this command:
session timer cli <
number
>
where
number
is the number of minutes of inactivity.
For parameter details, go to “session” on page 81.
Example
This command sets the session timer to 20 minutes for the CLI:
config>
session timer cli 20
Configure SNMP
When enabled, the SNMP agent in the HA4000 sends traps to one or more SMCs in
the network that the traps can be viewed and monitored from.
Enable SNMP
By default, the HA4000 disregards SNMP requests. To enable SNMP, the read
community string must be defined. You can specify a community string for
read-only (ro) access and another for read/write (rw) access.
At the
config>
prompt, enter this command:
snmp-server community <
word
> {ro | rw}
where
word
is a text string of alphanumeric characters. Any printable character
is valid.
Example
This command defines a read-only community named
public
.
config>
snmp-server community public ro
Enable SNMP Traps
The HA4000 can send traps to multiple hosts. Specific trap types can be
configured for each host. This targeted reporting can be useful when there are
several SMCs that each monitor different types of network activity. Use the
snmp-server
command for these tasks.
To enable SNMP traps, specify the trap types to report, and then identify the IP
address of the SMC to receive these traps.
To send all traps to a host, specify
all
. Otherwise, select one or more of the trap
types to send. To specify more than one trap type, include them in a quoted string
or enter each individually. Trap types are case-sensitive. Table 3-1 lists the SNMP
trap types and their descriptions.