Настройка коммутатора Cisco Catalyst 4948E
Ниже приведен пример конфигурации 4948E NetFlow-Lite:
netflow-lite exporter check !naming the exporter ‘check’
transport udp 2055 !starting UDP port the NetFlow-lite export will be destined to
transport udp load-share 16 !port 2055-2070 will be used for load balancing
template data timeout 60 !specifies template data timeout
options sampler-table timeout 60 !specifies an option timezout
source 9.9.9.10 !IP address where NetFlow-lite data is sourced
destination 9.9.9.1 !IP address of the nProbe aggregator
export-protocol ipfix !export format (NetFlow-v9 or IPFIX)
!
netflow-lite sampler check !naming the sampler "check”
packet-rate 32 !sample 1 in every 32 packets
packet-section size 64 !sample the first 64 bytes from the packet
packet-offset 0 !the offset from the beginning of the data field is Zero
!
interface GigabitEthernet1/1
no switchport !specifies whether the port is a L3 port or a switch (L2) port
ip address 40.40.40.1 255.255.255.0 !ip address of the interface
netflow-lite monitor 1 !define a netflow-lite monitor
sampler check !tie the sampler "check” to monitor 1
exporter check !tie the exporter "check” to monitor 1