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).
Configuring NetStream Aggregation Flow Statistics Export

Configuring NetStream Aggregation Flow Statistics Export

Context

Aggregation flow statistics can be exported only when a source address and at least one destination address and one destination UDP port number have been specified for the exported packets.

The device with NetStream aggregation flow statistics enabled can classify and aggregate the original flows according to certain rules, exporting the aged flows to the NSC. The aggregation of original flows will decrease network bandwidth, CPU usage, and memory space occupation.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the netstream aggregation ip { as | as-tos | bgp-nexthop-tos | destination-prefix | destination-prefix-tos | index-tos | mpls-label | prefix | prefix-tos | protocol-port | protocol-port-tos | source-prefix | source-prefix-tos | source-index-tos | vlan-id } command to configure a NetStream aggregation method and enter the NetStream aggregation view.

    By default, IPv4 aggregation is not configured.

    When the aggregation mode is set to vlan-id, the switch can aggregate only inbound original flows.

    For details about aggregation modes, see netstream aggregation ip in the Command Reference.

    NOTE:
    • When NetStream aggregation mode is set to as, as-tos, or bgp-nexthop-tos, the exported NetStream packets must contain routing information.

    • The CE12800E does not support the mpls-label parameter, because the CE12800E does not support MPLS.

    • The CE12800E does not support the as, as-tos, and bgp-nexthop-tos parameters when configured with ED-E, EG-E, and EGA-E series cards, because ED-E, EG-E, and EGA-E series cards do not support sampling of AS ang BGP next hop information.

  3. (Optional) Run the mask { destination | source } minimum mask-length command to configure an aggregation mask.

    By default, the aggregation mask is 24.

    The configured aggregation mask is valid for six aggregation modes: prefix, prefix-tos, destination-prefix, destination-prefix-tos, source-prefix, and source-prefix-tos, in which:

    • The parameter source is used in prefix, prefix-tos, source-prefix, and source-prefix-tos aggregation method.
    • The parameter destination is used in prefix, prefix-tos, destination-prefix, and destination-prefix-tos aggregation method.

  4. Run the netstream export ip source { ip-address | ipv6 ipv6-address } command to configure the source address for the exported packets carrying IPv4 aggregation flow statistics.

    By default, the source address of the exported packets carrying IPv4 aggregation flow statistics is not configured. After the aggregation method has been set, the source address configured in the aggregation view is used first. If no source address is configured for an aggregation method, the source address configured by the netstream export ip source command in the system view is used.

    If the source address is not specified, packets are not exported. The source address of the exported packets carrying IPv4 aggregation flow statistics can be an IPv4 or IPv6 address. There must be a reachable route between the source address and destination address (NSC address). Two source addresses can be specified: one IPv4 address and one IPv6 address.

  5. Run the netstream export ip host { ip-address | ipv6 ipv6-address } port-number [ vpn-instance vpn-instance-name ] command to configure the destination address and destination UDP port number for the exported packets carrying IPv4 aggregation flow statistics.

    By default, the destination address and UDP port number of the exported packets carrying IPv4 aggregation flow statistics is not configured.

    You can configure two destination IP addresses to implement NSC backup. To configure a third destination address, first run the undo netstream export ip host command to delete an existing one first. Otherwise, the system will display a message indicating that the maximum number of destination addresses has been reached and the configuration will fail.

    After the aggregation method has been set, the destination address configured in the aggregation view is used first. If no destination address is configured for an aggregation method, the destination address configured by the netstream export ip host command in system view is used.

  6. Run the enable command to enable the NetStream aggregation function.

    By default, the aggregation function is disabled.

  7. Run the quit command to quit from the NetStream aggregation view.
  8. (Optional) Run the assign netstream management-plane export rate-limit rate-limit [ slot slot-id ] command to limit the rate of NetStream packets sent from cards to the control plane, thereby limiting the rate of NetStream packets sent out by the control plane.

    By default, the rate of NetStream packets sent to the control plane is not limited.

    A card sends NetStream packets to the control plane only when the switch selects the management interface to send NetStream packets to the NetStream server. If the assign netstream management-plane export rate-limit rate-limit slot slot-id command has been executed to limit the rate of NetStream packets sent from a specified card to the control plane, you cannot run the assign netstream management-plane export rate-limit rate-limit command to limit the rate of NetStream packets sent from all cards to the control plane. If the assign netstream management-plane export rate-limit rate-limit command has been executed to limit the rate of NetStream packets sent from all cards to the control plane, you cannot run the assign netstream management-plane export rate-limit rate-limit slot slot-id command to limit the rate of NetStream packets sent from a specified card to the control plane.

    NOTE:

    The CE12800E does not support this command when configured with ED-E, EG-E, and EGA-E series cards, because only the service interfaces on the ED-E, EG-E, and EGA-E series cards can be used to export NetStream packets.

  9. (Optional) Run the netstream export ip route disable command to remove IPv4 routing information from NetStream packets.

    By default, NetStream packets exported by the device carry IPv4 routing information. This command can greatly improve switch performance. If the routing information is not required, run this command.

    When the exported NetStream packets do not carry routing information and the NetStream aggregation mode is destination-prefix, destination-prefix-tos, prefix, prefix-tos, source-prefix, source-prefix-tos, or source-index-tos, the as, next hop, and BGP next hop fields in the exported NetStream packets have a fixed value of 0.

  10. (Optional) Run the netstream export packet-len ethernet-crc command to configure the IN_BYTES field value in NetStream packets to include the Ethernet header and CRC lengths.

    By default, the IN_BYTES field value in NetStream packets is the len field value in the IP packet header.

  11. Run the commit command to commit the configuration.
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 30432

Downloads: 29

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