Configuring Cisco Nexus 3k Series Devices

    Cisco Nexus 3K Series (or 3000) device support NetFlow export from the device. Please configure the below commands in the configuration mode:

    config t
    feature sflow
    sflow max-sampled-size 256
    sflow counter-poll-interval poll-interval 30
    sflow max-datagram-size 2000
    sflow collector-ip {NetFlow Server IP} vrf management
    sflow collector-port 9996
    sflow agent-ip {ip address of device}
    sflow data-source interface ethernet 1/5-12

    Example:

    config
    feature sflow
    sflow max-sampled-size 256
    sflow counter-poll-interval poll-interval 30
    sflow max-datagram-size 2000
    sflow collector-ip 2.2.2.2 vrf management
    sflow collector-port 9996
    sflow agent-ip 1.1.1.1
    sflow data-source interface ethernet 1/5-12

    sFlow Show Commands

    To display the sFlow configuration information, perform one of the following tasks:

    Command Purpose

    show sflow

    Displays the sFlow global configuration.

    show sflow statistics

    Displays the sFlow statistics.

    clear sflow statistics

    Clears the sFlow statistics.

    show running-config sflow[all]

    Displays the current running sFlow configuration.

    Thank you for your feedback!

    Was this content helpful?

    We are sorry. Help us improve this page.

    How can we improve this page?
    Do you need assistance with this topic?
    By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.