snmp-agent trap enable feature-name bgp命令用来打开BGP模块的告警开关。
undo snmp-agent trap enable feature-name bgp命令关闭BGP模块的告警开关。
缺省情况下,BGP模块的告警开关处于关闭状态。
snmp-agent trap enable feature-name bgp [ trap-name { backward | established | grstatuschange | hwbackward | hwestablished | routethresholdclear | routethresholdexceed | hwbgproutethresholdclear | hwbgproutethresholdexceed | hwbgproutemaxclear | hwbgproutemaxexceed } ]
undo snmp-agent trap enable feature-name bgp [ trap-name { backward | established | grstatuschange | hwbackward | hwestablished | routethresholdclear | routethresholdexceed | hwbgproutethresholdclear | hwbgproutethresholdexceed | hwbgproutemaxclear | hwbgproutemaxexceed } ]
| 参数 | 参数说明 | 取值 |
|---|---|---|
| trap-name | 打开指定类型事件的告警开关。 | - |
| backward | 打开BGP邻居断开连接的告警开关。 | - |
| established | 打开BGP邻居处于Established状态的告警开关。 | - |
| grstatuschange | 打开BGP GR状态变化的告警开关。 | - |
| hwbackward | 打开BGP邻居断开连接的告警开关。 | - |
| hwestablished | 打开BGP邻居处于Established状态的告警开关。 | - |
| routethresholdclear | 打开BGP路由数量降低到告警门限值以下的告警开关。 | - |
| routethresholdexceed | 打开BGP路由数量超过告警门限值的告警开关。 | - |
| hwbgproutethresholdclear | 打开BGP路由数量降低到告警阈值下限值以下的告警开关。 | - |
| hwbgproutethresholdexceed | 打开BGP路由数量超过告警阈值上限值的告警开关。 | - |
| hwbgproutemaxclear | 打开BGP路由数量降低到最大值下限的告警开关。 | - |
| hwbgproutemaxexceed | 打开BGP路由数量超过最大值上限的告警开关。 | - |