15-Network Management and Monitoring Configuration Guide

HomeSupportRoutersCR16000-F SeriesConfigure & DeployConfiguration GuidesH3C CR16000-F Routers Configuration Guides-R838x-6W10015-Network Management and Monitoring Configuration Guide
17-NetStream configuration
Title Size Download
17-NetStream configuration 257.16 KB

Contents

Configuring NetStream·· 1

About NetStream·· 1

NetStream architecture· 1

NetStream flow aging· 2

NetStream data export 3

NetStream mirroring· 5

NetStream sampling· 5

Protocols and standards· 5

NetStream flow mirroring· 6

NetStream port mirroring· 6

Enabling NetStream (system view) 7

Enabling NetStream (interface view) 7

Enabling NetStream for an SRv6 TE policy· 8

Enabling archiving of cached NetStream entries· 8

Configuring NetStream mirroring· 9

Configuring NetStream flow mirroring· 9

Configuring NetStream sampling· 10

Configuring the NetStream sampleron an interface· 10

Enabling the NetStream sampler for an SRv6 TE policy· 10

Configuring standard mode for NetStream sampling· 11

Configuring the RFC 7011-compliant template format 11

Configuring the NetStream data export format 11

Configuring the refresh rate for NetStream version 9 or version 10 template· 13

Configuring MPLS-aware NetStream·· 13

Configuring NetStream flow aging· 13

Configuring periodical flow aging· 13

Configuring forced flow aging· 14

Enabling TCP FIN- and RST-triggered flow aging· 14

Configuring the NetStream data export 14

Configuring the NetStream traditional data export 14

Configuring the NetStream aggregation data export 15

Display and maintenance commands for NetStream·· 15

Example: Configuring NetStream traditional data export (NetStream flow mirroring) 17

Example: Configuring NetStream traditional data export (NetStream port mirroring) 19

Example: Configuring NetStream aggregation data export (NetStream flow mirroring) 21

Example: Configuring NetStream aggregation data export (NetStream port mirroring) 25


Configuring NetStream

About NetStream

NetStream is an accounting technology that provides statistics on a per-flow basis. An IPv4 flow is defined by the following 7-tuple elements:

·     Destination IP address.

·     Source IP address.

·     Destination port number.

·     Source port number.

·     Protocol number.

·     ToS.

·     Inbound or outbound interface.

NetStream architecture

A typical NetStream system includes the following elements:

·     NetStream data exporter—A device configured with NetStream. The NDE provides the following functions:

¡     Classifies traffic flows by using the 7-tuple elements.

¡     Collects data from the classified flows.

¡     Aggregates and exports the data to the NSC.

·     NetStream collector—A program running on an operating system. The NSC parses the packets received from the NDEs, and saves the data to its database.

·     NetStream data analyzer—A network traffic analyzing tool. Based on the data in NSC, the NDA generates reports for traffic billing, network planning, and attack detection and monitoring. The NDA can collect data from multiple NSCs. Typically, the NDA features a Web-based system for easy operation.

NSC and NDA are typically integrated into a NetStream server.

Figure 1 NetStream system

NetStream flow aging

NetStream uses flow aging to enable the NDE to export NetStream data to NetStream servers. NetStream creates a NetStream entry for each flow for storing the flow statistics in the cache.

When a flow is aged out, the NDE performs the following operations:

·     Exports the summarized data to NetStream servers in a specific format.

·     Clears NetStream entry information in the cache.

NetStream supports the following flow aging methods:

·     Periodical aging.

·     Forced aging.

·     TCP FIN- and RST-triggered aging.

Periodical aging

Periodical aging uses the following methods:

·     Inactive flow aging—A flow is inactive if no packet arrives for the NetStream entry within the inactive flow aging timer. When the timer expires, the following events occur:

¡     The inactive flow entry is aged out.

¡     The statistics of the flow are sent to NetStream servers and are cleared in the cache. The statistics can no longer be displayed by using the display ip netstream cache command.

This method ensures that inactive flow entries are cleared from the cache in a timely manner so new entries can be cached.

·     Active flow aging—A flow is active if packets arrive for the NetStream entry within the active flow aging timer. When the timer expires, the statistics of the active flow are exported to NetStream servers. The device continues to collect active flow statistics.

This method periodically exports the statistics of active flows to NetStream servers.

Forced aging

To implement forced aging, use one of the following methods:

·     Clear the NetStream cache immediately. All entries in the cache are aged out and exported to NetStream servers.

·     Specify the upper limit for cached entries and configure the system to take either of the following actions when the limit is reached:

¡     Age out the oldest entries.

¡     Disable creation of a new entry in the cache.

TCP FIN- and RST-triggered aging

TCP FIN- and RST-triggered aging is automatically performed when a TCP connection is terminated.

A TCP connection is terminated when a packet with a FIN or RST flag is received.

When a packet with a FIN or RST flag is recorded for a flow with an existing NetStream entry, the entry is immediately aged out, exported, and cleared. However, when the first packet of a flow has a FIN or RST flag, a new NetStream entry is created instead of being aged out.

NetStream data export

Traditional data export

Traditional NetStream collects the statistics of each flow and exports the statistics to NetStream servers.

This method consumes more bandwidth and CPU than the aggregation method, and it requires a large cache size.

Aggregation data export

NetStream aggregation merges the flow statistics according to the aggregation criteria of an aggregation mode, and it sends the summarized data to NetStream servers. The NetStream aggregation data export uses less bandwidth than the traditional data export.

Table 1 lists the available aggregation modes. In each mode, the system merges statistics for multiple flows into statistics for one aggregate flow if each aggregation criterion is of the same value. The system records the statistics for the aggregate flow. These aggregation modes work independently and can take effect concurrently.

For example, when the aggregation mode configured on the NDE is protocol-port, NetStream aggregates the statistics of flow entries by protocol number, source port, and destination port. Four NetStream entries record four TCP flows with the same destination address, source port, and destination port, but with different source addresses. In the aggregation mode, only one NetStream aggregation entry is created and sent to NetStream servers.

