Routing

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.

cg-nat on mx with ipfix - is there a way to get destination ip in exported flow?

  • 1.  cg-nat on mx with ipfix - is there a way to get destination ip in exported flow?

    Posted 12-14-2020 12:22
    Hello everyone.
    I`m trying to implement an ipfix for monitoring flow events.
    Right now my configuration looks like this:
    show chassis
    fpc 0 {
        pic 0 {
            adaptive-services {
                service-package layer-3;
            }
        }
    }
    fpc 1 {
        pic 2 {
            adaptive-services {
                service-package layer-3;
            }
        }
    }​

    show configuration interfaces ams0

    load-balancing-options {
        member-interface mams-0/0/0;
        member-interface mams-1/2/0;
        member-failure-options {
            redistribute-all-traffic {
                enable-rejoin;
            }
        }
    }
    services-options {
        jflow-log {
            message-rate-limit 100000;
        }
        pba-interim-logging-interval 3600;
    }
    unit 10 {
        family inet;
        service-domain inside;
    }
    unit 20 {
        family inet;
        service-domain outside;
    }​

    show configuration services jflow-log

    collector c1 {
        destination-address 2.2.2.2;
        destination-port 4739;
        source-ip 1.1.1.1;
    }
    collector-group cg1 {
        collector c1;
    }
    template-profile t1 {
        collector c1;
        template-type nat;
        version ipfix;
        refresh-rate {
            packets 5000;
            seconds 600;
        }
    }​


    flows are being sampled, but i cannot see destination address in exported data. Is there a way to get it exported?