6.2.2.6. interfaces
6.2.2.6.1. Introduction
The interfaces
command of the set
subgroup enables the administration of capture interfaces.
Interfaces can be physical or virtual.
Virtual interfaces enable replaying .pcap files directly on the GCap.
Important
Interfaces composing an aggregation of interfaces ("cluster") can neither be enabled nor disabled.
6.2.2.6.2. Prerequisites
User: setup
Dependencies:
The detection engine must be switched off
To enable an interface, it must be in the disabled state
To disable an interface, it must be in the enabled state
6.2.2.6.3. Command
To change the delay before starting up the interfaces: set interfaces delay SECOND
.
To enable or disable interfaces: set interfaces {enable|disable} {mon0|mon1|mon2|mon3|monvirt}
6.2.2.6.4. Example to change the interface start-up delay by five seconds
Enter the following command.
(gcap-cli) set interfaces delay 5
Validate.
6.2.2.6.5. Example of enabling the mon0
capture interface
Enter the following command.
(gcap-cli) set interfaces enable mon0
Validate.
Note
If the system displays the following message, Command set interfaces enable monx is not recognised, check whether the monx interface is an aggregation using the show clusters command.
6.2.2.6.6. Example of disabling the mon1
capture interface
Enter the following command.
(gcap-cli) set interfaces disable mon1
Validate.
Note
If the system displays the following message, Command set interfaces disable monx is not recognised, check whether the monx interface is an aggregation using the show clusters command.