Table 1 NetStream aggregation modes

Aggregation mode

Aggregation criteria

AS aggregation

·     Source AS number

·     Destination AS number

·     Inbound interface index

·     Outbound interface index

BGP community

·     Inbound interface index

·     Outbound interface index

·     BGP community attribute

Protocol-port aggregation

·     Protocol number

·     Source port

·     Destination port

Source-prefix aggregation

·     Source AS number

·     Source address mask length

·     Source prefix (source network address)

·     Inbound interface index

Destination-prefix aggregation

·     Destination AS number

·     Destination address mask length

·     Destination prefix (destination network address)

·     Outbound interface index

Prefix aggregation

·     Source AS number

·     Destination AS number

·     Source address mask length

·     Destination address mask length

·     Source prefix

·     Destination prefix

·     Inbound interface index

·     Outbound interface index

Prefix-port aggregation

·     Source prefix

·     Destination prefix

·     Source address mask length

·     Destination address mask length

·     ToS

·     Protocol number

·     Source port

·     Destination port

·     Inbound interface index

·     Outbound interface index

ToS-AS aggregation

·     ToS

·     Source AS number

·     Destination AS number

·     Inbound interface index

·     Outbound interface index

ToS-source-prefix aggregation

·     ToS

·     Source AS number

·     Source prefix

·     Source address mask length

·     Inbound interface index

ToS-destination-prefix aggregation

·     ToS

·     Destination AS number

·     Destination address mask length

·     Destination prefix

·     Outbound interface index

ToS-prefix aggregation

·     ToS

·     Source AS number

·     Source prefix

·     Source address mask length

·     Destination AS number

·     Destination address mask length

·     Destination prefix

·     Inbound interface index

·     Outbound interface index

ToS-protocol-port aggregation

·     ToS

·     Protocol type

·     Source port

·     Destination port

·     Inbound interface index

·     Outbound interface index

ToS-BGP-nexthop

·     ToS

·     BGP next hop

·     Outbound interface index

If packets are not forwarded according to the BGP routing table, the AS number or BGP next hop cannot be obtained.

NetStream export formats

NetStream exports data in UDP datagrams in one of the following formats:

·     Version 5—Exports original statistics collected based on the 7-tuple elements and does not support the NetStream aggregation data export. The packet format is fixed and cannot be extended.

·     Version 8—Supports the NetStream aggregation data export. The packet format is fixed and cannot be extended.

·     Version 9—Based on a template that can be configured according to the template formats defined in RFCs. Version 9 supports exporting the NetStream aggregation data and collecting statistics about BGP next hop and MPLS packets.

·     Version 10—Similar to version 9. The difference between version 9 and version 10 is that version 10 export format is compliant with the IPFIX standard.

NetStream mirroring

NetStream mirroring copies packets that pass through the device to a NetStream module for collecting traffic statistics. The forwarding performance of the device is not affected.

NetStream mirroring has the following types:

·     NetStream flow mirroring—Copies the packets that meet specific QoS match criteria to a NetStream module.

·     NetStream port mirroring—Copies the packets passing through an interface to a NetStream module.

NetStream sampling

NetStream sampling collects statistics on fewer packets and is useful when the network has a large amount of traffic. NetStream on sampled traffic lessens the impact on the device's performance. For more information about sampling, see "Configuring samplers."

Protocols and standards

RFC 5101, Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of IP Traffic Flow Information

NetStream flow mirroring

The device supports inbound, outbound, and sampled NetStream flow mirroring. For NetStream sampling to operate correctly for NetStream flow mirroring on a device, the samplers used by NetStream flow mirroring must use the same sampling rate calculation method.

For the mirroring configuration to take effect, if you use the mirror-to command to mirror inbound or outbound traffic on specified cards, you must configure the sampler keyword at the same time.

NetStream flow mirroring supports mirroring traffic only to the current interface module.

NetStream port mirroring

Only Layer 2 and Layer 3 Ethernet interfaces on the following cards support NetStream port mirroring: CSPEX-1304X, CSPEX-1404X, CSPEX-1502X, CSPEX-1504X, CSPEX-1504XA, CSPEX-1602X, CSPEX-1602XA, CSPEX-1804X, CSPEX-1512X, CSPEX-1612X, CSPEX-1812X, RX-SPE200, CEPC-XP4LX, CEPC-XP24LX, CEPC-XP48RX, CEPC-CP4RX, CEPC-CP4RXA, CEPC-CP4RX-L, CSPEX-1802X, CSPEX-1802XA, CSPEX-1812X-E, CSPEX-2304X-G, CEPC-CQ8L, CEPC-CQ8LA, CEPC-CQ16L1, CSPEX-1502XA, RX-SPE200-E. For NetStream sampling to operate correctly for NetStream flow mirroring on a device, the samplers used by NetStream flow mirroring must use the same sampling rate calculation method.

NetStream sampling supports the following methods:

·     User-based NetStream sampling.

To configure user-based NetStream sampling, use the authorization-attribute netstream-sampler or aaa authorize user-name netstream-sampler command. For more information about the commands, see AAA commands in Security Command Reference.

·     Port mirroring sampling.

·     Flow mirroring sampling.

For CSPEX-1802X, CSPEX-1802XA, CSPEX-1812X-E, CSPEX-2304X-G, CEPC-CQ8L, CEPC-CQ8LA, CEPC-CQ16L1, CSPEX-1502XA, RX-SPE200-E, if you configure both the above sampling methods on the interface, all the methods take effect.

For CSPEX-1304X, CSPEX-1404X, CSPEX-1502X, CSPEX-1504X, CSPEX-1504XA, CSPEX-1602X, CSPEX-1602XA, CSPEX-1804X, CSPEX-1512X, CSPEX-1612X, CSPEX-1812X, RX-SPE200, CEPC-XP4LX, CEPC-XP24LX, CEPC-XP48RX, CEPC-CP4RX, CEPC-CP4RXA, CEPC-CP4RX-L, the above-mentioned sampling methods are in descending order of priority. If you configure multiple sampling methods on the interface, the sampling method with the highest priority takes effect.

