1. 配置超时

    configure terminal

    Active timeout 60

    Inactive timeout 15

    end

  2. 配置导出器

    configure terminal

    flow exporter <EXPORTER_NAME>

    destination <PROXY_IP>

    transport udp 2055

    source <VSM_IP_OR_SUBNET>

    end

  3. 要为每个接口配置流监控器,请执行以下操作:

    configure terminal

    flow monitor <MONITOR_NAME>

    record netflow-original

    exporter <EXPORTER_NAME>

    end

  4. 在输入模式和输出模式下或者至少在输入模式下为每个接口配置流监控器

    configure terminal

    port-profile type vethernet <IF_NAME>

    ip flow monitor <MONITOR_NAME> input

    ip flow monitor <MONITOR_NAME> output

    .

    .

    end