6.2.2.9. network-config

6.2.2.9.1. Introduction

For more information on the management interfaces (formerly gcp0/gcp1) and monitoring interfaces (mon0 to monx), refer to the show network-config command.
The network-config command of the set subgroup enables modifying the network configuration of the GCap.
The network-config command of the set subgroup enables configuring:

  • Each interface with the network parameters: set network-config {management|tunnel} [ip-address IP_value] [gateway GATEWAY_value] [mask MASK_value] command

  • The domain name: set network-config domain NAME_value command

  • The host name: set network-config hostname HOSTNAME_value command


6.2.2.9.2. Prerequisites

  • User: setup

  • Dependencies: the detection engine must be switched off


6.2.2.9.3. Command

set network-config {management|tunnel} [ip-address IP_value] [gateway GATEWAY_value] [mask MASK_value] [confirm] [no-reload]

set network-config [domain-name NAME_value|hostname HOSTNAME_value] [confirm]

Note

The no-reload option enables not reloading network services.


6.2.2.9.4. Example of configuring the tunnel and management interface

  • Enter the following command.

    (gcap-cli) set network-config tunnel ip-address X.X.X.X gateway Z.Z.Z.Z mask Z.Z.Z.Z
    
  • Validate.

  • Enter the following command.

    (gcap-cli) set network-config management ip-address Y.Y.Y.Y gateway Z.Z.Z.Z mask Z.Z.Z.Z confirm
    
  • Validate.


6.2.2.9.5. Example of configuring the Gcap in gatewatcher.com

  • To change the GCap domain in gatewatcher.com:

    • Enter the following command.

      (gcap-cli) set network-config domain-name gatewatcher.com
      
    • Validate.

      Setting hostname/domain name to:
        - Hostname: gcap-int-129-dag
        - Domain name: gatewatcher.com
      Do you want to apply this new configuration? (y/N)
      
      
    • Press y and then confirm.

  • To check the value modification:

    • Enter the following command

      (gcap-cli) show network-config domain
      
    • Validate.
      The system displays the domain name.

      Current domain name: gatewatcher.com