Traffic monitoring configuration examples, Configuring sflow – Dell POWEREDGE M1000E User Manual
Page 435
![background image](/manuals/620825/435/background.png)
Monitoring Switch Traffic
435
Traffic Monitoring Configuration Examples
This section contains the following examples:
• Configuring sFlow
• Configuring RMON
Configuring sFlow
This example shows how to configure the switch so that ports 10-15 and port
23 send sFlow datagrams to an sFlow receiver at the IP address 192.168.20.34.
The receiver owner is receiver1, and the timeout is 100000 seconds. A counter
sample is generated on the ports every 60 seconds (polling interval), and 1 out
of every 8192 packets is sampled.
To configure the switch:
1 Configure information about the sFlow receiver.
console#configure
console(config)#sflow 1 destination 192.168.30.34
console(config)#sflow 1 destination owner
receiver1 timeout 100000
2 Configure the polling and sampling information for gigabit Ethernet ports
10-20.
console(config)#sflow 1 polling gi1/0/10-15 60
console(config)#sflow 1 sampling gi1/0/10-15 8192
3 Configure the polling and sampling information for gigabit Ethernet port
23.
console(config)#interface gi1/0/23
console(config-if-Gi1/0/23)#sflow 1 polling 60
console(config-if-Gi1/0/23)#sflow 1 sampling 8192
4 Verify the configured information.
console#show sflow 1 destination
Receiver Index.................... 1
Owner String...................... receiver1
Time out.......................... 99994
IP Address:....................... 192.168.30.34
Address Type...................... 1