Operation Manual – NAT, Netstream, Policy RoutingH3C S7500 Series Ethernet Switches Chapter 2 Netstream Configuration2-6Both version 5 and 9 packets support the AS options of the border gateway protocol(BGP). You can choose to use original AS numbers (origin-as) or peer AS numbers(peer-as) as the AS numbers for individual IP addresses.Follow these steps to configure the version and AS option for Netstream exportpackets:To do… Use the command… RemarksEnter system view system-view —Configure the version andAS option for Netstreamexport packetsip netstream exportversion version-number[ origin-as | peer-as ]OptionalBy default, version 5 andAS option peer-as areused for Netstream exportpackets.2.2.7 Configuring the DSCP Value for Netstream Export PacketsUse the ip netstream export dscp command to configure the differentiated servicescode point (DSCP) value for Netstream export packets. Netstream packets will beclassified by their DSCP values.Follow these steps to configure the DSCP value for Netstream export packets:To do… Use the command… RemarksEnter system view system-view —Configure the DSCPvalue for Netstreamexport packetsip netstream exportdscp dscp-valueOptionalBy default, the DSCPvalue is 0.2.2.8 Configuring Netstream Entry Aging TimeWith Netstream enabled, a stream entry is first created and saved in the Netstreamcache for the system to collect statistics about a stream. Once a preset aging time isreached, the system sends the statistics of the stream in Netstream export packet toNSC and deletes (ages) the entry from the cache.The aging has two ways:z Aging by active time: a stream entry is aged out when the active time of the stream(the time elapsed since the stream entry was created) exceeds the correspondingpreset time limit.z Aging by inactive time: a stream entry is aged out when the inactive time of thestream (the time elapsed since the last packet of the stream passed the switch)exceeds the corresponding preset time limit.