notifications

Required Command-Line Mode = Configure

Required User Level = Admin

Use the notifications command to configure notification settings. The notification receiver target is the consumer of the notifications, such as GigaVUE‑FM. Log in to each GigaVUE node individually to configure the settings.

The notifications command has the following syntax:

notifications
   enable
   target host <IPv4 address or hostname> port <port ID> <secure | non-secure> username <username>
      password <password>>

The following table describes the arguments for the notifications command:

Command

Description

enable

Enables notifications on a particular GigaVUE node. The default is enabled.

For example:

(config) # notifications enable

target host <IPv4 address or hostname> port <port ID> <secure | non-secure> username <username> password <password>>

Configures the notification receiver target as follows:

host—Specifies the IPv4 address or the hostname of the notification receiver target. Up to three IP addresses or hostnames, or a combination of both IP addresses and hostnames can be specified, but only one per CLI invocation.
port—Specifies the port ID. The range is from 1 to 65535. The default is 5672.

Note:  Open port 5672 on GigaVUE‑FM so it is accessible for devices to connect to.

secure | non-secure—Specifies a secure (TLS-protected) or non-secured (open) connection.
username—Specifies the username of the notification receiver.
password—Specifies the password of the notification receiver.

In the following example, the user will be prompted for the password:

(config) # notifications target ip 1.1.1.1 port 222 secure username user1

In the following example, the default port 5672 will be used and the user will be prompted for the password:

(config) # notifications target ip 1.1.1.1 non-secure username user1

In the following example, the user enters the password:

(config) # notifications target ip 1.1.1.1 port 5672 secure username user1 password PW1

Related Commands

The following table summarizes other commands related to the notifications command:

Task

Command

Displays notification settings and connection status.

# show notifications

Disables notifications on a particular GigaVUE node.

(config) # no notifications enable

Deletes a specified notification receiver target.

(config) # no notifications enable target ip 1.1.1.1 port 5672