Junos
Highlighted
Junos

RFC2544 Throughput Test NNI ACX to MX

‎05-29-2020 02:01 PM

Hello,

Been trying to get RFC 2544 working for Ethernet pseudowires. Normally we use test equipment and don't mess with the PE's, but I'd like to get it to work just on the PE routers. Documentation for this seems a bit dated as the configuration options have changed (on Junos 17 and 18 releases, docs seem older). Here's the doc I used: https://www.juniper.net/documentation/en_US/junos/topics/example/rfc2544-benchmarking-test-nni-ether...

 

I have the routers configured and the test will run and complete. However, the initiator does not receive any packets back from the reflector.

 

So, I have an ACX2200 initiating and an MX480 reflecting. I have an Ethernet pseudowire configured (LDP-signaled L2circuit). The circuit is up and traffic flows as expected (the RFC 2544 test equipment works fine). Here are my configurations:

 

MX480

chassis {
    fpc 2 {
        slamon-services {
            rfc2544;
        }
    }
}
services {
    rpm {
        rfc2544-benchmarking {
            tests {
                test-name vlan-3029-test {
                    mode reflect;
                    family ccc;
                    direction ingress;
                    test-interface xe-2/0/2.3029;
                }
            }
        }
    }
}
interfaces {
    xe-2/0/2 {
        flexible-vlan-tagging;
        mtu 9000;
        encapsulation flexible-ethernet-services;
        unit 3029 {
            description Quanah1;
            encapsulation vlan-ccc;
            vlan-id 1009;
        }
    }
}

 

ACX2200

services {
    rpm {
        rfc2544-benchmarking {
            profiles {
                test-profile throughput-profile {
                    test-type throughput;
                    packet-size 64;
                    bandwidth-kbps 50000;
                }
            }
            tests {
                test-name vlan-3029-test {
                    test-profile throughput-profile;
                    mode initiate-and-terminate;
                    family ccc;
                    direction egress;
                    test-interface xe-0/3/3.3029;
                }
            }
        }
    }
}
interfaces {
    xe-0/3/3 {
        flexible-vlan-tagging;
        mtu 9000;
        encapsulation flexible-ethernet-services;
        unit 3029 {
            encapsulation vlan-ccc;
            vlan-id 3029;
            statistics;
        }
    }
}

 

The circuit is currently in service (but is a maintenance circuit on which we just have test equipment connected). Am I missing something in the configuration?

3 REPLIES 3
Highlighted
Junos

Re: RFC2544 Throughput Test NNI ACX to MX

‎06-04-2020 09:09 PM

Hello jbparrish17,

 

The configuration looks correct. Are you able to run the tests successfully? Ideally when pseudowire reflection is enabled on an interface, the router does not block the ingress or egress traffic through the test interface unless there is a firwall filter configured. Can you please share the output of the below commands to see what are we getting as the output?

 

show services rpm rfc2544-benchmarking aborted-tests
show services rpm rfc2544-benchmarking active-tests
show services rpm rfc2544-benchmarking completed-tests
show services rpm rfc2544-benchmarking summary

 


Regards,
Vishaal


Accept as Solution = cool ! (Help fellow community members with similar query be redirected here instead of them reposting again)
Accept as Solution+Kudo = You are a Star !
Highlighted
Junos

Re: RFC2544 Throughput Test NNI ACX to MX

4 weeks ago

I do have a filter configured on the MX and the ACX, which is most certainly blocking the traffic. I'm not sure what exactly to allow through the filter, so I have moved the testing to two ACX2200s on which there is no firewall filter configured.

 

Here is my test configuration and results:

 

ACX-1

interfaces {
    xe-0/3/1 {
        flexible-vlan-tagging;
        mtu 9192;
        encapsulation flexible-ethernet-services;
        unit 3020 {
            encapsulation vlan-ccc;
            vlan-id 3020;
            statistics;
        }
    }
}
protocols {
    l2circuit {
        neighbor 10.10.10.2 {
            interface xe-0/3/1.3020 {
                virtual-circuit-id 3020;
            }
        }
    }
}
services {
    rpm {
        rfc2544-benchmarking {
            profiles {
                test-profile throughput {
                    test-type throughput;
                    packet-size 64;
                    bandwidth-kbps 100000;
                }
            }
            tests {
                test-name throughput-circuit-3020 {
                    test-profile throughput;
                    mode initiate-and-terminate;
                    family ccc;
                    direction egress;
                    test-interface xe-0/3/1.3020;
                }
            }
        }
    }
}

ACX2

interfaces {
    xe-0/3/1 {
        flexible-vlan-tagging;
        mtu 9192;
        encapsulation flexible-ethernet-services;
        unit 3020 {                     
            encapsulation vlan-ccc;
            vlan-id 3020;
            statistics;
        }
    }
}
protocols {
        neighbor 10.10.10.1 {
            interface xe-0/3/1.3020 {
                virtual-circuit-id 3020;
            }
        }
    }
}
services {
    rpm {
        rfc2544-benchmarking {
            tests {
                test-name throughput-circuit-3020 {
                    mode reflect;
                    family ccc;
                    direction ingress;
                    test-interface xe-0/3/1.3020;
                }
            }
        }
    }
}

The results simply yield that 0 RX packets were received back from the reflector. I have tried changing the test direction on ACX2 to "egress" with the same result. There must be something I am missing in configuring the test?

Highlighted
Junos

Re: RFC2544 Throughput Test NNI ACX to MX

3 weeks ago
Hello!
 
Plese let me know if you want to run RFC2544 measurements between PE and CE routers on the E-line service. Where the PE1 (MX) will initiate on the NNI facing interface and remote PE2 (ACX) will act as reflector?
 
Ethernet PW UNI EgreesEthernet PW UNI Egrees
 
Or if you want to run RFC2544 between CE2 and PE2 ends?
PE2 (MX) will initiate on UNI facing interface and CE2 (ACX ) will act as refector, something like this:
Ethernet PW UNI INGRESSEthernet PW UNI INGRESS
 
Here's some tips you can try for follwing scenarios: 
 
Initiator not sending packets:
  • Check configuration is applied correctly, destination is ping-able
  • Check NNI interface stats to see if the packets are being transmitted out the egress port
  • Check on PFE using ‘set bc bc “show c”’ command. Use ‘show bcm port-map’ command to find the egress port.

Reflector not reflecting packets:

  • Check packets are reaching the reflector ingress port. If not check drop in the network.
  • Check packets are reaching the RFC2544 engine port of the ethernet switch. Use ‘set bc bc “show c”’ command on the PFE console.
  • If packets are ingressing the RFC2544 engine port but not egressing, deactivate/activate rfc2544 configuration, or reset the FEB.

 

Please check and let me know your feedback.

 

Regards,

Allan Quiros