If a QoS policy with a redirect-to-CPU action is applied to the outbound direction of an interface, the NetStream sampling does not take effect on packets matching the QoS action.

The device supports NetStream only in the outbound direction on an MPLS TE tunnel interface.

To configure NetStream flow mirroring, perform the following tasks:

1.     Enabling NetStream (system view)

2.     (Optional.) Enabling NetStream for an SRv6 TE policy

3.     (Optional.) Enabling archiving of cached NetStream entries

4.     Configuring NetStream flow mirroring

5.     (Optional.) Configuring the RFC 7011-compliant template format

6.     (Optional.) Configuring the NetStream data export format

7.     (Optional.) Configuring the refresh rate for NetStream version 9 or version 10 template

8.     (Optional.) Configuring MPLS-aware NetStream

9.     (Optional.) Configuring NetStream flow aging

¡     Configuring periodical flow aging

¡     Configuring forced flow aging

¡     Enabling TCP FIN- and RST-triggered flow aging

10.     Configuring the NetStream data export

a.     Configuring the NetStream traditional data export

b.     (Optional.) Configuring the NetStream aggregation data export

To configure NetStream port mirroring, perform the following tasks:

11.     Enabling NetStream (interface view)

12.     (Optional.) Enabling NetStream for an SRv6 TE policy

13.     (Optional.) Enabling archiving of cached NetStream entries

14.     (Optional.) Configuring NetStream sampling

¡     Configuring the NetStream sampleron an interface

¡     Enabling the NetStream sampler for an SRv6 TE policy

¡     Configuring standard mode for NetStream sampling

15.     (Optional.) Configuring the RFC 7011-compliant template format

16.     (Optional.) Configuring the NetStream data export format

17.     (Optional.) Configuring the refresh rate for NetStream version 9 or version 10 template

18.     (Optional.) Configuring MPLS-aware NetStream

19.     (Optional.) Configuring NetStream flow aging

¡     Configuring periodical flow aging

¡     Configuring forced flow aging

20.     Enabling TCP FIN- and RST-triggered flow aging

a.     Configuring the NetStream traditional data export

b.     (Optional.) Configuring the NetStream aggregation data export

Enabling NetStream (system view)

Restrictions and guidelines

NetStream in system view takes effect after NetStream mirroring is configured.

Procedure

1.     Enter system view.

system-view

2.     Enable NetStream.

ip netstream

By default, NetStream is disabled.

Enabling NetStream (interface view)

1.     Enter system view.

system-view

2.     Enter interface view.

interface interface-type interface-number

3.     Enable NetStream.

ip netstream { inbound | outbound }

By default, NetStream is disabled.

Enabling NetStream for an SRv6 TE policy

About this task

Perform this task on the ingress node for an SRv6 TE policy to enable NetStream to collect statistics about the outgoing traffic forwarded based on that SRv6 TE policy. For more information about SRv6 TE policies, see Segment Routing Configuration Guide.

Restrictions and guidelines

Global NetStream configuration does not take effect on NetStream based on an SRv6 TE policy.

Procedure

1.     Enter system view.

system-view

2.     Enable NetStream for an SRv6 TE policy.

ip netstream outbound srv6-policy end-point ipv6 ipv6-address color color-value

By default, NetStream is disabled for an SRv6 TE policy.

Enabling archiving of cached NetStream entries

About this task

By default, archiving of cached NetStream entries is disabled. NetStream entries are cleared from the cache after they are exported to NetStream servers. You cannot view the exported NetStream entry information.

This feature archives the cached NetStream entries in binary format to a local file named netstream.log when the entries are exported to NetStream servers. You can view the archived NetStream entries by using the display ip netstream cache archive command.

If not enough storage space is available for archiving a new NetStream entry, the system will overwrite the earliest entry with the new entry.

Restrictions and guidelines

This feature is applicable when a small number of NetStream entries exist and no log server exists. If the device generates a large number of NetStream entries, do not enable this feature. Otherwise, the device performance will be affected.

Procedure

1.     Enter system view.

system-view

2.     Enable archiving of cached NetStream entries.

ip netstream cache archive enable

By default, archiving of cached NetStream entries is disabled.

Configuring NetStream mirroring

Configuring NetStream flow mirroring

1.     Enter system view.

system-view

2.     Create a traffic class and enter traffic class view.

traffic classifier classifier-name [ operator { and | or } ]

3.     Define a match criterion.

if-match [ not ] match-criteria

For more information about this command, see the QoS commands in ACL and QoS Command Reference.

4.     Return to system view.

quit

5.     Create a traffic behavior and enter traffic behavior view.

traffic behavior behavior-name

6.     Configure a mirroring action for the traffic behavior. Choose the options to configure as needed:

¡     Mirror traffic to a slot.

In standalone mode:

mirror-to slot slot-number [ sampler sampler-name ]

In IRF mode:

mirror-to chassis chassis-number slot slot-number [ sampler sampler-name ]

By default, no mirroring actions are configured to mirror traffic to a slot.

For more information about these commands, see the mirroring commands in Network Management and Monitoring Command Reference.

¡     Mirror traffic to the slot where the traffic was received or sent out.

mirror-to local [ sampler sampler-name ]

By default, no mirroring actions are configured to mirror traffic to the slot where the traffic was received or sent out.

For more information about the mirror-to local command, see the mirroring commands in Network Management and Monitoring Command Reference.

7.     Return to system view.

quit

8.     Create a QoS policy and enter QoS policy view

qos policy policy-name

9.     Associate the traffic behavior with the traffic class in the QoS policy.

classifier classifier-name behavior behavior-name [ mode qppb-manipulation | insert-before before-classifier-name ] *

10.     Apply the QoS policy.

For information about applying a QoS policy, see the QoS configuration in ACL and QoS Configuration Guide.

Configuring NetStream sampling

Configuring the NetStream sampleron an interface

Restrictions and guidelines

