The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

set sensor ip

Prev Next

You can specify the Sensor's IPv4 address and subnet mask using this command. Changing the Sensor IP requires a Sensor reboot for the changes to take effect. See the reboot command for instructions on how to reboot the Sensor.

Syntax:

set sensor ip <A.B.C.D E.F.G.H>

Parameter

Description

<A.B.C.D E.F.G.H>

Indicates an IPv4 address followed by a netmask. The netmask strips the host ID from the IP address, leaving only the network ID. Each netmask consists of binary ones (decimal 255) to mask the network ID and binary zeroes (decimal 0) to retain the host ID of the IP address (For example, the default netmask setting for a Class C address is 255.255.255.0).

Sample Output:

For Sensor, the output is as shown below:

intruShell@john> set sensor ip 10.213.168.169 255.255.255.0

Sensor IP is already set, new IP will take effect after a reboot

sensor ipv4 = 10.213.168.169, sensor subnet mask = 255.255.255.0

Example:

set sensor ip 192.34.2.8 255.255.0.0

Applicable to:

NS-series Sensors