Prepare the Device for Operation
Chapter 3. Configuration
34
Display Trap Status
To display the status of the traps, use the
trap list
command. It displays all traps
and lists their status as enabled or disabled.
At the
config>
prompt, enter this command:
snmp-server trap list
Example
config>
snmp-server trap list
generic disabled
login enabled
fanStatus enabled
IPSecPeer disabled
criticalError enabled
Disable SNMP Traps
The
no
parameter disables previously configured SNMP traps and trap host
destinations. To remove a trap configuration, precede the trap configuration
command with
no
.
At the
config>
prompt, enter the
no
parameter in front of the
snmp-server
command to be disabled:
no snmp-server trap {enable {all | criticalError | fanStatus |
generic | IPSecPeer | login} | host <ip address> {all |
criticalError | fanStatus | generic | IPSecPeer | login}
Example
This example disables the fanStatus trap and disables logon traps to
host 192.168.1.10:
config>
no snmp-server trap enable fanStatus
config>
no snmp-server trap host 192.168.1.10 login
Name the HA4000
To manage multiple HA4000 gateways from a single SMC, it is helpful to have
some basic housekeeping information about the SNMP agent in the HA4000, such
as its name, location, and a contact person for the device.
Identify the HA4000 SNMP Agent
At the
config>
prompt, enter this command:
snmp-server {contact <
quoted_string
>| location <
quoted_string
>|
name <
quoted_string
>}
Quoted strings can contain spaces and alphanumeric characters and must be
enclosed in quotation marks. All arguments are case-sensitive. Table 3-2 lists the
the
snmp-server
command parameters that use the
quoted_string
identifier.