By default, NetStream collects all data of target flows. If the flow traffic is heavy, NetStream is resource-consuming and can cause high CPU usage, which impacts the device forwarding performance. NetStream sampling is helpful to decrease the NetStream traffic volume. If the collected statistics can basically reflect the network status, you can enable this feature and set a proper sampling rate. The higher the sampling rate, the less impact on device performance.

Procedure

1.     Enter system view.

system-view

2.     Create a sampler.

For more information about a sampler, see "Configuring samplers."

3.     Enter interface view.

interface interface-type interface-number

4.     Configure the NetStream sampler.

ip netstream { inbound | outbound } sampler sampler-name

By default, NetStream sampler 1 is used.

Enabling the NetStream sampler for an SRv6 TE policy

About this task

Perform this task on the ingress node for an SRv6 TE policy to enable NetStream to sample the outgoing traffic forwarded based on that SRv6 TE policy. For more information about SRv6 TE policies, see Segment Routing Configuration Guide.

Restrictions and guidelines

In standard working mode, only the following cards support this feature: CSPEX-1802X, CSPEX-1802XA, CSPEX-1812X-E, CSPEX-2304X-G, CEPC-CQ8L, CEPC-CQ8LA, CEPC-CQ16L1, CSPEX-1502XA, RX-SPE200-E

In sdn-wan working mode, only the following cards support this feature: CSPEX-1304X, CSPEX-1404X, CSPEX-1502X, CSPEX-1504X, CSPEX-1504XA, CSPEX-1602X, CSPEX-1602XA, CSPEX-1804X, CSPEX-1512X, CSPEX-1612X, CSPEX-1812X, RX-SPE200, CEPC-XP4LX, CEPC-XP24LX, CEPC-XP48RX, CEPC-CP4RX, CEPC-CP4RXA, CEPC-CP4RX-L, CSPEX-1802X, CSPEX-1802XA, CSPEX-1812X-E, CSPEX-2304X-G, CEPC-CQ8L, CEPC-CQ8LA, CEPC-CQ16L1, CSPEX-1502XA, RX-SPE200-E

Procedure

1.     Enter system view.

system-view

2.     Create a sampler.

For more information about a sampler, see "Configuring samplers."

3.     Configure the NetStream sampler for an SRv6 TE policy.

ip netstream outbound sampler sampler-name srv6-policy end-point ipv6 ipv6-address color color-value

By default, NetStream sampler 1 is used for an SRv6 TE policy.

Configuring standard mode for NetStream sampling

About this task

To reduce the device load, perform this task to release the processor resources that NetStream sampling occupies in the high-performance mode.

This task takes effect on both IPv4 and IPv6 NetStream.

Restrictions and guidelines

Only the following cards support this feature:

CSPEX-1304X, CSPEX-1404X, CSPEX-1502X, CSPEX-1504X, CSPEX-1504XA, CSPEX-1602X, CSPEX-1602XA, CSPEX-1804X, CSPEX-1512X, CSPEX-1612X, CSPEX-1812X, RX-SPE200, CEPC-XP4LX, CEPC-XP24LX, CEPC-XP48RX, CEPC-CP4RX, CEPC-CP4RXA, CEPC-CP4RX-L, CSPEX-1802X, CSPEX-1802XA, CSPEX-1812X-E, CSPEX-2304X-G, CEPC-CQ8L, CEPC-CQ8LA, CEPC-CQ16L1, CSPEX-1502XA, RX-SPE200-E

Procedure

1.     Enter system view.

system-view

2.     Switch high-performance mode to standard mode for NetStream sampling.

flow standard-mode enable

By default, high-performance mode is enabled for NetStream sampling.

Configuring the RFC 7011-compliant template format

About this task

By default, NetStream uses the H3C-defined template format to export data. This feature uses the template format defined by the RFC 7011 for data export.

Restrictions and guidelines

The NetStream template format on the device must be consistent with that on the server.

Procedure

1.     Enter system view.

system-view

2.     Configure NetStream to use the template format defined by the RFC 7011.

ip netstream template rfc7011

By default, NetStream uses the H3C-defined template format.

Configuring the NetStream data export format

About this task

When you configure the NetStream data export format, you can also specify the following settings:

·     Whether or not to export the BGP next hop and serial number information.

Only version 9 and version 10 formats support exporting the BGP next hop and serial number information.

·     How to export the autonomous system (AS) information: origin-as or peer-as.

¡     origin-as—Records the original AS numbers for the flow source and destination.

¡     peer-as—Records the peer AS numbers for the flow source and destination.

For example, as shown in Figure 2, a flow starts at AS 20, passes AS 21 through AS 23, and then reaches AS 24. NetStream is enabled on the device in AS 22.

·     Specify the origin-as keyword to export AS 20 as the source AS and AS 24 as the destination AS.

·     Specify the peer-as keyword to export AS 21 as the source AS and AS 23 as the destination AS.

Figure 2 Recorded AS information varies by different keyword configurations

Procedure

1.     Enter system view.

system-view

2.     Configure the NetStream data export format, and configure the AS export, BGP next hop, and serial number export attributes.

Choose one option as needed:

¡     Set NetStream data export format to version 5 and configure the AS export attribute.

ip netstream export version 5 { origin-as | peer-as }

¡     Set NetStream data export format to version 9 or version 10 and configure the AS export, BGP, and serial number export attributes.

ip netstream export version { 9 | 10 } { origin-as | peer-as } [ bgp-nexthop ] [ serial-number ]

By default:

¡     NetStream data export uses the version 9 format.

¡     The peer AS numbers for the flow source and destination are exported.

¡     The BGP next hop and serial number information is not exported.

Configuring the refresh rate for NetStream version 9 or version 10 template

About this task

Version 9 and version 10 are template-based and support user-defined formats. A NetStream device must send the template to NetStream servers regularly, because the servers do not permanently save templates.

For a NetStream server to use the correct version 9 or version 10 template, configure the time-based or packet count-based refresh rate. If both settings are configured, the template is sent when either of the conditions is met.

Procedure

1.     Enter system view.

system-view

