您可以使用以下命令配置Cisco 4506:
config t
flow record NFArecord
match ipv4 version
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
collect interface output
collect counter bytes
match application names
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow exporter NFAexporter
destination {ip address}
Export-protocol version-9
transport udp 9996
transport udp 9996
option application-table timeout 60
flow monitor NFAmonitor
record NFArecord
expoter NFAexporter
source {interface name}
cache timeout active 60
cache timeout inactive 15
配置完成后,对所有L3接口应用以下命令:
ip flow monitor NFAmonitor input
您应该能够看到“Flow包分析”下发现的设备。请参考以下链接进行SNMP更新,以获取接口名称和设备名称: