TMAegis베타
cisco-nxos 관련 규칙 더 보기

Cisco NX-OS

TMA-CISCO-NXOS-1.5.3

Configure Netflow on Strategic Ports

보통레벨 2수동 검토cisco-nxos

설명

Netflow allows for detailed logging of transit traffic. For a Layer 3 Netflow configuration, this outlines several values identified as "keys": source and destination ports and protocols, source and destination IP addresses as well as traffic volumes in any combination. Sometimes QOS values (TOS bits only) is also used as a key. CIS assessment: Manual. Reported as SKIP with review instructions.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

CIS assessment: Manual. To display the complete netflow configuration, use "show running-configuration netflow". Ensure that valid values in the flow exporter, flow record, sampler and flow monitor sections. Ensure that the flow monitor is applied to the correct interface (Layer 2 or Layer 3). A Layer 3 example is shown: switch# show run netflow !Command: show running-config netflow !Time: Mon Jan 4 13:48:45 2021 version 7.3(1)N1(1) feature netflow flow exporter FLOW-EXPORT destination 10.10.10.10 transport udp 9996 source mgmt0 version 9 option ...

조치 방법

조치 방식: 가이드 또는 인프라 패치

! If needed, either Layer 3 or Layer 2 netflow can be configured. Layer 3 IP and IPv6 flow monitors can be applied to VLANs, SVIs, Layer 3 routed interfaces or subinterfaces. Layer 2 flow monitors can be applied to a physical interface or trunks L3 netflow - typical application to a VLAN is shown First, enable the netflow feature: feature netflow The flow record defines what data to record and export. Typical settings are shown, the important thing is that a valid flow record setting exists: flow-record FLOW-RECORD match ipv4 protocol match ipv4 source address match ipv4 destination address match transport source-port match transport destination-port collect routing source as collect routing destination as collect transport tcp flags collect counter bytes collect counter packets The flow exporter defines the destination and options around sent data. Again, the specific values are not important. The VRF can be specified in the "destination" line if needed.: flow exporter FLOW-EXPORT transport udp 9996 destination 10.10.10.10 source mgmt 0 version 9 option exporter-stats timeout 120 option interface-table timeout 120 The flow monitor "ties" the exporter and record together: flow monitor FLOW-MONITOR exporter FLOW-EXPORT record FLOW-RECORD The sampling rate, "x packets out of y" can also be defined. Both should be a power of 2 (for instance, 8 out-of 64 is a valid combination) sampler FLOWSAMPLER01 mode 8 out-of 64 Finally, apply the monitor and optionally the sampler to a layer 3 interface: int vlan <interface number> 10GCORE01 ! ... see the benchmark for the full procedure

속성

운영 체제
모두
태그
cisco-nxosnetworklogging
참고 자료
CIS Cisco NX-OS Benchmark v1.2.0 - 1.5.3 Configure Netflow on Strategic Ports