2.     Configure the refresh rate for the NetStream version 9 or version 10 template.

ip netstream export template refresh-rate { packet packets | time minutes }

By default, the packet count-based refresh rate is 20 packets, and the time-based refresh interval is 30 minutes.

Configuring MPLS-aware NetStream

About this task

An MPLS flow is identified by the same labels in the same position and the same 7-tuple elements. MPLS-aware NetStream collects statistics on a maximum of three labels in the label stack, with or without IP fields.

Procedure

1.     Enter system view.

system-view

2.     Collect statistics on MPLS packets.

ip netstream mpls [ label-positions label-position1 [ label-position2 [ label-position3 ] ] ] [ no-ip-fields ]

By default, statistics about MPLS packets are not collected.

Configuring NetStream flow aging

Configuring periodical flow aging

1.     Enter system view.

system-view

2.     Set the aging timer for active flows.

ip netstream timeout active minutes

By default, the aging timer is 30 minutes for active flows.

3.     Set the aging timer for inactive flows.

ip netstream timeout inactive seconds

By default, the aging timer is 30 seconds for inactive flows.

Configuring forced flow aging

1.     Enter system view.

system-view

2.     Set the upper limit for cached entries and specify the processing method when the limit is reached.

ip netstream max-entry { max-entries | aging | disable-caching }

By default, a maximum of 2048000 NetStream entries can be cached. The system will age out the oldest entries when the number of cached entries reaches the upper limit.

3.     Return to user view.

quit

4.     Clear the cache, including the cached NetStream entries and the related statistics.

reset ip netstream statistics

Enabling TCP FIN- and RST-triggered flow aging

1.     Enter system view.

system-view

2.     Enable TCP FIN- and RST-triggered aging.

ip netstream aging

By default, TCP FIN- and RST-triggered flow aging are enabled.

Configuring the NetStream data export

Configuring the NetStream traditional data export

1.     Enter system view.

system-view

2.     Specify a destination host for NetStream traditional data export.

In standalone mode:

ip netstream export host { ipv4-address | ipv6-address } udp-port [ vpn-instance vpn-instance-name ] [ slot slot-number ]

In IRF mode:

ip netstream export host { ipv4-address | ipv6-address } udp-port [ vpn-instance vpn-instance-name ] [ chassis chassis-number slot slot-number ]

By default, no destination host is specified.

3.     (Optional.) Specify the source interface for NetStream data packets sent to NetStream servers.

ip netstream export source interface interface-type interface-number

By default, NetStream data packets take the IP address of their output interface (interface that is connected to the NetStream device) as the source IP address.

As a best practice, connect the management Ethernet interface to a NetStream server, and configure the interface as the source interface.

4.     (Optional.) Limit the data export rate.

ip netstream export rate rate

By default, the data export rate is not limited.

Configuring the NetStream aggregation data export

About this task

NetStream aggregation enables the device to merge the flow statistics according to the aggregation mode criteria and to send the NetStream aggregation data to the NetStream server. NetStream aggregation reduces the occupation of network bandwidth.

Restrictions and guidelines

Configurations in NetStream aggregation mode view apply only to the NetStream aggregation data export, and those in system view apply to the NetStream traditional data export. If configurations in NetStream aggregation mode view are not provided, the configurations in system view apply to the NetStream aggregation data export.

If the version 5 format is configured to export NetStream data, NetStream aggregation data export uses the version 8 format.

Procedure

1.     Enter system view.

system-view

2.     Specify a NetStream aggregation mode and enter its view.

ip netstream aggregation { as | bgp-community | destination-prefix | prefix | prefix-port | protocol-port | source-prefix | tos-as | tos-bgp-nexthop | tos-destination-prefix | tos-prefix | tos-protocol-port | tos-source-prefix }

By default, no NetStream aggregation mode is configured.

3.     Enable the NetStream aggregation mode.

enable

By default, all NetStream aggregation modes are disabled.

4.     Specify a destination host for NetStream aggregation data export.

ip netstream export host { ipv4-address | ipv6-address } udp-port [ vpn-instance vpn-instance-name ]

By default, no destination host is specified.

If you expect only NetStream aggregation data, specify the destination host only in the related NetStream aggregation mode view.

5.     (Optional.) Specify the source interface for NetStream data packets sent to NetStream servers.

ip netstream export source interface interface-type interface-number

By default, no source interface is specified for NetStream data packets. The packets take the IP address of the output interface as the source IP address.

Source interfaces in different NetStream aggregation mode views can be different.

If no source interface is configured in NetStream aggregation mode view, the source interface configured in system view applies.

Display and maintenance commands for NetStream

Execute display commands in any view and reset commands in user view.

 

Task

Command

Display NetStream entry information.

In standalone mode:

