No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

eLog V200R007C10 Installation Guide

Describes the installation process of product software. Includes plans, environmental requirements, and procedures for installation, as well as commissioning procedures.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting the Default Gateway or Adding a Static Route

Setting the Default Gateway or Adding a Static Route

This section describes how to set the default gateway or add a static route.

Procedure

  1. Log in to the operating system as the root user.
  2. Right-click the desktop and choose Open in Terminal from the shortcut menu to access the CLI.
  3. Run the cd software-installation-path/engineering/tools command to access the directory.

    The default directory is /opt/huawei/LogCenter/engineering/tools.

  4. Run the ./config_network.sh command to set the default gateway or add a static route as prompted.

    The configuration takes effect immediately without server restart.

    • Configure the default gateway.
      LogServer:/opt/huawei/LogCenter/engineering/tools # ./config_network.sh
      Which operation do you want to execute?
      1) Change the IP address.  5) Modify the database.
      2) Delete the IP address.  6) Change the web port.
      3) Set the gateway.	   7) Exit
      4) Configure DNS.
      #? 3
      Which operation do you want to execute?
      1) Change the system default gateway.
      2) Add route.
      #? 1
      Info: You chosed to change the system default gateway.
      Info: Enter the new IP address: 192.168.104.1
      Info: Succeeded in changing the system default gateway to 192.168.104.1.
    • Add a static route.
      LogServer:/opt/huawei/LogCenter/engineering/tools # ./config_network.sh
      Which operation do you want to execute?
      1) Change the IP address.  5) Modify the database.
      2) Delete the IP address.  6) Change the web port.
      3) Set the gateway.	   7) Exit
      4) Configure DNS.
      #? 3
      Which operation do you want to execute?
      1) Change the system default gateway.
      2) Add route.
      #? 2
      For which network interface do you want to add the route?
      1) eth0
      2) eth1
      #? 2
      Info: Enter the ip address for destination network, like X.X.X.X/X: 192.168.0.0/16
      Info: Enter the gateway address: 192.168.1.1      
      Info: Succeeded in setting the route to 192.168.0.0/16 via 192.168.1.0.

Translation
Download
Updated: 2019-04-01

Document ID: EDOC1100073937

Views: 9439

Downloads: 16

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next