Cisco Cisco IOS Software Release 12.2(27)SBC
NetFlow MPLS Aggregation
How to Configure NetFlow MPLS Aggregation
4
Cisco IOS Release 12.2(31)SB2
Step 3
ip flow-cache mpls label-positions
[label-position-1 [label-position-2
[label-position-3]]] exp-bgp-prefix-fields
Example:
Router(config)# ip flow-cache mpls
label-positions 1 2 exp-bgp-prefix-fields
Configures the MPLS label positions and enables capturing
the MPLS-PET traffic matrix data.
the MPLS-PET traffic matrix data.
Step 4
ip flow-export version
9 bgp-nexthop
Example:
Router(config)# ip flow-export version 9
bgp-nexthop
Enables the export of information in NetFlow cache entries.
•
The version 9 keyword specifies that the export packet
uses the Version 9 format.
uses the Version 9 format.
•
The bgp-nexthop keyword specifies that export
statistics include BGP next hop related information.
statistics include BGP next hop related information.
Step 5
ip flow-aggregation cache
exp-bgp-prefix
Example:
Router(config)# ip flow-aggregation cache
exp-bgp-prefix
Enables the NetFlow exp-bgp-prefix aggregation cache and
enters aggregation cache configuration mode.
enters aggregation cache configuration mode.
Step 6
export version 9
Example:
Router(config-flow-cache)# export version 9
Specifies the version for the data export format
•
The version 9 keyword specifies that the export packet
uses the Version 9 format.
uses the Version 9 format.
Step 7
export destination
{ip-address | hostname}
port-number
Example:
Router(config-flow-cache)# export destination
172.16.10.2 99
Enables the exporting of information from NetFlow
aggregation caches.
aggregation caches.
•
The ip-address or hostname argument is the destination
IP address or hostname.
IP address or hostname.
•
The port-number argument is the destination port
Step 8
enabled
Example:
Router(config-flow-cache)# enabled
Enables the exp-bgp-prefix aggregation cache.
Step 9
exit
Example:
Router(config-flow-cache)# end
Exits aggregation cache configuration mode and returns to
global configuration mode.
global configuration mode.
Step 10
interface
interface-number interface-type
Example:
Router(config)# interface fastethernet 2/1/l
Specifies the interface on which you want to enable
NetFlow and enters interface configuration mode.
NetFlow and enters interface configuration mode.
Command or Action
Purpose