9.3.2.5. set interfaces
A - Introduction
The
`interfaces` command of the `set` sub-group allows assigning roles to capture interfaces.Interfaces can be physical or virtual.
Note
The management of network parameters is done by the show network-config / set network-config commands
B - Prerequisites
User: setup
Dependencies: the detection engine must be switched off
C - Command
To change the delay before starting up the interfaces:
`set interfaces delay SECOND`To assign a specific role to an interface
`set interfaces assign-role {management|tunnel|management-tunnel|capture|capture-cluster|inactive}`Role: the role assigned to the interface are the following:
capture for capture interfaces
tunnel for IPSec connections
management for SSH connections
management-tunnel for SSH and IPSec connections
capture-cluster for capture interfaces in cluster mode
inactive for disable interfaces
D - Procedure to change the interface startup delay by five seconds
The command prompt is displayed.
(gcap-cli)
Enter the command
set interfaces delay 5
Validate
F - Procedure to assign a capture role to interface specific interface
The command prompt is displayed.
(gcap-cli)
Enter the command
set interfaces assign-role enp4s0 capture
Validate
Note
If the system displays the following message, Failed to assign role: network configuration cannot be changed now, check if the monitoring-engine is up.