Configuring attributes of netstream export data, Configuring netstream export format – H3C Technologies H3C MSR 50 User Manual

Page 112

Advertising
background image

Configuring attributes of NetStream export data

Configuring NetStream export format

The NetStream export format exports NetStream data in version 5 or version 9 formats, and the data

fields can be expanded to contain more information, including the following:

Statistics about source AS, destination AS, and peer ASs in version 5 or version 9 export format.

Statistics about BGP next hop in version 9 format only.

To configure the NetStream export format:

Step Command

Remarks

244.

Enter system view.

system-view

N/A

Optional.
By default:

NetStream traditional data export

uses version 5.

245.

Configure the version
for NetStream export

format, and specify
whether to record AS

and BGP next hop

information.

ip netstream export version 5

[ origin-as | peer-as ]

IPv4 NetStream aggregation data
export uses version 8.

ip netstream export version 9

[ origin-as | peer-as ]

[ bgp-nexthop ]

MPLS flow data is not exported.

The peer AS numbers are exported

for the source and destination.

The BGP next hop is not exported.

For more information about an AS, see Layer 3IP Routing Configuration Guide.
A NetStream entry for a flow records the source IP address and the destination IP address, each with two
AS numbers. The source IP address includes the source AS from which the flow originates and the peer

AS from which the flow travels to the NetStream-enabled device. The destination IP address includes the

destination AS to which the flow is destined and the peer AS to which the NetStream-enabled device

passes the flow.
To specify which AS numbers to record for the source and destination IP addresses, include the peer-as

or origin-as keyword. For example, as shown in

Figure 33

, 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. If the peer-as keyword

is provided, the command records AS 21 as the source AS and AS 23 as the destination AS. If the
origin-as keyword is provided, the command records AS 20 as the source AS and AS 24 as the

destination AS.

99

Advertising