36
3. Set up SNMP trap types that will be sent.
Trap-type command
Parameter
Description
ICPE(config)# snmp-server
trap-type [all |auth-fail | cold-
start | port-link | power-down |
warm-start]
[all |auth-fail |
cold-start |
battery-mode
| port-link |
power-down |
warm-start]
Specify the trap type that will be sent when a
certain situation occurs.
all:
A trap will be sent when authentication fails,
the device cold /warm starts, port link is up or
down, power is down.
auth-fail:
A trap will be sent when any
unauthorized user attempts to login.
cold-start:
A trap will be sent when the device
boots up.
battery-mode:
Enable the SNMP trap.
port-link:
A trap will be sent when the link is up
or down.
power-down:
A trap will be sent when the
device’s power is down.
warm-start:
A trap will be sent when the device
restarts.
No command
ICPE(config)# no snmp-server trap-type auth-
fail
Authentication failure trap will not be sent.
Show command
ICPE(config)# show snmp-server trap-type
Show the current enable/disable status of each
type of trap.
Trap-type example
ICPE(config)# snmp-server trap-type all
All types of SNMP traps will be sent.
2.5.13 Switch Command
Switch command
Description
ICPE(config)# switch statistics polling
Enable the Gateway Controller to refresh counter
information and current state in a fixed interval.
No command
ICPE(config)# no switch statistics polling
Disable the Gateway Controller to refresh counter
information and current state in a fixed interval.
2.5.14 Switch-info Command
Set up the Gateway Controller’s basic information including company name, hostname, system name,
etc..