73-3
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 73 Configuring NetFlow-lite
Configuring NetFlow Packet Sampling
Example
This example shows how configure the external collector and to verify the exporter configuration:
Switch#
config terminal
Switch(config)#
netflow-lite exporter exporter1
Switch(config-netflow-lite-exporter)#
destination 5.5.5.6
Switch(config-netflow-lite-exporter)#
source 5.5.5.5
Switch(config-netflow-lite-exporter)#
transport udp 8188
Switch(config-netflow-lite-exporter)#
ttl 128
Switch(config-netflow-lite-exporter)#
cos 7
Switch(config-netflow-lite-exporter)#
dscp 32
Switch(config-netflow-lite-exporter)#
template data timeout 1
Switch(config-netflow-lite-exporter)#
options sampler-table timeout 1
Switch(config-netflow-lite-exporter)#
options interface-table timeout 1
Switch(config-netflow-lite-exporter)#
export-protocol netflow-v9
Switch(config-netflow-lite-exporter)#
exit
Switch(config)#
exit
Switch#
show netflow-lite exporter exporter1
Netflow-lite Exporter exporter1:
Network Protocol Configuration:
Destination IP address: 5.5.5.6
Source IP Address: 5.5.5.5
VRF label: none
DSCP: 0x20
TTL: 128
COS: 7
Command
Purpose
Step 1
Switch#
config terminal
Enters configuration mode
Step 2
Switch(config)#
netflow-lite exporter
exporter
Defines an exporter and to enter NetFlow-lite
exporter submode
Step 3
Switch(config-netflow-lite-exporter)#
destination
source-address
Specifies a destination address
Step 4
Switch(config-netflow-lite-exporter)#
source
source-address
Specifies a source Layer 3 interface
Step 5
Switch(config-netflow-lite-exporter)#
vrf
source-address
Specifies a VRF label
Step 6
Switch(config-netflow-lite-exporter)#
transport udp
destination-port
Specifies a UDP transport destination port
Step 7
Switch(config-netflow-lite-exporter)#
ttl
ttl-value
Specifies a ttl value
Step 8
Switch(config-netflow-lite-exporter)#
cos
cos-value
Specifies a cos value
Step 9
Switch(config-netflow-lite-exporter)#
dscp
dscp-value
Specifies a dscp value
Step 10
Switch(config-netflow-lite-exporter)#
template data
timeout
timeout
Specifies a template data timeout
Step 11
Switch(config-netflow-lite-exporter)#
options
{
sampler-table
|
interface-table
}
timeout
timeout
Specifies an options timeout
Step 12
Switch(config-netflow-lite-exporter)#
export-protocol
{
netflow-v9
|
ipfix
}
Specifies the export protocol
Step 13
Switch(config-netflow-lite-exporter)#
exit
Returns to global configuration mode
Step 14
Switch(config)#
exit
Returns to EXEC mode
Step 15
Switch#
show netflow-lite exporter
exporter
Displays the exporter configuration
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...