본문 바로가기

IT/Traditional Network

IOS XE Netflow 설정

반응형

Router#sh run | sec flow
flow record flow_record
 match ipv4 source address
 match ipv4 destination address
 match ipv4 protocol
 match transport source-port
 match transport destination-port
 match timestamp absolute monitoring-interval start
flow exporter flow_exporter
 destination 20.20.20.100
 source GigabitEthernet2
 transport udp 2055
flow monitor flow_monitor
 exporter flow_exporter
 record flow_record

 

int g2
 ip flow monitor flow_monitor input
 ip flow monitor flow_monitor output

 

 

Router#sh flow exporter flow_exporter statistics
Flow Exporter flow_exporter:
  Packet send statistics (last cleared 00:21:33 ago):
    Successfully sent:         235                   (15604 bytes)

  Client send statistics:
    Client: Flow Monitor flow_monitor
      Records added:           676
        - sent:                676
      Bytes added:             14196
        - sent:                14196

 

 

Router#sh flow monitor flow_monitor cache
  Cache type:                               Normal (Platform cache)
  Cache size:                               200000
  Current entries:                               7
  High Watermark:                               78

  Flows added:                                 646
  Flows aged:                                  639
    - Inactive timeout    (    15 secs)        639

IPV4 SOURCE ADDRESS:       20.20.20.1
IPV4 DESTINATION ADDRESS:  20.20.20.100
TRNS SOURCE PORT:          443
TRNS DESTINATION PORT:     51843
TIMESTAMP MONITOR START:   03:30:00.000
IP PROTOCOL:               6

IPV4 SOURCE ADDRESS:       20.20.20.1
IPV4 DESTINATION ADDRESS:  20.20.20.100
TRNS SOURCE PORT:          49394
TRNS DESTINATION PORT:     2055
TIMESTAMP MONITOR START:   03:30:00.000
IP PROTOCOL:               17

 

 

 

 

 

 

반응형

'IT > Traditional Network' 카테고리의 다른 글

NXOS Troubleshooting  (0) 2020.05.10
Supported for IOSv,NX-OS etc..  (0) 2020.05.10
CSR 1000V router install csr1000v-universalk9.16.09.05  (2) 2020.05.01
Anyconnect 로 IPSEC VPN 연결  (0) 2020.04.27
SSL VPN  (0) 2020.04.18