H3C S7500 Series Operation Manual page 984

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches
<H3C>system-view
[H3C] ip netstream inbound source 3 to 5
# Enable Netstream on the LPU in slot 5 to collect statistics about the inbound packets
with source IP address 192.168.0.5 on the interface board in slot 2.
[H3C] acl number 2003
[H3C-acl-basic-2003] rule permit source 192.168.0.5 0
[H3C] ip netstream inbound source 2 to 5 acl 2003
# Configure the source IP address of UDP packets.
[H3C] vlan 20
[H3C-vlan20] port GigabitEthernet2/0/5
[H3C-vlan20] quit
[H3C] interface vlan-interface 20
[H3C-vlan-interface20] ip address 12.110.2.1 24
[H3C-vlan-interface20] quit
[H3C] ip netstream export source 12.110.2.1
# Configure the destination IP address and port number of UDP packets.
[H3C] ip netstream export host 12.110.2.2 9991
# Display the running status of Netstream.
[H3C] display ip netstream cache slot 5
IP netstream cache information in slot 5
Stream active timeout(minute)
Stream inactive timeout(second): 60
Active stream entry
Stream entry been counted
Last statistics reset time
Protocol
UDP-other
UDP-NetBios
Total
# Display information about Netstream export packets on the LPU.
[H3C] display ip netstream export slot 5
IP netstream export information in slot 5
IP netstream is enabled in slot : 2
IP netstream is enabled in slot : 3
Version 5 export information
Stream source address
Stream destination IP(UDP)
: 30
: 1
: 100
:
8/10/2004, 15:42:12
Total
Packets
Stream
Streams
/Sec
93
713510
7
0
100
713510
2-9
Chapter 2 Netstream Configuration
Packets
/Sec
/stream
0
43984487
0
1
0
40905573
: 12.110.2.1
: 12.110.2.2 (9991)

Advertisement

Table of Contents
loading

Table of Contents