display ip netstream cache [ verbose ] [ type { ip | ipl2 | l2 | mpls [ label-position1 label-value1 [ label-position2 label-value2 [ label-position3 label-value3 ] ] ] } ] [ destination destination-ip | destination-port destination-port | interface interface-type interface-number | protocol protocol | source source-ip | source-port source-port ] * [ arrived-time start-date start-time end-date end-time ] [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

display ip netstream cache [ verbose ] [ type { ip | ipl2 | l2 | mpls [ label-position1 label-value1 [ label-position2 label-value2 [ label-position3 label-value3 ] ] ] } ] [ destination destination-ip | destination-port destination-port | interface interface-type interface-number | protocol protocol | source source-ip | source-port source-port ] * [ arrived-time start-date start-time end-date end-time ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Display the locally archived NetStream entries.

In standalone mode:

display ip netstream cache archive [ verbose ] [ type { ip | ipl2 | l2 | mpls [ label-position1 label-value1 [ label-position2 label-value2 [ label-position3 label-value3 ] ] ] } ] [ destination destination-ip | destination-port destination-port | interface interface-type interface-number | protocol protocol | source source-ip | source-port source-port ] * [ arrived-time start-date start-time end-date end-time ] [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

display ip netstream cache archive [ verbose ] [ type { ip | ipl2 | l2 | mpls [ label-position1 label-value1 [ label-position2 label-value2 [ label-position3 label-value3 ] ] ] } ] [ destination destination-ip | destination-port destination-port | interface interface-type interface-number | protocol protocol | source source-ip | source-port source-port ] * [ arrived-time start-date start-time end-date end-time ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Display information about the NetStream data export.

In standalone mode:

display ip netstream export [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

display ip netstream export [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Display NetStream template information.

In standalone mode:

display ip netstream template [ slot slot-number [ cpu cpu-number ] ]

In IRF mode:

display ip netstream template [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Age out and export all NetStream data, and clear the cache.

reset ip netstream statistics

Example: Configuring NetStream traditional data export (NetStream flow mirroring)

Network configuration

As shown in Figure 3, configure NetStream on Router A to collect statistics on packets passing through Router A.

·     Enable NetStream for incoming traffic on Ten-GigabitEthernet 3/1/1.

·     Configure the router to export NetStream traditional data to UDP port 5000 of the NetStream server.

·     Configure fixed sampling in the inbound direction of Ten-GigabitEthernet 3/1/1and set the sampling rate to 8.

Figure 3 Network diagram

Procedure

# Assign an IP address to each interface, as shown in Figure 3. (Details not shown.)

# Configure sampler samp1 in fixed sampling mode, and set the sampling rate to 8.

<RouterA> system-view

[RouterA] sampler samp1 mode fixed packet-interval n-power 8

# Enable NetStream globally.

[RouterA] ip netstream

# Configure a QoS policy to mirror all IPv4 traffic to slot 3 by using the sampler samp1.

[RouterA] acl advanced 3000

[RouterA-acl-ipv4-adv-3000] rule 0 permit ip

[RouterA-acl-ipv4-adv-3000] quit

[RouterA] traffic classifier ns_ipv4

[RouterA-classifier-ns_ipv4] if-match acl 3000

[RouterA-classifier-ns_ipv4] quit

[RouterA] traffic behavior ns_ipv4

[RouterA-behavior-ns_ipv4] mirror-to slot 3 sampler samp1

[RouterA-behavior-ns_ipv4] quit

[RouterA] qos policy ns_ipv4

[RouterA-qospolicy-ns_ipv4] classifier ns_ipv4 behavior ns_ipv4

[RouterA-qospolicy-ns_ipv4] quit

# Apply the QoS policy to the inbound direction of Ten-GigabitEthernet 3/1/1.

[RouterA] interface ten-gigabitethernet 3/1/1

[RouterA-Ten-GigabitEthernet 3/1/1] qos apply policy ns_ipv4 inbound

[RouterA-Ten-GigabitEthernet 3/1/1] quit

# Specify 12.110.2.2 as the IP address of the destination host and UDP port 5000 as the export destination port number.

[RouterA] ip netstream export host 12.110.2.2 5000

Verifying the configuration

# Display NetStream entry information.

[RouterA] display ip netstream cache

IP NetStream cache information:

  Active flow timeout               : 30 min

  Inactive flow timeout             : 30 sec

  Max number of entries             : 1331200

  IP active flow entries            : 1

  MPLS active flow entries          : 0

  L2 active flow entries            : 0

  IPL2 active flow entries          : 0

  IP flow entries counted           : 4

  MPLS flow entries counted         : 0

  L2 flow entries counted           : 0

  IPL2 flow entries counted         : 0

  Last statistics resetting time    : Never

 

IP packet size distribution (87 packets in total):

 1-32   64   96  128  160  192  224  256  288  320  352  384  416  448  480

 .000 .505 .482 .000 .000 .000 .000 .011 .000 .000 .000 .000 .000 .000 .000

 

  512  544  576 1024 1536 2048 2560 3072 3584 4096 4608 >4608

 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000

 

 Protocol          Total   Packets     Flows   Packets  Active(sec)  Idle(sec)

                   Flows   /sec        /sec    /flow    /flow        /flow

------------------------------------------------------------------------------

 UDP-other             1         0         0         1            0         30

 ICMP                  1         0         0         8           32         30

 UDP-NetBios           1         0         0        42           60         30

 TCP-Telnet            1         0         0        24           18         10

 

Type DstIP(Port)         SrcIP(Port)         Pro ToS VNI   If(Direct) Pkts

     DstMAC(VLAN)           SrcMAC(VLAN)

     TopLblType(IP/MASK)    Lbl-Exp-S-List

------------------------------------------------------------------------------

IP   10.1.1.1(2048)      100.1.1.2(0)        1   0   N/A   XGE3/1/1(I) 12

# Display information about the NetStream data export.

[RouterA] display ip netstream export

IP export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 12.110.2.2 (5000)

  Version  5 exported flow number                 : 0

  Version  5 exported UDP datagram number (failed): 0 (0)

  Version  9 exported flow number                 : 4

  Version  9 exported UDP datagram number (failed): 4 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

IPL2 export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 12.110.2.2 (5000)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

Example: Configuring NetStream traditional data export (NetStream port mirroring)

Network configuration

As shown in Figure 4, configure NetStream on Router A to meet the following requirements:

·     Enable NetStream for incoming traffic on Ten-GigabitEthernet 3/1/1.

·     Configure the router to export NetStream traditional data to UDP port 5000 of the NetStream server.

·     Configure fixed sampling in the inbound direction of Ten-GigabitEthernet 3/1/1 and set the sampling rate to 8.

Figure 4 Network diagram

Procedure

# Assign an IP address to each interface, as shown in Figure 4. (Details not shown.)

# Configure sampler 1 in fixed sampling mode, and set the sampling rate to 8.

<RouterA> system-view

[RouterA] sampler samp1 mode fixed packet-interval n-power 8

# Enable NetStream for incoming traffic on Ten-GigabitEthernet 3/1/1.

[RouterA] interface ten-gigabitethernet 3/1/1

[RouterA-Ten-GigabitEthernet 3/1/1] ip netstream inbound

# Use sampler 1 for inbound NetStream sampling on Ten-GigabitEthernet 3/1/1.

[RouterA-Ten-GigabitEthernet 3/1/1] ip netstream inbound sampler samp1

[RouterA-Ten-GigabitEthernet 3/1/1] quit

# Specify 12.110.2.2 as the IP address of the destination host and UDP port 5000 as the export destination port number.

[RouterA] ip netstream export host 12.110.2.2 5000

Verifying the configuration

# Display NetStream entry information.

[RouterA] display ip netstream cache

IP NetStream cache information:

  Active flow timeout               : 30 min

  Inactive flow timeout             : 30 sec

  Max number of entries             : 1638400

  IP active flow entries            : 2

  MPLS active flow entries          : 0

  L2 active flow entries            : 0

  IPL2 active flow entries          : 0

  IP flow entries counted           : 0

  MPLS flow entries counted         : 0

  L2 flow entries counted           : 0

  IPL2 flow entries counted         : 0

  Last statistics resetting time    : Never

 

IP packet size distribution (11 packets in total):

 

 1-32   64   96  128  160  192  224  256  288  320  352  384  416  448  480

 .000 .000 .909 .000 .000 .090 .000 .000 .000 .000 .000 .000 .000 .000 .000

 

  512  544  576 1024 1536 2048 2560 3072 3584 4096 4608 >4608

 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000

 

 Protocol          Total  Packets    Flows  Packets Active(sec) Idle(sec)

                   Flows  /sec       /sec   /flow   /flow       /flow

---------------------------------------------------------------------------

Type DstIP(Port)            SrcIP(Port)            Pro ToS If(Direct)  Pkts

     DstMAC(VLAN)           SrcMAC(VLAN)

     TopLblType(IP/MASK)    Lbl-Exp-S-List

---------------------------------------------------------------------------

IP   10.1.1.1 (21)         100.1.1.2(1024)         1   0   XGE3/1/1(I)  5

# Display information about the NetStream data export.

[RouterA] display ip netstream export

IP export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 12.110.2.2 (5000)

  Version 5 exported flow number                  : 0

  Version 5 exported UDP datagram number (failed) : 0 (0)

  Version 9 exported flow number                  : 10

  Version 9 exported UDP datagram number (failed) : 10 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

IPL2 export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 12.110.2.2 (5000)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

Example: Configuring NetStream aggregation data export (NetStream flow mirroring)

Network configuration

As shown in Figure 5, all routers in the network are running EBGP. Configure NetStream on Router A to meet the following requirements:

·     Use version 5 format to export NetStream traditional data to port 5000 of the NetStream server.

·     Perform NetStream aggregation in the modes of AS, protocol-port, source-prefix, destination-prefix, and prefix.

·     Export the aggregation data of different modes to the NetStream server at 4.1.1.1/16, with UDP ports 2000, 3000, 4000, 6000, and 7000.

·     Collect incoming traffic statistics on Ten-GigabitEthernet 3/1/1and set the sampling rate to 8.

Figure 5 Network diagram

Procedure

# Assign an IP address to each interface, as shown in Figure 5. (Details not shown.)

# Configure sampler samp1 in fixed sampling mode, and set the sampling rate to 8.

<RouterA> system-view

[RouterA] sampler samp1 mode fixed packet-interval n-power 8

# Specify version 5 format to export NetStream traditional data.

[RouterA] ip netstream export version 5 origin-as

# Enable NetStream globally.

[RouterA] ip netstream

# Configure a QoS policy to mirror all IPv4 traffic to slot 3 by using the sampler samp1.

[RouterA] acl advanced 3000

[RouterA-acl-ipv4-adv-3000] rule 0 permit ip

[RouterA-acl-ipv4-adv-3000] quit

[RouterA] traffic classifier ns_ipv4

[RouterA-classifier-ns_ipv4] if-match acl 3000

[RouterA-classifier-ns_ipv4] quit

[RouterA] traffic behavior ns_ipv4

[RouterA-behavior-ns_ipv4] mirror-to slot 3 sampler samp1

[RouterA-behavior-ns_ipv4] quit

[RouterA] qos policy ns_ipv4

[RouterA-qospolicy-ns_ipv4] classifier ns_ipv4 behavior ns_ipv4

[RouterA-qospolicy-ns_ipv4] quit

# Apply the QoS policy to the inbound direction of Ten-GigabitEthernet 3/1/1.

[RouterA] interface ten-gigabitethernet 3/1/1

[RouterA-Ten-GigabitEthernet 3/1/1] qos apply policy ns_ipv4 inbound

[RouterA-Ten-GigabitEthernet 3/1/1] quit

# Specify 4.1.1.1 as the IP address of the destination host and UDP port 5000 as the export destination port number.

[RouterA] ip netstream export host 4.1.1.1 5000

# Set the aggregation mode to AS, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation as

[RouterA-ns-aggregation-as] enable

[RouterA-ns-aggregation-as] ip netstream export host 4.1.1.1 2000

[RouterA-ns-aggregation-as] quit

# Set the aggregation mode to protocol-port, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation protocol-port

[RouterA-ns-aggregation-protport] enable

[RouterA-ns-aggregation-protport] ip netstream export host 4.1.1.1 3000

[RouterA-ns-aggregation-protport] quit

# Set the aggregation mode to source-prefix, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation source-prefix

[RouterA-ns-aggregation-srcpre] enable

[RouterA-ns-aggregation-srcpre] ip netstream export host 4.1.1.1 4000

[RouterA-ns-aggregation-srcpre] quit

# Set the aggregation mode to destination-prefix, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation destination-prefix

[RouterA-ns-aggregation-dstpre] enable

[RouterA-ns-aggregation-dstpre] ip netstream export host 4.1.1.1 6000

[RouterA-ns-aggregation-dstpre] quit

# Set the aggregation mode to prefix, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation prefix

[RouterA-ns-aggregation-prefix] enable

[RouterA-ns-aggregation-prefix] ip netstream export host 4.1.1.1 7000

[RouterA-ns-aggregation-prefix] quit

Verifying the configuration

# Display information about the NetStream data export.

[RouterA] display ip netstream export

as aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (2000)

  Version  8 exported flow number                 : 5

  Version  8 exported UDP datagram number (failed): 5 (5)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

protocol-port aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (3000)

  Version  8 exported flow number                 : 5

  Version  8 exported UDP datagram number (failed): 5 (5)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

source-prefix aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (4000)

  Version  8 exported flow number                 : 4

  Version  8 exported UDP datagram number (failed): 4 (4)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

destination-prefix aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (6000)

  Version  8 exported flow number                 : 2

  Version  8 exported UDP datagram number (failed): 2 (2)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

prefix aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (7000)

  Version  8 exported flow number                 : 2

  Version  8 exported UDP datagram number (failed): 2 (2)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

IP export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (5000)

  Version  5 exported flow number                 : 5

  Version  5 exported UDP datagram number (failed): 5 (5)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

IPL2 export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (5000)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

Example: Configuring NetStream aggregation data export (NetStream port mirroring)

Network configuration

As shown in Figure 6, all routers in the network are running EBGP. Configure NetStream on Router A to meet the following requirements:

·     Use version 5 format to export NetStream traditional data to port 5000 of the NetStream server.

·     Perform NetStream aggregation in the modes of AS, protocol-port, source-prefix, destination-prefix, and prefix.

·     Export the aggregation data of different modes to the NetStream server at 4.1.1.1/16, with UDP ports 2000, 3000, 4000, 6000, and 7000.

·     Configure fixed sampling in the inbound direction of Ten-GigabitEthernet 3/1/1and set the sampling rate to 8.

Figure 6 Network diagram

Procedure

# Assign an IP address to each interface, as shown in Figure 6. (Details not shown.)

# Configure sampler 1 in fixed sampling mode, and set the sampling rate to 8.

<RouterA> system-view

[RouterA] sampler samp1 mode fixed packet-interval n-power 8

# Enable NetStream for incoming traffic on Ten-GigabitEthernet 3/1/1.

[RouterA] interface ten-gigabitethernet 3/1/1

[RouterA-Ten-GigabitEthernet 3/1/1] ip netstream inbound

# Use sampler 1 for inbound NetStream sampling on Ten-GigabitEthernet 3/1/1.

[RouterA-Ten-GigabitEthernet 3/1/1] ip netstream inbound sampler samp1

[RouterA-Ten-GigabitEthernet 3/1/1] quit

# Specify version 5 format to export NetStream traditional data and record the original AS numbers for the flow source and destination.

[RouterA] ip netstream export version 5 origin-as

# Specify 4.1.1.1 as the IP address of the destination host and UDP port 5000 as the export destination port number.

[RouterA] ip netstream export host 4.1.1.1 5000

# Set the aggregation mode to AS, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation as

[RouterA-ns-aggregation-as] enable

[RouterA-ns-aggregation-as] ip netstream export host 4.1.1.1 2000

[RouterA-ns-aggregation-as] quit

# Set the aggregation mode to protocol-port, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation protocol-port

[RouterA-ns-aggregation-protport] enable

[RouterA-ns-aggregation-protport] ip netstream export host 4.1.1.1 3000

[RouterA-ns-aggregation-protport] quit

# Set the aggregation mode to source-prefix, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation source-prefix

[RouterA-ns-aggregation-srcpre] enable

[RouterA-ns-aggregation-srcpre] ip netstream export host 4.1.1.1 4000

[RouterA-ns-aggregation-srcpre] quit

# Set the aggregation mode to destination-prefix, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation destination-prefix

[RouterA-ns-aggregation-dstpre] enable

[RouterA-ns-aggregation-dstpre] ip netstream export host 4.1.1.1 6000

[RouterA-ns-aggregation-dstpre] quit

# Set the aggregation mode to prefix, and specify the destination host for the aggregation data export.

[RouterA] ip netstream aggregation prefix

[RouterA-ns-aggregation-prefix] enable

[RouterA-ns-aggregation-prefix] ip netstream export host 4.1.1.1 7000

[RouterA-ns-aggregation-prefix] quit

Verifying the configuration

# Display information about the NetStream data export.

[RouterA] display ip netstream export

as aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (2000)

  Version 8 exported flow number                  : 2

  Version 8 exported UDP datagram number (failed) : 2 (0)

  Version 9 exported flow number                  : 0

  Version 9 exported UDP datagram number (failed) : 0(0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

protocol-port aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (3000)

  Version 8 exported flow number                  : 2

  Version 8 exported UDP datagram number (failed) : 2 (0)

  Version 9 exported flow number                  : 0

  Version 9 exported UDP datagram number (failed) : 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

source-prefix aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (4000)

  Version 8 exported flow number                  : 2

  Version 8 exported UDP datagram number (failed) : 2 (0)

  Version 9 exported flow number                  : 0

  Version 9 exported UDP datagram number (failed) : 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

destination-prefix aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (6000)

  Version 8 exported flow number                  : 2

  Version 8 exported UDP datagram number (failed) : 2 (0)

  Version 9 exported flow number                  : 0

  Version 9 exported UDP datagram number (failed) : 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

prefix aggregation export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (7000)

  Version 8 exported flow number                  : 2

  Version 8 exported UDP datagram number (failed) : 2 (0)

  Version 9 exported flow number                  : 0

  Version 9 exported UDP datagram number (failed) : 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

IP export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (5000)

  Version 5 exported flow number                  : 10

  Version 5 exported UDP datagram number (failed) : 10 (0)

  Version 9 exported flow number                  : 0

  Version 9 exported UDP datagram number (failed) : 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

IPL2 export information:

  Flow source interface                           : Not specified

  Flow destination VPN instance                   : Not specified

  Flow destination IP address (UDP)               : 4.1.1.1 (5000)

  Version  9 exported flow number                 : 0

  Version  9 exported UDP datagram number (failed): 0 (0)

  Version 10 exported flow number                 : 0

  Version 10 exported UDP datagram number (failed): 0 (0)

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网