set event-options policy Move_to_Second_ISP then change-configuration commands "delete routing-options static route 0.0.0.0/0 next-hop 192.168.12.2" #指定触发事件时 变更的配置命令 set event-options policy Move_to_Second_ISP then change-configuration commands "set routing-options static route 0.0....
NTP服务器设置参考:set system ntp server ntp1.aliyun.com 以下配置为设置防火墙在北京时间每天00:15关机 set event-options generate-event shutdowndaily-id404time-of-day"00:15:00 +0800"set event-options policy shutdown-srx100 events shutdowndaily-id404 set event-options policy shutdown-srx100then...
同时也可以通过event-options监测pppoe接口,发现接口down后自动重连 set system syslogfilesyslog-event-daemon-warning-id404 any any set system syslogfilesyslog-event-daemon-warning-id404 match"SNMP_TRAP_LINK_DOWN|SNMP_TRAP_LINK_UP|ifOperStatus"set event-options policy reconnect-pppoe-id404 events snmp_...
"delete routing-options static route 23.1.1.0/24 next-hop 12.1.1.2"; "set routing-options static route 23.1.1.0/24 next-hop 12.1.1.3"; "deactivate event-options policy ping-fail"; "activate event-options policy ping-success"; } user-name lab; commit-options { log "ping fail change is ...
set event-options policy init-chk-1 attributes-match system.message matches "Host 0 Boot from backup root" set event-options policy init-chk-1 then execute-commands commands "request system snapshot media internal slice alternate" SRX:
"set routing-options static route 23.1.1.0/24 next-hop 12.1.1.2"; "delete routing-options static route 23.1.1.0/24 next-hop 12.1.1.3"; "deactivate event-options policy ping-success"; "activate event-options policy ping-fail"; } user-name lab; ...
在条件判断语句from/then语句里面,一般使用逻辑and判断,但若设计到ruote-filter时,则在route-filter内部使用逻辑or判断,且它会遵循最长条目匹配进行判断,无论符合与否,只会判断一次,如下所示:policy-options policy-statement策略名 {term term名 from{ route-filter 192.16 ...
{ actions ; } } } 一个策略可以包含多个term policy-options { policy-statement policy-name { term term-name Juniper 路由器操作及维护手册 内部使用 BMCCIDC-QPM-TM021 第 17 页共 46 页 版本1 修订1 中国移动通信集团北京有限公司 { from { match-conditions ; } then { actions ; } } term ...
> policy-options Routing policy option configuration 1. 复制 > protocols Routing protocol configuration 1. 复制 > routing-instances Routing instance configuration 1. 复制 > routing-options Protocol-independent routing option configuration 1. 复制
梳理JuniperJUNOS模拟器配置轻松浏览并查找文件 梳理Juniper JUNOS模拟器配置轻松浏览 并查找文件