The connect-mode command configures a connection mode between a GNE and NMSs.
The undo connect-mode command restores the default connection mode.
By default, a GNE supports secure SSL connections to NMSs.
Parameter | Description | Value |
---|---|---|
security |
Configures a GNE to support only secure connections to NMSs. If the security parameter is selected, port 5432 for TCP connections will be enabled. |
- |
normal |
Configures a GNE to support only ordinary connections to NMSs. If the normal parameter is selected, port 1400 for TCP connections will be enabled. |
- |
both |
Configures a GNE to support both ordinary and secure connections to NMSs. If the both parameter is selected, ports 1400 and 5432 for TCP connections will be enabled. |
- |
Usage Scenario
A GNE can be configured to support ordinary TCP connections, secure TCP connections, or both. To specify the connection mode, run the connect-mode command. After the connect-mode command is run to switch between the ordinary and secure connection modes, current TCP connections will be torn down.
Precautions
In VS mode, this command is supported only by the admin VS.
If an NMS is used for a device upgrade and the GNE supports ordinary TCP connections to the NMS, configure the GNE to support secure SSL connections to the NMS. Otherwise, the device may become unreachable to the NMS.