5.5.10. Managing capture interface settings monx

5.5.10.1. Introduction

This procedure describes:

  • Viewing the network settings

  • Modifying these parameters

To...

Use the command

described in the procedure

obtain an overview of the information on all network interfaces

show interfaces

Procedure A

display the MTU value of the interfaces

show interfaces

Procedure B

modify the MTU value of the interfaces

set advanced-configuration mtu

Procedure B

display the available detection interfaces

show interfaces

Procedure C

manage the available detection interfaces

set interfaces

Procedure C


5.5.10.2. Prerequisites


5.5.10.3. Preliminary operations


5.5.10.4. Procedure A: Display the network configuration

  • Enter the following command.

    (gcap-cli) show interfaces
    
  • Validate.
    The system displays the information of all network interfaces.

Note

The mon0, mon1, mon2 interface is enabled ( field: role, value : capture ). The enp27s0 interface is disabled ( field: role, value : inactive ).


5.5.10.5. Procedure B: display or change the MTU value

  • To display the current configuration of enabled interfaces:

    • Enter the following command.

      (gcap-cli) show interfaces
      
    • Validate.
      The system displays the result.

The values are displayed for all enabled network interfaces (*MTU* field ) 
  • In our example, to change the current configuration of enabled interfaces: e.g. to change the MTU value of the mon0 interface

    • Enter the following command.

      (gcap-cli) set advanced-configuration mtu mon1 2000
      
    • Validate.
      The system displays the result.

      Updating Network MTU configuration to:
              - enp4s0: 2000
      

5.5.10.6. Procedure C: display or change the available detection interfaces

  • To display the information on the detection interfaces:

    • Enter the following command.

      (gcap-cli) show interfaces
      
    • Validate.
      The system displays the available detection interfaces.

The information displayed is:  
  • Label: the label name of the interface

  • Name: the system name of the interface

  • Role: the role assigned to the interface

  • Capture capability: if the interface can capture traffic

  • MTU: the MTU of the interface

  • Physical Address: the MAC address of the interface

  • Speed: the interface speed

  • Type: the type of cable/sfp connected to the physical port

  • Vendor ID: the Vendor ID of the network card

  • Device ID: the Device ID of the network card

  • PCI bus: PCI bus number used by the network card

  • In our example, mon0, mon1 and mon2 are enabled ( field: role, value : capture ).

  • To activate an interface (here enp27s0 for example):

    • Enter the following command.

      (gcap-cli) set interfaces assign-role enp27s0 capture
      
    • Validate.

    • then to check the new configuration

       (gcap-cli) show interfaces
      
    • Validate.
      The system displays the available detection interfaces.

  • To deactivate an interface (here mon0 for example):

    • Enter the following command.

     (gcap-cli) set interfaces assign-role enp27s0 inactive
    
    • Validate.

  • To change the interface start-up delay by five seconds for example

    • Enter the following command.

      (gcap-cli) set interfaces delay 5
      
    • Validate.