then (Event Policy)
语法
then { change-configuration { commands { "command"; } commit-options { check <synchronize>; force; log "comment-string"; synchronize; } retry count number interval seconds; user-name username; } event-script filename { arguments { argument-name argument-value; } destination destination-name { retry-count count retry-interval seconds; transfer-delay seconds; } output-filename filename; output-format (text | xml); user-name username; } execute-commands { commands { "command"; } destination destination-name { retry-count count retry-interval seconds; transfer-delay seconds; } output-filename filename; output-format (text | xml); user-name username; } ignore; priority-override { facility facility-type; severity severity-level; } raise-trap; upload filename (filename | committed) destination destination-name { retry-count count retry-interval seconds; transfer-delay seconds; user-name username; } }
层次结构级别
[edit event-options policy policy-name]
所需权限级别
维护 - 在配置中查看或添加此语句。
发布信息
Junos OS 7.5 版中引入的语句。