User guide

Packet Over SONET Module Installation and User Guide 3-67
Configuring and Monitoring Flow Statistics
To configure the export groups and flow-collector devices to which NetFlow datagrams
are exported, use the following command:
config flowstats export {<group#>} [add | delete]
[<ipaddress> | <hostname>] <udp_port>
The optional group# parameter is an integer in the range from 1 through 32 that
identifies the specific group for which the destination is being configured. If you do not
specify a value for the
group# parameter, the parameter value defaults to 1.
You can use the
add and delete keywords to add or delete flow-collector destinations.
To export NetFlow datagrams to a group, you must configure at least one flow-collector
destination. By default, no flow-collector destinations are configured. To configure a
flow-collector destination, use either an IP address and UDP port number pair or a
hostname and UDP port number pair to identify the flow-collector device to which
NetFlow export datagrams are to be transmitted. You can configure up to eight
flow-collector destinations for each group. When multiple flow-collectors are configured
as members of the same group, the exported NetFlow datagrams are distributed across
the available destinations.
Configuring the Source IP Address
To configure the IP address that is to be used as the source IP address for NetFlow
datagrams to be exported, use the following command:
config flowstats source ipaddress <ipaddress>
No NetFlow datagrams are exported until the source IP address is configured.
Depending on how it is configured, a flow-collector device can use the source IP
address of received NetFlow datagrams to identify the switch that sent the information.
The configured IP address should be associated with a VLAN that has
loopback-mode enabled.
The following command example specifies that the IP address 192.168.100.1 is to be
used as the source IP address for exported NetFlow datagrams.
config flowstats source ipaddress 192.168.100.1