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 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, NETCONF, OpenFlow, LLDP, NQA, Mirroring, Packet Capture, Packet Trace, Path and Connectivity Detection Configuration, NetStream, sFlow, and iPCA.
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).
Creating a Subscription

Creating a Subscription

When you configure Telemetry static subscription to the data sampled, you need to create a subscription to associate the configured destination group with the configured sampling sensor group so that data can be sent to the collector.

Context

When static subscription is configured, a device functions as a client and a collector functions as a server. To statically subscribe to the data sampled, you need to create a subscription to set up a data sending channel. The protocol used to send data can be gRPC.

To configure an SSL policy for a client so that the server and client establish a secure SSL connection, you must ensure that an SSL policy has been created. For details about how to create an SSL policy, see Configuring SSL in the CloudEngine 8800, 7800, 6800, and 5800 Series Switches Product Documentation - Configuration - Security Configuration Guide - Security.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run telemetry

    The Telemetry view is displayed.

  3. Run subscription subscription-name

    A subscription is created to associate a destination group with a sampling sensor group, and the Subscription view is displayed.

    By default, no subscription is created in the Telemetry view.

  4. Run sensor-group sensor-name [ sample-interval sample-interval [ suppress-redundant [ heartbeat-interval heartbeat-interval ] ] ]

    A sampling sensor group is associated with the subscription, and a sampling interval, a heartbeat interval, and redundancy suppression are configured for the sampling sensor group.

    By default, no sampling sensor group is associated.

  5. Run destination-group destination-name

    A destination group is associated with the subscription.

    By default, no destination group is associated.

  6. (Optional) Run local-source-address ipv4 ip-address

    A source IP address is configured for gRPC-based data sending.

    By default, when gRPC is used for data sending, the source IP address is the IP address of route's outbound interface selected by the socket.

  7. (Optional) Run dscp dscp-value

    A DSCP value is set for data packets sent.

    The default DSCP value of data packets is 0.

  8. (Optional) Run encoding { json | gpb }

    An encoding format is configured for data packets to be sent.

    The default encoding format is GPB.

  9. (Optional) Run protocol grpc [ no-tls ]

    A protocol and encryption mode are configured for the target collector that is associated with this subscription.

    By default, no protocol and encryption mode are configured for the target collector that is associated with this subscription.

    NOTE:
    Both this command and the ipv4-address command in the Destination-group view can configure a protocol and encryption mode for the target collector. If the target collector is associated with the subscription, command configurations take effect based on the following rules:
    • If this command has been run, the protocol and encryption mode configured by running this command in the Subscription view take effect.

    • If this command is not run, the protocol and encryption mode configured by running the ipv4-address command in the Destination-group view take effect.

  10. (Optional) Configure an SSL policy for the client or enable the client to perform SSL verification on the server.

    NOTE:

    The certificate to be loaded must be supported by both the client and server.

    1. Run quit

      Return to the Telemetry view.

    2. Run quit

      Return to the system view.

    3. Run grpc

      The gRPC view is displayed.

    4. Run grpc client

      The gRPC client view is displayed.

    5. Run ssl-policy ssl-policy-name [ verify-cn cn-name ]

      An SSL policy is configured for the client during Telemetry static subscription.

      By default, no SSL policy is configured for a client during Telemetry static subscription.

      NOTE:

      If the no-tls parameter has been configured by running the ipv4-address or protocol (Subscription view) command and taken effect, the TLS encryption mode is not used. In this case, the client-specific SSL policy configured by running this command does not take effect.

    6. Run ssl-verify peer

      A client is enabled to perform SSL verification on a server during Telemetry static subscription.

      By default, a client does not perform SSL verification on a server during Telemetry static subscription.

      NOTE:

      If the no-tls parameter has been configured by running the ipv4-address or protocol (Subscription view) command and taken effect, the TLS encryption mode is not used. In this case, the configuration that enables the client to perform SSL verification on a server does not take effect.

  11. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075365

Views: 41506

Downloads: 127

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