Configuring IPv6 NetStream sampling
Step
1.
Enter system view.
2.
Create a sampler.
3.
Enter interface view.
4.
Configure IPv6
NetStream sampling.
Configuring attributes of the IPv6 NetStream data
export
Configuring the IPv6 NetStream data export format
An IPv6 NetStream entry for a flow records the source IPv6 address, destination IPv6 address, and their
respective AS numbers. You can choose to configure which AS numbers are 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. IPv6 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).
Command
system-view
sampler sampler-name mode { fixed | random }
packet-interval rate
interface interface-type interface-number
ipv6 netstream { inbound | outbound } sampler
sampler-name
Figure
71, a flow starts at AS 20, passes AS 21 through AS 23, and then
230
Remarks
N/A
For more information
about samplers, see
"Configuring samplers."
N/A
By default, IPv6 NetStream
sampling is disabled.