267
Enabling IPv6 NetStream on an interface
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Enable IPv6 NetStream
on the interface.
ipv6 netstream
{
inbound | outbound
}
By default, IPv6 NetStream is
disabled on an interface.
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. The
origin-as
and
peer-as
keywords in the
ipv6 netstream export
version
command specify the AS numbers to be exported.
•
origin-as
—Specifies the source AS of the source address and the destination AS of the
destination address.
•
peer-as
—Specifies the ASs before and after the AS where the NetStream device resides as
the source AS and the destination AS, respectively.
, a flow starts at AS 20, passes AS 21 through AS 23, and then
reaches AS 24. IPv6 NetStream is enabled on the device in AS 22.
•
The
origin-as
keyword defines AS 20 as the source AS and AS 24 as the destination AS.
•
The
peer-as
keyword defines AS 21 as the source AS and AS 23 as the destination AS.
Figure 77 Recorded AS information varies by different keyword configurations
AS 20
AS 21
AS 22
AS 23
Enable IPv6
NetStream
Include
origin-as
in the command.
AS 20 is recorded as the source AS, and
AS 24 as the destination AS.
AS 24
Include
peer-as
in the command.
AS 21 is recorded as the source AS, and
AS 23 as the destination AS.