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

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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).
Configuring Network Connection Between Components of Routers and Controller Cloud Management Platform

Configuring Network Connection Between Components of Routers and Controller Cloud Management Platform

Prerequisites

Routers are connected to a controller cloud management platform.

Context

Figure 15-3 shows the network where the routers and controller are located, and the controller manages the routers.
Figure 15-3  Connections between routers and controller and basic structure
The two structures involve the following modules:
  • Router

    This is a routing system that provides functions of a traditional AR router.

  • Host OS

    This is the basic operating system that provides basic system services to other service modules.

  • OSP

    This is the open service platform where third-party applications can be installed.

The routing system communicates with the controller through the upstream interface over the Internet, and communicates with the internal Host OS through a default virtual link. The Host OS is the basic system for other service modules. Therefore, if you want to manage routers on the controller, configure the network connection between Controller and Host OS. If a router supports the OSP daughter card, the routing system and OSP daughter card communicate with each other through physical links. If you want to manage the OSP daughter card on the controller, configure the network connection between the controller and OSP daughter card.

Procedure

  1. Configure network connection between the routing system and Host OS.
    1. Run system-view

      The system view is displayed.

    2. Run dhcp enable

      DHCP is enabled.

      By default, DHCP is disabled.

    3. Run interface interface-type interface-number

      The view of the routing system virtual interface is displayed.

      The virtual interfaces of different models are as follows:
      • AR3670: GE0/0/0-GE0/0/7
      • Other models: GE0/0/6

    4. Run ip address ip-address { mask | mask-length }

      An IP address is configured for the routing system virtual interface.

    5. Run dhcp select interface

      The DHCP server function is configured to assign IP addresses to clients from the interface address pool.

      By default, the DHCP server function for assigning IP addresses from the interface address pool is disabled.

      After this function is enabled, the system assigns an IP address to the Host OS virtual interface veth1 from the address pool on the routing system virtual interface. Check the IP address of veth1:
      1. Run the shell command in the diagnostic view to enter the shell view.
      2. Run the ifconfig command to view the IP address of veth1.
      3. Run the exit command to quit the shell view.

    6. Run quit

      Return to the system view.

  2. (Optional) Configure network connection between the routing system and OSP daughter card.

    This step is required on only the router supporting OSP daughter card.

    1. Run interface interface-type interface-number

      The view of the routing system physical interface is displayed.

    2. Run ip address ip-address { mask | mask-length }

      An IP address is configured for the routing system physical interface.

    3. Run dhcp select interface

      The DHCP server function is configured to assign IP addresses to clients from the interface address pool.

      By default, the DHCP server function for assigning IP addresses from the interface address pool is disabled.

      After this function is enabled, the system assigns an IP address to the virtual interface br0 of the OSP daughter card from the address pool on routing system physical interface. Check the IP address of br0:
      1. Run the set output-mode osp command in the system view to enable the redirection from the serial port to the OSP daughter card.
      2. Run the ifconfig command to view the IP address of br0.
      3. Run the Ctrl+D command to quit the OSP daughter card view.

    4. Run quit

      Return to the system view.

  3. Configure network connection between the Host OS (or OSP daughter card) and controller cloud management platform.
    1. Run interface interface-type interface-number

      The view of the physical interface between the routing system and controller cloud management platform is displayed.

    2. Run nat server protocol { protocol-number | icmp | tcp | udp } global global-address inside host-address

      The IP address of the Host OS virtual interface is mapped to an external IP address to implement network connection between the Host OS and controller.

      The value of global-address cannot be the same as an existing IP address on the router and must be in the same subnet with the IP address used to communicate with external network.

    3. (Optional) Run nat server protocol { protocol-number | icmp | tcp | udp } global global-address inside host-address

      The IP address of the OSP daughter card virtual interface is mapped to an external IP address to implement network connection between the OSP daughter card and Controller.

      This step is required on only the router supporting OSP daughter card.

      The value of global-address cannot be the same as an existing IP address on the router and must be in the same subnet with the IP address used to communicate with external network.

    4. Run quit

      Return to the system view.

Follow-up Procedure

  • Check whether the network connection between Host OS and controller is successful.
    1. Run the shell command in the diagnostic view to enter the shell view.
    2. Run the ping command to check connectivity between the Host OS and controller.
  • (Optional) Check whether the network connection between OSP daughter card and controller is successful.
    1. Run the set output-mode osp command in the system view to enable the redirection from the serial port to the OSP daughter card.
    2. Run the ping command to check connectivity between the OSP daughter card and controller.
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 101266

Downloads: 335

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