EasyManua.ls Logo

3Com Switch 4800G 24-Port - Page 1205

3Com Switch 4800G 24-Port
1246 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
sFlow Configuration Example 1205
GigabitEthernet 1/0/3 belongs to VLAN 1, having an IP address of 3.3.3.1.
Run sFlow agent on Switch, and enable sFlow on GigabitEthernet 1/0/1 to monitor
traffic on this interface. Switch sends sFlow packets through GigabitEthernet 1/0/3
to Host B, which then analyzes the sFlow packets and displays the results.
Network diagram
Figure 356 Network diagram for sFlow configuration
Configuration procedure
# Configure an IP address for the sFlow agent.
<Switch> system-view
[Switch] sflow agent ip 3.3.3.1
# Specify the IP address and port number of the sFlow collector.
[Switch] sflow collector ip 3.3.3.2
# Set the sFlow interval to 30 seconds.
[Switch] sflow interval 30
# Enable sFlow in both the inbound and outbound directions on GigabitEthernet
1/0/1.
[Switch] interface GigabitEthernet 1/0/1
[Switch-GigabitEthernet1/0/1] sflow enable both
# Specify the traffic sampling rate.
[Switch-GigabitEthernet1/0/1] sflow sampling-rate 100000
# Display the sFlow configuration information.
[Switch-GigabitEthernet1/0/1] display sflow
sFlow Global Information:
Agent IP:3.3.3.1
Collector IP:3.3.3.2 Port: 6343
Interval(s): 30
sFlow Port Information:
Interface Direction Rate Mode Status
GE1/0/1 Both 100000 Random Active
Host B
3.3.3.2/16
Host A
GE1/0/3
GE1/0/1
Server
Switch
Collector
GE1/0/2
VLAN 1
3.3.3.1/16

Table of Contents

Related product manuals