Cloud Managed Commands

Use these commands to manage the interaction of the switch with a cloud management agent.

Cloud managed commands enable you to manage the interaction of the switch with a cloud management agent.

The switch maintains several configuration parameters for a cloud management agent. These parameters are handled like any other configuration parameters but are not used by the switch itself. The following table lists these parameters.

Table 1. Parameters for a cloud management agent
Parameter Description Range Default
Mode Overall administrative mode for cloud managed operation.
  • 0. Disabled
  • 1. Enabled
0
Proxy IP Address The IPv4 or IPv6 address of a proxy server used to access the public network.

Any valid IPv4 or IPv6 host address.

Address family:

  • 0. None
  • 1. INET
  • 2. INET6

An IP address of 0.0.0.0 with an address family type of None implies that this parameter is not set.

0.0.0.0

0

Proxy IP Port Number The TCP/UDP port number that is used with the IP Address to access the proxy server.

1–65535

The value 0 is used to designate this parameter is not currently set.

0
Proxy Username A user name for logging into the proxy server.

An ASCII string from 1 to 64 characters.

The empty string “” is used to specify that this parameter is not set.

“”
Proxy Password Encrypt Type The type of encryption that is used to store user passwords securely.
  • 0. None
  • 1. AES
  • 2. MD5 (not used)

A password is stored and retrieved only in its encrypted form. The switch supports AES encryption only.

An encryption type of None is used to specify that this parameter is not set.

0
Proxy Password The password for the designated user name.

An ASCII string from 1 to 64 characters in plain text (that is, unencrypted) format.

Alternatively, the user can supply an AES-encrypted password string of exactly 128 ASCII characters.

The empty string “” is used to specify that this parameter is not set.

“”
Server URL A URL string that identifies network access to a specific cloud server.

An ASCII string from 1 to 150 characters that contains the information that is described by the agent provider.

Note: The content of this string is not checked by the switch. An agent performs its own URL string validation.

The empty string “” is used to specify that this parameter is not set.

“”

cloud-managed

M4250

M4350

Use this command to let the CLI enter Cloud Managed configuration mode, which lets you change the cloud managed parameters.

Format cloud-managed
Mode Global Config

enable

M4250

M4350

This command administratively enables a cloud management agent to perform its intended operation, including initiating network requests to the agent’s cloud server.

Note: Entering the cloud-managed command to enable Cloud Managed Config mode does not activate a cloud management agent, which must be independently installed and started as a process on the switch. A running agent periodically checks if this mode is enabled before it communicates with its cloud server.
Format enable
Mode Cloud Managed Config

no enable

This command administratively disables a cloud management agent.

If a cloud management agent is administratively disabled, it continues to run in a quiet state in which no network communication or parameter changes are allowed.

Format no enable
Mode Cloud Managed Config

proxy-ip-address

M4250

M4350

This command defines the parameters that let a cloud management agent communicate through a proxy server that is used to access a public network.

Some private or corporate networks restrict access to a public network by forcing all traffic through a designated gateway device (also referred to as a proxy server), which is identified by its IP address and usually by a specific TCP or UDP port number. In addition, access to the proxy server might require valid login credentials in the form of a user name and password.

The command syntax allows you to enter a password as either an ASCII string in plain text of up to 64 characters or as an AES-encrypted ASCII string of precisely 128 characters.

Note: The switch stores this password internally as AES-encrypted and does not display it unencrypted in plain text format.
Format proxy-ip-address {ipv4-address | ipv6-address} [port port-number] [username username] [password [0 | 7] password]
Mode Cloud Managed Config
Parameter Description

ipv4-address

ipv6-address

The IP address of the proxy server, which can be in either IPv4 or IPv6 format.
port port-number The TCP or UDP port number that is used to access the proxy server. Valid values are from 1 to 65535. The default value is 0, which specifies that this configuration value is not set.

username

username

The proxy server login user name that must be from 1 to 64 characters in length.
[0 | 7]

This option lets you specify the type of password:

  • 0. unencrypted
  • 7. AES-encrypted

If you do not specify this option, an AES-encrypted password is assumed.

password

The password that must be entered together with the user name to log in to the proxy server. If you enter an encrypted password, it must already be encrypted using AES.

The allowed password length depends on the type of password:

  • unencrypted. 1 to 64 characters
  • encrypted. 128 characters

no proxy-ip-address

This command removes the proxy server configuration parameters from the switch and restores the default values (see Parameters for a cloud management agent).

Format no proxy-ip-address
Mode Cloud Managed Config

url

M4250

M4350

This command defines a URL string that is used by a cloud management agent to contact its cloud server in the public network. The format of the URL string is agent-specific. The string can be from 1 to 150 characters.

Note: The switch does not validate the contents of the specified URL string. The cloud management agent process might perform its own validity checking of the URL string.
Format url
Mode Cloud Managed Config

no url

This command removes the cloud management server URL string from the switch.

Format no url
Mode Cloud Managed Config

show cloud-managed

M4250

M4350

This command displays the cloud managed configuration parameters. A parameter that is not configured is displayed as a series of dashes (-----).

Format show cloud-managed
Mode

User EXEC

Privileged EXEC

Field Description
Administrative Mode Indicates whether the cloud managed operation is enabled or disabled. The default is disabled.
Proxy IP Address The IPv4 or IPv6 address of the proxy server that is used to access the public network.
Proxy IP Port Number The TCP or UDP port number of the proxy server that is used to access the public network.
Proxy User Name The user name that provides access to the proxy server.
Proxy Password Encryption Indicates AES if the password is encrypted. (This is the password that provides access to the proxy server.) The actual password (encrypted or unencrypted) is not displayed.
Server URL The URL that the cloud management agent uses to contact its cloud server. This is a free-formatted string that is agent-specific.

Command example:

The following example shows Cloud Managed mode enabled, a proxy server configured, and no cloud server URL specified.

CODE
(NETGEAR Switch) #show cloud-managed

Administrative Mode ........................... Enabled
Proxy IP Address .............................. 192.168.10.5
Proxy IP Port Number .......................... 1647
Proxy User Name ............................... bob
Proxy Password Encryption ..................... AES
Server URL .................................... -----