H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 2
Netstream Configuration Commands
2-8
peer-as: Use peer AS numbers as the AS numbers for individual IP addresses.
Description
Use the ip netstream export version command to configure the version and the AS
option for Netstream export packets in non-aggregation mode.
Use the undo ip netstream export version command to restore the default
configuration.
By default, version 5 is used and the AS option is peer-as.
Netstream can use three versions of Netstream export packets to send aged stream
entries: version 5, version 8 and version 9. But currently, only version 5 and version 9
are configurable:
z If version 5 is configured: the system sends normal stream entries through version
5 packets and sends aggregated stream entries through version 8 packets.
z If version 9 is configured: the system sends all aged stream entries through
version 9 packets.
Examples
# Configure to use version 5 Netstream export packets and use original AS numbers as
the AS numbers for individual IP addresses.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip netstream export version 5 origin-as
2.1.9 ip netstream inbound source
Syntax
ip netstream inbound source srcslot-number to dstslot-number [ acl acl-number ]
undo ip netstream inbound source srcslot-number to dstslot-number
View
System view
Parameters
srcslot-number: Slot number of an interface board.
dstslot-number: Slot number of an LPU.
acl-number: Index of an ACL.
Description
Use the ip netstream inbound source command to mirror the inbound packets on an
interface board to an LPU and enable Netstream, a packet statistics function.