73-6
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
To activate sampling on a VLAN, perform this task:
Examples
The following example shows how to configure a monitor on a port interface Gigabit 1/3:
Switch#
config terminal
Switch(config)#
int GigabitEthernet1/3
Switch(config-if)#
netflow-lite monitor 1
Switch(config-netflow-lite-monitor)#
sampler sampler1
Switch(config-netflow-lite-monitor)#
average-packet-size 128
Switch(config-netflow-lite-monitor)#
exporter exporter1
Switch(config-netflow-lite-monitor)#
exit
Switch(config-if)#
exit
Switch(config)#
exit
Switch(config)#
Switch#
show netflow-lite monitor 1 interface gi1/3
Step 3
Switch(config-if)#
netflow-lite monitor
monitor
Defines a monitor instance on an interface and enters
NetFlow-lite monitor submode.
Step 4
Switch(config-netflow-lite-monitor)#
sampler
sampler
Activates sampling on an interface in NetFlow-lite
monitor submode.
Step 5
Switch(config-netflow-lite-monitor)#
exporter
exporter
Assigns an exporter in NetFlow-lite monitor
submode
Step 6
Switch(config-netflow-lite-monitor)#
average-packet-size
size
Specifies the average packet size at the observation
point in NetFlow-lite monitor submode.
Step 7
Switch(config-netflow-lite-monitor)#
exit
Exits NetFlow-lite monitor submode.
Step 8
Switch(config)#
exit
Exits global configuration mode.
Step 9
Switch#
show netflow-lite monitor
monitor
interface
interface-name
Displays information about a particular packet or per
data source stats.
Command
Purpose
Command
Purpose
Step 1
Switch#
config terminal
Enters configuration mode.
Step 2
Switch(config)#
vlan config 2
Enters interface configuration mode.
Step 3
Switch(config-vlan-config)#
netflow-lite monitor
monitor
Defines a monitor instance on an interface and enters
NetFlow-lite monitor submode.
Step 4
Switch(config-netflow-lite-monitor)#
average-packet-size
size
Specifies the average packet size at the observation
point in NetFlow-lite monitor submode.
Step 5
Switch(config-netflow-lite-monitor)#
exporter
exporter
Assigns an exporter in NetFlow-lite monitor
submode.
Step 6
Switch(config-netflow-lite-monitor)#
sampler
sampler
Activates sampling on an interface in NetFlow-lite
monitor submode.
Step 7
Switch(config-netflow-lite-monitor)#
exit
Exits NetFlow-lite monitor submode
Step 8
Switch(config)#
exit
Exits global configuration mode.
Step 9
Switch#
show netflow-lite monitor
monitor
vlan
vlan
Displays information about a particular packet or per
data source stats.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...