To do...
3.
Configure forced aging of the NetStream
entries.
Displaying and maintaining NetStream
To do...
Display the NetStream entry
information in the cache
Display information about
NetStream data export
Display the configuration and
status of the NetStream flow
record templates
Clear the cache, age out and
export all NetStream data
Configuring NetStream examples
Configuring NetStream traditional data export example
Network requirements
As shown in
Configure the device to export NetStream traditional data to UDP port 5000 of the NetStream server at
12.1 10.2.2/16.
Figure 75 Network diagram for configuring NetStream traditional data export
Configuration procedure
# Enable NetStream in the inbound direction of GigabitEthernet 1/0/1.
<SwitchA> system-view
[SwitchA] interface GigabitEthernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] ip netstream inbound
[SwitchA-GigabitEthernet1/0/1] quit
# Create VLAN-interface 2000 and configure it as the source interface for NetStream common data
export.
[SwitchA] vlan 2000
Use the command...
display ip netstream cache [ verbose ] [ slot
slot-number ] [ | { begin | exclude |
include } regular-expression ]
display ip netstream export [ | { begin |
exclude | include } regular-expression ]
display ip netstream template [ slot slot-
number ] [ | { begin | exclude | include }
regular-expression ]
reset ip netstream statistics
Figure
75, configure NetStream on Switch A to collect statistics on packets passing through it.
Use the command...
reset ip netstream statistics
208
Remarks
Optional.
This command also
clears the cache.
Remarks
Available in any view
Available in any view
Available in any view
Available in user view