---
date: "2024-09-03T13:07:54Z"
title: Loadtest notes, ASR9001
draft: true
---

### L2 point-to-point (L2XC) config

```
interface TenGigE0/0/0/0
 mtu 9216
 load-interval 30
 l2transport
 !
!
interface TenGigE0/0/0/1
 mtu 9216
 load-interval 30
 l2transport
 !
!
interface TenGigE0/0/0/2
 mtu 9216
 load-interval 30
 l2transport
 !
!
interface TenGigE0/0/0/3
 mtu 9216
 load-interval 30
 l2transport
 !
!


...
l2vpn
 load-balancing flow src-dst-ip
 logging
  bridge-domain
  pseudowire
 !
 xconnect group LoadTest
  p2p pair0
   interface TenGigE0/0/2/0
   interface TenGigE0/0/2/1
  !
  p2p pair1
   interface TenGigE0/0/2/2
   interface TenGigE0/0/2/3
  !
...
```


### L2 Bridge-Domain

```
l2vpn
 bridge group LoadTestp
  bridge-domain bd0
   interface TenGigE0/0/0/0
   !
   interface TenGigE0/0/0/1
   !
  !
  bridge-domain bd1
   interface TenGigE0/0/0/2
   !
   interface TenGigE0/0/0/3
   !
  !
...
```
RP/0/RSP0/CPU0:micro-fridge#show l2vpn forwarding bridge-domain mac-address location 0/0/CPU0 
Sat Aug 31 12:09:08.957 UTC
Mac Address    Type    Learned from/Filtered on    LC learned Resync Age         Mapped to     
--------------------------------------------------------------------------------
9c69.b461.fcf2 dynamic Te0/0/0/0                   0/0/CPU0   0d 0h 0m 14s       N/A           
9c69.b461.fcf3 dynamic Te0/0/0/1                   0/0/CPU0   0d 0h 0m 2s        N/A           
001b.2155.1f11 dynamic Te0/0/0/2                   0/0/CPU0   0d 0h 0m 0s        N/A           
001b.2155.1f10 dynamic Te0/0/0/3                   0/0/CPU0   0d 0h 0m 15s       N/A           
001b.21bc.47a4 dynamic Te0/0/1/0                   0/0/CPU0   0d 0h 0m 6s        N/A           
001b.21bc.47a5 dynamic Te0/0/1/1                   0/0/CPU0   0d 0h 0m 21s       N/A           
9c69.b461.ff41 dynamic Te0/0/1/2                   0/0/CPU0   0d 0h 0m 16s       N/A           
9c69.b461.ff40 dynamic Te0/0/1/3                   0/0/CPU0   0d 0h 0m 10s       N/A           
001b.2155.1d1d dynamic Te0/0/2/0                   0/0/CPU0   0d 0h 0m 9s        N/A           
001b.2155.1d1c dynamic Te0/0/2/1                   0/0/CPU0   0d 0h 0m 16s       N/A           
001b.2155.1e08 dynamic Te0/0/2/2                   0/0/CPU0   0d 0h 0m 4s        N/A           
001b.2155.1e09 dynamic Te0/0/2/3                   0/0/CPU0   0d 0h 0m 11s       N/A           
```

Interesting finding, after a bridge-domain overload occurs, forwarding pretty much stops
```
Te0/0/0/0:
  30 second input rate 6931755000 bits/sec, 14441158 packets/sec
  30 second output rate 0 bits/sec, 0 packets/sec
Te0/0/0/1:
  30 second input rate 0 bits/sec, 0 packets/sec
  30 second output rate 19492000 bits/sec, 40609 packets/sec

Te0/0/0/2:
  30 second input rate 0 bits/sec, 0 packets/sec
  30 second output rate 19720000 bits/sec, 41084 packets/sec
Te0/0/0/3:
  30 second input rate 6931728000 bits/sec, 14441100 packets/sec
  30 second output rate 0 bits/sec, 0 packets/sec

