[c-nsp] ASR920 output drops on TenG interfaces

Saku Ytti saku at ytti.fi
Fri Aug 2 10:30:16 EDT 2019


Are you sure you are measuring L1 rate? This is common problem in
tooling that only L2 is reported.

64.0/(8+64+12) == 76.2% L2 rate, when L1 rate is 100%
90.0/(8+90+12) == 81.8% L2 rate, when L1 rate is 100%

Also if you are sending wirerate on ingress and putting it on
pseudowire, you're increasing packet size, so you must send smaller
packets.


On Fri, 2 Aug 2019 at 17:14, Spyros Kakaroukas
<s.kakaroukas at connecticore.com> wrote:
>
> Hey,
>
> Are you testing with a small packet size ? If so, according to the the documentation :
>
>
>         Traffic is dropped when packets of size 64–100 bytes are sent on 1G and 10G ports.
>
>             For 64-byte packets, traffic drop is seen at 70% and beyond of the line rate.
>
>             For 90-byte packets, traffic drop is seen at 90% and beyond of the line rate.
>
>             For 95-byte packets, traffic drop is seen at 95% and beyond of the line rate.
>
>         Traffic is dropped when:
>
>             Traffic is sent on a VRF interface.
>
>             Traffic is sent across layer 2 and layer 3.
>
> However, traffic is not dropped when the packet size is greater than 100 bytes, even if the packets are sent bidirectionally at the line rate.
>
>
>
> My thoughts and words are my own.
>
> Spyros
>
> On 02/08/2019, 16:49, "cisco-nsp on behalf of Davide Ambrosi" <cisco-nsp-bounces at puck.nether.net on behalf of shuttle76 at hotmail.com> wrote:
>
>     Hello,
>     I'm testing 2 ASR-920-24SZ-M with XE 16.09.03 version.
>     The devices are connected back-to-back using Teng 0/0/25 interfaces with MPLS enabled.
>     The TenG0/0/27 of both devices are connected to traffic generator instruments.
>
>     Here's the setup:
>
>
>      +----------------------+
>      |TRAFFIC GEN    |
>      +--+------------------+
>           |
>           |EVC1
>           |
>           |
>           |TE0/0/27
>     +----------------+
>     | 920|TEST1 |
>     +---------------+
>           |TE0/0/25
>           |
>           |MPLS
>           |
>           |
>           |TE/0/0/25
>     +----------------+
>     | 920|TEST2 |
>     +----------------+
>           |TE0/0/27
>           |
>           |
>           |EVC1
>           |
>      +-------------------+
>      |TRAFFIC GEN|
>      +-------------------+
>
>
>     There is a L2VPN Xconnect pseudowire build between the two EVC to allow layer2 connectivity between traffic generator equipements.
>     When I generate over 7 Gbit/sec of  throughput I'm registering a lot of output drops on the exit Teng interface.
>     Let me explain better:
>     1) Traffic generator equipment send traffic to 920-TEST1 on TE0/0/27 EVC1
>     2) 920-TEST1 receive the traffic and encapsulate it into a MPLS pseudowire going out through TE0/0/25
>     3) 920-TEST2 receive the pseudowire MPLS traffic through TE0/0/25
>     4) 920-TEST2  decapsulate the traffic and send to the traffic generator connected on port TE0/0/27 --> DROPS!!!!
>
>     I have a lot of drops only at point number 4.  If I increase the traffic to reach 10Gbit/sec saturation I got about 30% of traffic loss on the exit interface 920-TEST2 TE0/0/27.  No drop occurs on the other segments; only through the pseudowire exit interface.
>
>     Any advice ? I try to modify the queue because the microbusts issue of the ASR920 platform. Non success at all.
>
>     Thank you,
>     Davide
>
>
>
>     Configurations:
>     hostname ASR920-TEST1
>     !
>
>     mpls ldp session protection
>     mpls ldp igp sync holddown 6000
>     mpls traffic-eng tunnels
>     multilink bundle-name authenticated
>
>     class-map match-any ADVANCED-EXP2
>     match mpls experimental topmost 2
>     class-map match-any REALTIME-EXP5
>     match mpls experimental topmost 5
>     class-map match-any CRITICAL-EXP6
>     match mpls experimental topmost 6
>     class-map match-any INTERNET-EXP01
>     match mpls experimental topmost 0 1
>     !
>     policy-map BB-PORT-MPLS-10G
>     class REALTIME-EXP5
>     priority level 1
>     police 1000000000 conform-action transmit exceed-action drop
>     class CRITICAL-EXP6
>     priority level 2
>     police 1000000000 conform-action transmit exceed-action drop
>     class ADVANCED-EXP2
>     bandwidth percent 59
>     random-detect
>     class INTERNET-EXP01
>     bandwidth percent 20
>     random-detect
>     class class-default
>     bandwidth percent 1
>     random-detect
>     policy-map MARK-COS0-IN
>     class class-default
>     set mpls experimental topmost 0
>     policy-map MARK-COS5-IN
>     class class-default
>     set mpls experimental topmost 5
>     !
>     !
>     !
>     !
>     interface Null0
>     no ip unreachables
>     !
>     interface Loopback0
>     description IGP/MPLS Backbone Interface
>     ip address 172.16.31.1 255.255.255.255
>     isis tag 59699
>     !
>     interface TenGigabitEthernet0/0/25
>     description LINK TO ASR920-TEST2 TE0/0/25 - BB MPLS
>     mtu 9100
>     bandwidth 10000000
>     bandwidth qos-reference 10000000
>     ip address 172.16.32.1 255.255.255.252
>     no ip redirects
>     no ip proxy-arp
>     ip router isis 59699
>     load-interval 30
>     mpls ip
>     mpls traffic-eng tunnels
>     bfd template BFD-50MS_BB-MPLS
>     isis network point-to-point
>     isis metric 10
>     service-policy output BB-PORT-MPLS-10G
>     ip rsvp bandwidth
>     !
>     interface TenGigabitEthernet0/0/27
>     description TEST VWPS 10G
>     no ip address
>     load-interval 30
>     no keepalive
>     service instance 1 ethernet
>     encapsulation default
>     l2protocol tunnel cdp stp vtp pagp dot1x lldp lacp udld loam esmc elmi ptppd mmrp mvrp
>     service-policy input MARK-COS0-IN
>     !
>     !
>     router isis 59699
>     net 49.0001.1720.1603.1001.00
>     is-type level-2-only
>     authentication mode md5
>     authentication key-chain IS-IS_BB_MPLS
>     metric-style wide
>     fast-flood 10
>     set-overload-bit on-startup 120
>     max-lsp-lifetime 65535
>     lsp-refresh-interval 65000
>     spf-interval 5 50 200
>     prc-interval 5 50 200
>     lsp-gen-interval 5 5 200
>     no hello padding
>     log-adjacency-changes
>     fast-reroute per-prefix level-2 all
>     fast-reroute remote-lfa level-2 mpls-ldp
>     microloop avoidance protected
>     passive-interface Loopback0
>     bfd all-interfaces
>     mpls ldp sync
>     mpls traffic-eng router-id Loopback0
>     mpls traffic-eng level-2
>     !
>     !
>     !
>     l2vpn xconnect context TEST-VWPS_10G
>     description TEST-VWPS_10G
>     member TenGigabitEthernet0/0/27 service-instance 1
>     member 172.16.31.2 11 encapsulation mpls
>     !
>
>     ------------------------------------------------------------
>
>     hostname ASR920-TEST2
>
>     bfd map ipv4 172.16.31.1/32 172.16.31.2/32 BFD_PW-FAST-DETECT
>     bfd-template single-hop BFD-50MS_BB-MPLS
>     interval min-tx 15 min-rx 15 multiplier 3
>     !
>     class-map match-any ALL-TRAFFIC
>     class-map match-any ADVANCED-EXP2
>     match mpls experimental topmost 2
>     class-map match-any cos1
>     match cos 1
>     class-map match-any REALTIME-EXP5
>     match mpls experimental topmost 5
>     class-map match-any CRITICAL-EXP6
>     match mpls experimental topmost 6
>     class-map match-any INTERNET-EXP01
>     match mpls experimental topmost 0 1
>     !
>     policy-map BB-PORT-MPLS-10G
>     class REALTIME-EXP5
>     priority level 1
>     police 1000000000 conform-action transmit exceed-action drop
>     class CRITICAL-EXP6
>     priority level 2
>     police 1000000000 conform-action transmit exceed-action drop
>     class ADVANCED-EXP2
>     bandwidth percent 59
>     random-detect
>     class INTERNET-EXP01
>     bandwidth percent 20
>     random-detect
>     class class-default
>     bandwidth percent 1
>     random-detect
>     policy-map leaf
>     class class-default
>     queue-limit 2097152 bytes
>     policy-map MARK-COS0-IN
>     class class-default
>     set mpls experimental topmost 0
>     policy-map MARK-COS5-IN
>     class class-default
>     set mpls experimental topmost 5
>     class class-default
>     police 50000000 conform-action transmit exceed-action drop
>     policy-map logical
>     class class-default
>     service-policy leaf
>     policy-map root
>     class class-default
>     service-policy logical
>     !
>     !
>     !
>     interface Null0
>     no ip unreachables
>     !
>     interface Loopback0
>     description IGP/MPLS Backbone Interface
>     ip address 172.16.31.2 255.255.255.255
>     isis tag 59699
>     !
>     !
>     interface TenGigabitEthernet0/0/25
>     description LINK TO ASR920-TEST1 TE0/0/25 - BB MPLS
>     mtu 9100
>     bandwidth qos-reference 10000000
>     ip address 172.16.32.2 255.255.255.252
>     no ip redirects
>     no ip proxy-arp
>     ip router isis 59699
>     load-interval 30
>     mpls ip
>     mpls traffic-eng tunnels
>     bfd template BFD-50MS_BB-MPLS
>     isis network point-to-point
>     isis metric 10
>     isis authentication key-chain IS-IS_BB_MPLS
>     service-policy output BB-PORT-MPLS-10G
>     ip rsvp bandwidth
>     !
>     !
>     interface TenGigabitEthernet0/0/27
>     description TEST VWPS 10G
>     no ip address
>     load-interval 30
>     no keepalive
>     service-policy output leaf
>     service instance 1 ethernet
>     encapsulation default
>     l2protocol tunnel cdp stp vtp pagp dot1x lldp lacp udld loam esmc elmi ptppd mmrp mvrp
>     service-policy input MARK-COS0-IN
>     !
>     router isis 59699
>     net 49.0001.1720.1603.1002.00
>     is-type level-2-only
>     authentication mode md5
>     authentication key-chain IS-IS_BB_MPLS
>     metric-style wide
>     fast-flood 10
>     set-overload-bit on-startup 120
>     max-lsp-lifetime 65535
>     lsp-refresh-interval 65000
>     spf-interval 5 50 200
>     prc-interval 5 50 200
>     lsp-gen-interval 5 5 200
>     no hello padding
>     log-adjacency-changes
>     fast-reroute per-prefix level-2 all
>     fast-reroute remote-lfa level-2 mpls-ldp
>     microloop avoidance protected
>     passive-interface Loopback0
>     bfd all-interfaces
>     mpls ldp sync
>     mpls traffic-eng router-id Loopback0
>     mpls traffic-eng level-2
>     !
>     !
>     l2vpn xconnect context TEST-VWPS_10G
>     description TEST-VWPS_10G
>     member TenGigabitEthernet0/0/27 service-instance 1
>     member 172.16.31.1 11 encapsulation mpls
>     !
>
>
>     _______________________________________________
>     cisco-nsp mailing list  cisco-nsp at puck.nether.net
>     https://puck.nether.net/mailman/listinfo/cisco-nsp
>     archive at http://puck.nether.net/pipermail/cisco-nsp/
>
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/



-- 
  ++ytti


More information about the cisco-nsp mailing list