Using "User" Comands in the Global Context | ||
---|---|---|
eqcli > user uname [cmds] | : | Create user uname (see below for cmds) |
eqcli > user uname cmds | : | Modify user uname (see below for cmds) |
eqcli > no user uname | : | Delete user uname |
eqcli > show user [uname] | : | Display all users or a specific user |
eqcli > user uname | : | Change to the "user-login" context (see below) |
"User" Context Comands | ||
---|---|---|
eqcli user-uname > alert alert name | : | Set a user alert. |
eqcli user-uname > duration seconds | : | Set the idle login timeout |
eqcli user-uname > flags {[!]admin, [!]read_global, [!]write_global |
: |
Administrator Read global settings Modify global settings |
eqcli user-uname > no duration | : | Set default duration (0) |
eqcli user-uname > no permit_object perm type object | : | Remove permission on object |
eqcli user-uname > no permit_objlist perm type objlist | : | Remove perm from objlist |
eqcli user-uname > password | : | Change user password |
eqcli user-uname > permit_object perm type object | : | Add permission on object |
eqcli user-uname > locale {[!]en, |
: |
To set English locale |
[!]ja} | : | To set Japanese locale |
eqcli user-uname > show | : | Display user settings |
User-Alert Context Commands | ||
---|---|---|
eqcli > user-uname-alertname > alert_type alert flags [!] exception [!] state_change |
: |
Set the alert type. Required. The alert flags specification must be enclosed by double quotes if there are any spaces. |
eqcli > user-uname-alertname > from email-address | : | Set the from email address. |
eqcli > user-uname-alertname > no smart_control |
: | Delete the specified smart control name(s) |
eqcli > user-uname-alertname > notify_type notify notify flags [!]email,[!]ui,[!]snmp,[!]syslog, [!]smartd |
: |
Set the alert notify flags. Required. The notify flags may be delimited by ',' or '|'.
WARNING: The notify flags specification must be enclosed by double quotes if there are any spaces. |
eqcli > user-uname-alertname > object fully-qualified object name | : |
Set the object fully-qualified object name. Required. The object name is the name of an object, existing in the configuration, for which this alert definition is to be applied. The 'fully-qualified object name' is a semi-colon delimited list describing the object hierarchy. For example, to set an alert for vlan vl01, subnet sn00, the user would specify: object vl01:sn00, and the object_type would be 'subnet'. For another example, to set an alert for peer eq-A, F/O Group fo_group1, the user would specify: object eq-A:fo_group1, and the object_type would be 'fogrp'.
Note: The last object name in the hierarchy may contain one or more wildcard (*) characters. For example, to configure an alert for all subnets of vlan vl01, specify: 'object vl01:*' Also, an object hierchary of 'vl01:sn*1' would configure alerts for subnets: sn1, sn01, sn11, etc. |
eqcli > user-uname-alertname > object_type object-type | : |
Set the object type. Required. Object type can be server, cluster, match, srvpool, si, resp, peer, vlan, subnet, geocluster, geosite, gsi, interface, user, certificate, crl, route, tunel, license, health_check, hci, vlb_manager, resource, ri, external_services, smtp_relay, fogrp |
eqcli > user-uname-alertname > quit | : | Discard all pending alert configuration changes and exit to the user context. |
eqcli > user-uname-alertname > show | : | Display the alert details. |
eqcli > user-uname-alertname > smart_control name | : | Add one or more smart_control objects to the alert where 'name' is the name of a single smart_control name, or a comma-separated list of smart_control names |
eqcli > user-uname-alertname > state | : | Set the alert state flag. enable/disable |
eqcli > user-uname-alertname > subject user string | : |
Set the subject. User string is any (up to 256) characters the user wishes to enter. It must be surrounded by quotes if it has embedded blanks. Its usage depends upon the notify_type. |
eqcli > user-uname-alertname > to to email addresses | : |
Set the email address(es). Email addresses are email1,email2,...emailx, where: email= user@<domain |
User Alert Notify Type Flags
A flag may be turned off by prefixing with "!".
When enabled, sends an email to the specified recipients, using a specified SMTP relay mail server. When this notification type is used, an email address is also required. A subject line for the email is optional | |
ui |
When enabled this notifies users of an alert in the CLI. |
snmp |
When enabled, allows SNMP traps to enable an agent to notify a management station of significant events by way of unsolicited SNMP messages. |
syslog |
When enabled, sends an alert message to the system log |