ip flow-export
This command defines the host/port to send flow statistics to. IP flow (NetFlow) is a feature that gives the ability to collect IP network traffic. The NetFlow records are generated from the firewall statistics. Since the NetFlow information is taken from the firewall, you must activate firewall capabilities on the monitored interface.
Syntax
ip flow-export enable ip flow-export destination <a.b.c.d> <port> ip flow-export version <version number> enable ip flow-export source-address interface <interface name> <interface-id>
Command |
Description |
---|---|
enable |
Enables IP flow statistics. |
destination |
Specifies the NetFlow Destination server IP address. |
port |
Defines the NetFlow server port number (1-65535). The default port is 2055. |
source-address |
Sets the source of the NetFlow packets. If not specified, the source will be set according to the routing table interface. |
version number |
Enables NetFlow version number (5 or 9). |
a.b.c.d |
Defines the Netflow IP address. |
Interface Name |
Interface Type |
Interface ID |
---|---|---|
gigabitethernet |
GigabitEthernet interface slot and port (VLAN ID is optional) |
[SLOT/PORT.VLANID] |
cellular |
Cellular interface ID |
0/0 |
gre |
Tunnel GRE ID |
[1-255] |
ipip |
Tunnel IPIP ID |
[1-255] |
l2tp |
L2TP ID |
[0-99] |
pppoe |
PPPoE interface ID |
[1-3] |
pptp |
PPTP ID |
[0-99] |
vlan |
Vlan ID |
[1-3999] |
loopback |
Loopback ID |
[1-5] |
bvi |
Bridge interface |
[1-255] |
Default
NA
Command Mode
Privileged User
Example
This example enables IP flow statistics.
(config-data)# ip flow-export enable