... and so on

  30 second input rate 6931558000 bits/sec, 14440748 packets/sec
  30 second output rate 0 bits/sec, 0 packets/sec
  30 second input rate 0 bits/sec, 0 packets/sec
  30 second output rate 12627000 bits/sec, 26307 packets/sec
  30 second input rate 0 bits/sec, 0 packets/sec
  30 second output rate 12710000 bits/sec, 26479 packets/sec
  30 second input rate 6931542000 bits/sec, 14440712 packets/sec
  30 second output rate 0 bits/sec, 0 packets/sec
  30 second input rate 0 bits/sec, 0 packets/sec
  30 second output rate 19196000 bits/sec, 39992 packets/sec
  30 second input rate 6931651000 bits/sec, 14440938 packets/sec
  30 second output rate 0 bits/sec, 0 packets/sec
  30 second input rate 6931658000 bits/sec, 14440958 packets/sec
  30 second output rate 0 bits/sec, 0 packets/sec
  30 second input rate 0 bits/sec, 0 packets/sec
  30 second output rate 13167000 bits/sec, 27431 packets/sec
```

MPLS enabled test:
```
arp vrf default 100.64.0.2 001b.2155.1e08 ARPA
arp vrf default 100.64.1.2 001b.2155.1e09 ARPA
arp vrf default 100.64.2.2 001b.2155.1d1c ARPA
arp vrf default 100.64.3.2 001b.2155.1d1d ARPA
arp vrf default 100.64.4.2 001b.21bc.47a4 ARPA
arp vrf default 100.64.5.2 001b.21bc.47a5 ARPA
arp vrf default 100.64.6.2 9c69.b461.fcf2 ARPA
arp vrf default 100.64.7.2 9c69.b461.fcf3 ARPA
arp vrf default 100.64.8.2 001b.2155.1f10 ARPA
arp vrf default 100.64.9.2 001b.2155.1f11 ARPA
arp vrf default 100.64.10.2 9c69.b461.ff40 ARPA
arp vrf default 100.64.11.2 9c69.b461.ff41 ARPA

router static
 address-family ipv4 unicast
  0.0.0.0/0 198.19.5.1
  16.0.0.0/24 100.64.0.2
  16.0.1.0/24 100.64.2.2
  16.0.2.0/24 100.64.4.2
  16.0.3.0/24 100.64.6.2
  16.0.4.0/24 100.64.8.2
  16.0.5.0/24 100.64.10.2
  48.0.0.0/24 100.64.1.2
  48.0.1.0/24 100.64.3.2
  48.0.2.0/24 100.64.5.2
  48.0.3.0/24 100.64.7.2
  48.0.4.0/24 100.64.9.2
  48.0.5.0/24 100.64.11.2
 !
!

mpls static
 interface TenGigE0/0/0/0
 interface TenGigE0/0/0/1
 interface TenGigE0/0/0/2
 interface TenGigE0/0/0/3
 interface TenGigE0/0/1/0
 interface TenGigE0/0/1/1
 interface TenGigE0/0/1/2
 interface TenGigE0/0/1/3
 interface TenGigE0/0/2/0
 interface TenGigE0/0/2/1
 interface TenGigE0/0/2/2
 interface TenGigE0/0/2/3
 address-family ipv4 unicast
  local-label 16 allocate
   forward
    path 1 nexthop TenGigE0/0/2/3 100.64.1.2 out-label 17
   !
  !
  local-label 17 allocate
   forward
    path 1 nexthop TenGigE0/0/2/2 100.64.0.2 out-label 16
   !
  !
  local-label 18 allocate
   forward
    path 1 nexthop TenGigE0/0/2/0 100.64.3.2 out-label 19
   !
  !
  local-label 19 allocate
   forward
    path 1 nexthop TenGigE0/0/2/1 100.64.2.2 out-label 18
   !
  !
  local-label 20 allocate
   forward
    path 1 nexthop TenGigE0/0/1/1 100.64.5.2 out-label 21
   !
  !
  local-label 21 allocate
   forward
    path 1 nexthop TenGigE0/0/1/0 100.64.4.2 out-label 20
   !
  !
  local-label 22 allocate
   forward
    path 1 nexthop TenGigE0/0/0/1 100.64.7.2 out-label 23
   !
  !
  local-label 23 allocate
   forward
    path 1 nexthop TenGigE0/0/0/0 100.64.6.2 out-label 22
   !
  !
  local-label 24 allocate
   forward
    path 1 nexthop TenGigE0/0/0/2 100.64.9.2 out-label 25
   !
  !
  local-label 25 allocate
   forward
    path 1 nexthop TenGigE0/0/0/3 100.64.8.2 out-label 24
   !
  !
  local-label 26 allocate
   forward
    path 1 nexthop TenGigE0/0/1/2 100.64.11.2 out-label 27
   !
  !
  local-label 27 allocate
   forward
    path 1 nexthop TenGigE0/0/1/3 100.64.10.2 out-label 26
   !
  !
 !
!
```
