v56dwz,H3C路由器
问题描述:
H3c是否有和思科一样的EEM触发系统日志,满足条件则自动执行命令。
思科类似配置,当接口down后,会执行相关命令。请大佬指点H3c若实现此功能如何实现
event manager applet interface_Shutdown event syslog pattern "Interface GigabitEthernet8, changed state to down" action 1.0 cli command "enable" action 1.5 cli command "config t" action 2.0 cli command "interface GigabitEthernet8" action 2.5 cli command "no shutdown" action 3.0 cli command "speed 100" action 3.5 cli command "duplex full" action 4.0 cli command "end" action 4.5 cli command "exit"
组网及组网描述:
那就是结合EAA联动之类的操作,下面是联动的类似的案例,可以参考下
1、配置track项track MSR上行口g0/0的物理状态
track 1 interface GigabitEthernet0/0 physical
2、配置EAA策略使上行口down的时候,下行口g0/2跟着down
rtm cli-policy test
event track 1 state negative
action 1 cli system-view
action 2 cli interface g0/2
action 3 cli shutdown running-time 30000000
user-role network-admin
3、配置EAA策略使上行口UP的时候,下行口g0/2跟着UP
rtm cli-policy test1
event track 1 state positive
action 1 cli system-view
action 2 cli interface g0/2
action 3 cli undo shutdown running-time 30000000
user-role network-admin
source ip 1.1.1.2
#
#
rtm cli-policy dzm
event snmp-notification oid 1.3.6.1.4.1.25506.8.3.1.13.1.11.4.115.117.115.117.1.49.1 oid-val 2 op eq
action 0 cli system
action 1 cli int loopback1
action 2 cli shut
user-role network-admin
user-role level-15
23小时前回答暂无
1、有的,H3C的叫做EAA(Embedded Automation Architecture,嵌入式自动化架构)是集成在系统软件中的一系列相关软件模块的总称
2、参考配置文档:
https://www.h3c.com/cn/d_
暂无
你正在,H3C路由器