Cisco Cisco ASA 5580 Adaptive Security Appliance プリント
15-39
思科 ASA 系列命令参考,S 命令
第 15 章 shun 至 snmp-server user-list 命令
snmp-server enable traps
snmp-server enable traps
要让
ASA 将陷阱发送到 NMS,请在全局配置模式下使用 snmp-server enable traps 命令。要禁用
陷阱,请使用此命令的
no 形式。
snmp-server enable traps
[all | syslog | snmp [trap] [...] | config | entity [trap] [...] | ipsec [trap]
[...] | ikev2 [trap] [...] | remote-access [trap] | connection-limit-reached | cpu threshold rising
| link-threshold | memory-threshold | nat [trap]
| link-threshold | memory-threshold | nat [trap]
no snmp-server enable traps [all | syslog | snmp [trap
] [...] | config | entity [trap] [...] | ipsec
[trap
] [...] | remote-access [trap] | connection-limit-reached | cpu threshold rising |
link-threshold | memory-threshold | nat [trap
]
语法说明
all
启用所有陷阱。
config
启用配置陷阱。
connection-limit-reached
启用达到连接限制陷阱。
cpu threshold rising
启用接近
CPU 阈值陷阱。
entity
[trap]
启用实体陷阱。
entity
的陷阱包括:
•
accelerator-temperature
•
chassis-fan-failure
•
chassis-temperature
•
config-change
•
cpu-temperature
•
fan-failure
•
fru-insert
•
fru-remove
•
power-supply
•
power-supply-failure
•
power-supply-presence
•
power-supply-temperature
ipsec
[trap]
启用
IPsec 陷阱。ipsec 的陷阱包括:
•
start
•
stop
ikev2
[trap]
启用
IKEv2 IPsec 陷阱。ikev2 的陷阱包括:
•
start
•
stop
link-threshold
启用达到链路阈值陷阱。
memory-threshold
启用达到内存阈值陷阱。
nat
[trap]
启用
NAT 相关的陷阱。nat 的陷阱包括:
•
packet-discard