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

Configuration Guide - Network Management and Monitoring

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
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).
Example for Configuring Telemetry Dynamic Subscription Based on gRPC

Example for Configuring Telemetry Dynamic Subscription Based on gRPC

Networking Requirements

As the network scale increases, carriers need to optimize networks and rectify faults based on device information. For example, if a user wants to monitor an interface for a period of time, configure Telemetry dynamic subscription. To stop monitoring, tear down the connection. The subscription is automatically canceled and cannot be restored. This avoids the long-term load on devices and simplifies the interaction between users and devices.

As shown in Figure 17-8, Device A supports Telemetry and establishes a gRPC connection with the collector. 10GE1/0/1 of Device A needs to be monitored, and data needs to be sent to the collector as required.

Figure 17-8 Networking of configuring gRPC-based Telemetry dynamic subscription

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure a source IP address to be listened during Telemetry dynamic subscription and the name of a VPN instance to be bound to the source IP address.

  2. Configure the number of the port to be listened during Telemetry dynamic subscription.

  3. Enable the gRPC service.

Data Preparation

To complete the configuration, you need the following data:

  • IP address of 10GE1/0/1: 192.168.1.1; Name of the VPN instance to be bound to 10GE1/0/1: vpn1

  • Number of the port to be listened: 20000

Procedure

  1. Configure an IP address and a routing protocol for each interface so that all devices can communicate at the network layer.
  2. Configure a source IP address to be listened during Telemetry dynamic subscription and the name of a VPN instance to be bound to the source IP address.

    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceA
    [*HUAWEI] commit
    [~DeviceA] grpc
    [~DeviceA-grpc] grpc server
    [~DeviceA-grpc-server] source-ip 192.168.1.1 vpn-instance vpn1

  3. Configure the number of the port to be listened during Telemetry dynamic subscription.

    [*DeviceA-grpc-server] server-port 20000

  4. Enable the gRPC service.

    [*DeviceA-grpc-server] server enable
    [*DeviceA-grpc-server] commit

Configuration Files

Device A configuration file

#
sysname DeviceA
#
grpc
 #
 grpc server
  source-ip 192.168.1.1 vpn-instance vpn1
  server-port 20000
  server enable
#
return
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 29887

Downloads: 29

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