user-name
Syntax
user-name username;
Hierarchy Level
[edit
event-options policy
policy-name
then event-script
filename],
[edit
event-options policy
policy-name
then execute-commands
],
[edit
event-options policy
policy-name
then upload
filename (filename | committed)
destination destination-name]
Release Information
Statement introduced in Junos OS Release 8.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Associate a user with an action in an event policy. The event policy action is executed
under the privileges of the associated user.
Default
If you do not associate a user with an action, the action is executed as user
root
.
Options
username
—A username that is configured at the
[edit system login]
hierarchy level.
Required Privilege
Level
maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.
Related
Documentation
•
Changing the User Privilege Level for an Event Policy Action
within
Syntax
within seconds {
events
[ events ];
not
events [ events ];
trigger
(after | on | until) event-count;
}
Hierarchy Level
[edit
event-options policy
policy-name]
Release Information
Statement introduced in Junos OS Release 7.5.
Description
Create a list of events that must (or must not) occur within a specified time interval for
the policy to be triggered.
The statements are explained separately.
Options
seconds
—Interval between events.
Range:
60 through 604,800 seconds
Required Privilege
Level
maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.
Related
Documentation
•
Using Correlated Events to Trigger an Event Policy
719
Copyright © 2010, Juniper Networks, Inc.
Chapter 41: Configuration Statements for System Monitoring
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...