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 Topics