348
Parameters
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.
bgp-nexthop
: Exports statistics of BGP next hops.
Usage guidelines
An IPv6 NetStream entry for a flow records the source IPv6 address, destination IPv6 address, and
two AS numbers for each address. You can choose to configure which AS numbers are to be
exported as the source AS and destination AS.
When you execute the command without any keywords, the peer AS numbers are recorded, and the
BGP next hop is not recorded.
Examples
# Configure the device to export IPv6 NetStream data in the version 9 format, and specify the IPv6
NetStream data to include the source AS and destination AS.
<Sysname> system-view
[Sysname] ipv6 netstream export version 9 origin-as
ipv6 netstream timeout active
Use
ipv6 netstream timeout active
to set the aging timer for active flows.
Use
undo ipv6 netstream timeout active
to restore the default.
Syntax
ipv6 netstream timeout active
minutes
undo ipv6 netstream timeout active
Default
The aging timer is 5 minutes for active flows.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
minutes
: Sets the aging timer for active flows, in the range of 1 to 5 minutes.
Usage guidelines
A flow is considered active if packets for the IPv6 NetStream entry arrive within the period set by the
aging timer.
Examples
# Set the aging timer to 5 minutes for active flows.
<Sysname> system-view
[Sysname] ipv6 netstream timeout active 60
Related commands
ipv6 netstream timeout inactive