Log in to the sensor CLI.
Enable the CLI configuration mode:
hostname > enable
hostname # configure terminal
Specify the interface:
hostname (config) # mvx sensor config submission-if <interfaceName>
If the sensor and cloud broker are in different subnets: Specify the IPv4 address of the default gateway for the interface:
hostname (config) # mvx sensor config submission-if <interfaceName> default-gateway ipv4 <ipv4Address>
Verify your change:
hostname (config) # show mvx status
hostname (config) # show mvx status
hostname (config) # write memory
Example
The following example defines ether2 as the submission interface on the nx-4 sensor.
nx-4 (hostname) # mvx node config submission-if ether2
nx-4 (hostname) # show mvx status
MVX Mode Status:
Sensor Config Enabled: yes
Current Operating Mode: sensor
Mode Reboot Required: no
Submission Interface: ether2
Modes Supported: mvx configurable
...