Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    user-name

    Syntax

    user-name username;

    Hierarchy Level

    [edit event-options policy policy-name then change-configuration],[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.

    Support at the [edit event-options policy policy-name then change-configuration] hierarchy level introduced in Junos OS Release 12.1.

    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
    —

    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.

    Published: 2013-03-05