H3C SR6600-X Configuration Manual page 228

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Statistics about source AS, destination AS, and peer ASs in version 5 or version 9 format.
Statistics about BGP next hop only in version 9 format.
To configure the NetStream data export format:
Step
1.
Enter system view.
2.
(Optional.) Configure
the NetStream data
export format, and
specify whether to
record AS and BGP next
hop information.
A NetStream entry for a flow records the source IP address and destination IP address, and two AS
numbers for each IP address. You can choose to configure the AS numbers to be exported as the source
AS and destination AS:
origin-as—Exports statistics of the source AS originating the route for the source address and the
destination AS for the destination address.
peer-as—Exports statistics of the peer ASs for the source and destination address.
For example, as shown in
reaches AS 24. NetStream is enabled on the device in AS 22.
If the origin-as keyword is specified, this command exports statistics of AS 20 (the source AS) and
AS 24 (the destination AS).
If the peer-as keyword is specified, this command exports statistics of AS 21 (the source AS) and AS
23 (the destination AS).
Figure 66 Recorded AS information varies by different keyword configurations
AS 20
Include peer-as in the command.
AS 21 is recorded as the source AS, and
AS 23 as the destination AS.
Include origin-as in the command.
AS 20 is recorded as the source AS and
AS 24 as the destination AS.
Command
system-view
ip netstream export version 5
[ origin-as | peer-as ]
ip netstream export version 9
[ origin-as | peer-as ]
[ bgp-nexthop ]
Figure
66, a flow starts at AS 20, passes AS 21 through AS 23, and then
AS 21
214
Remarks
N/A
By default:
The NetStream traditional data
export uses the version 9 format.
MPLS flow data is not exported.
The peer AS numbers are exported
for the source and destination.
The BGP next hop is not exported.
Enable NetStream
AS 22
AS 23
AS 24

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents