257
Task
Command
(In IRF mode.) Display NetStream
entry information.
display ip netstream
cache
[
verbose
] [
type
{
ip
|
ipl2
|
l2
|
mpls
[
label-position1 label-value1
[
label-position2 label-value2
[
label-position3 label-value3
] ]
]
}
] [
destination
destination-ip |
interface
interface-type interface-number
|
source
source-ip
] *
[
chassis
chassis-number
slot slot-number
]
Display information about the
NetStream data export.
display ip netstream export
(In standalone mode.) Display
NetStream template information.
display ip netstream template
[
slot slot-number
]
(In IRF mode.) Display NetStream
template information.
display ip netstream template
[
chassis
chassis-number
slot
slot-number
]
Export all NetStream data and clear
the cache.
reset ip netstream statistics
NetStream configuration examples
NetStream traditional data export configuration example
Network requirements
, configure NetStream on Switch A to collect statistics on packets passing
through Switch A.
•
Enable NetStream for incoming traffic on Gigabitethernet 1/0/1 and outgoing traffic on
GigabitEthernet 1/0/2.
•
Configure the switch to export NetStream traditional data to UDP port 5000 of the NetStream
server.
Figure 73 Network diagram
Configuration procedure
# Assign an IP address to each interface, as shown in
. (Details not shown.)
# Configure GigabitEthernet 1/0/1 to operate in Layer 3 mode.
<SwitchA> system-view
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] port link-mode route
# Enable NetStream for incoming traffic on GigabitEthernet 1/0/1.
[SwitchA-GigabitEthernet1/0/1] ip netstream inbound
[SwitchA-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 to operate in Layer 3 mode.
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] port link-mode route
# Enable NetStream for outgoing traffic on GigabitEthernet 1/0/2.
Network
NetStream server
GE1/0/1
11.110.2.1/16
GE1/0/2
12.110.2.1/16
Switch A
12.110.2.2/16
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...