Skip to Content.

rare-users - Re: [gn4-3-wp6-t1-wb-RARE] new features

Subject: RARE user and assistance email list

List archive


Re: [gn4-3-wp6-t1-wb-RARE] new features


Chronological Thread 
  • From: mc36 <>
  • To: "" <>
  • Cc: "" <>
  • Subject: Re: [gn4-3-wp6-t1-wb-RARE] new features
  • Date: Thu, 4 Feb 2021 21:22:57 +0100

hi,
the bier core (phase 1, we can say:) feature just arrived to the p4emu (dpdk,
libpcap) dataplane....
i need to do some housekeeping around it like adding the test cases for it
and so on but i'm sure
that it works as i use it extensively on my homenet... back in time kifu
deployed a probe network
to test it's mpls core.. there was not such a software that suited our needs
so i added the missing
pieces to freertr so now it can do a so called 'mesh tracker'. it can operate
in unicast or multicast.
it does only 2 thing: periodically fetches the peer list, and sends reports
to the peers...
the output is pretty self-explanatiory (1) a connectivity matrix.. in my case
it all goes over
bier (2) according to the local mroute and mldp tables...
as every packet hold's the info where it wants to get itself replicated, the
uplink of the
tester knows nothing about the existence of the s,g groups (3).. this is what
we call stateless!
the only thing it knows is the bier bitmaps (4) computed by the igp in my
case...
as you can see, there were only hw switched packets, the freertr itselt did
not get involved
in the replication at all... hereby i would like to note that those hairpins
(5) are all
macsec-ed interfaces here as they're bridged toward the vpn tunnels to my
other sites...
for those who are skeptical about the mtracker thingy, you can spot in (1)
that some peers had
130 reports while others just 10, this is because on the first try the
flooding did not worked
on hairpins as you can see on the failed (6) mtracker output, only my
internal nodes had connectivity....
regards,
cs





1:
mchome-evpn#show mtracker
name group port total reach bidir changed
l2v 10.11.12.13 5499 9 9 9 01:15:39
v4 10.11.12.13 5499 13 13 13 01:16:12
v4m 232.197.91.25 5488 13 13 13 00:07:52
v4v 10.11.12.13 5499 11 11 11 01:16:12
v6 2001:db8:1234:1234::1234 5499 13 13 13 01:16:12
v6m ff09::232:197:91:25 5488 13 13 13 00:08:26
v6v 2001:db8:1234:1234::1234 5499 11 11 11 01:16:12

mchome-evpn#show mtracker v4m
name=v4m, round=133, group=232.197.91.25
port=5488, timer=33333/6, source=ifc loopback0
changes=15, ago=00:08:01, at=2021-02-04 21:04:22
peer#0: ip=10.1.11.199, state=up, changes=1, ago=01:16:21, at=2021-02-04
19:56:02, reports=130, last=00:00:22
peer#1: ip=10.1.11.254, state=up, changes=1, ago=01:16:55, at=2021-02-04
19:55:28, reports=132, last=00:00:32
peer#2: ip=10.1.11.255, state=up, changes=1, ago=01:16:55, at=2021-02-04
19:55:28, reports=-9, last=00:00:14
peer#3: ip=10.4.4.254, state=up, changes=3, ago=00:08:01, at=2021-02-04
21:04:22, reports=12, last=00:00:18
peer#4: ip=10.10.10.10, state=up, changes=1, ago=01:16:55, at=2021-02-04
19:55:28, reports=132, last=00:00:16
peer#5: ip=10.10.10.19, state=up, changes=1, ago=00:08:01, at=2021-02-04
21:04:22, reports=9, last=00:00:16
peer#6: ip=10.10.10.21, state=up, changes=1, ago=00:08:01, at=2021-02-04
21:04:22, reports=9, last=00:00:30
peer#7: ip=10.10.10.26, state=up, changes=1, ago=00:08:01, at=2021-02-04
21:04:22, reports=10, last=00:00:07
peer#8: ip=10.10.10.190, state=up, changes=1, ago=00:08:01, at=2021-02-04
21:04:22, reports=9, last=00:00:32
peer#9: ip=10.10.10.222, state=up, changes=1, ago=01:16:55, at=2021-02-04
19:55:28, reports=133, last=00:00:11
peer#10: ip=10.10.10.224, state=up, changes=1, ago=00:08:01, at=2021-02-04
21:04:22, reports=9, last=00:00:24
peer#11: ip=10.10.10.225, state=up, changes=1, ago=00:08:01, at=2021-02-04
21:04:22, reports=9, last=00:00:24
peer#12: ip=10.10.10.226, state=up, changes=1, ago=00:08:01, at=2021-02-04
21:04:22, reports=9, last=00:00:24

\ 0 1 2 3 4 5 6 7 8 9 10 11 12
0 \ + + + + + + + + + + + +
1 + \ + + + + + + + + + + +
2 + + \ + + + + + + + + + +
3 + + + \ + + + + + + + + +
4 + + + + \ + + + + + + + +
5 + + + + + \ + + + + + + +
6 + + + + + + \ + + + + + +
7 + + + + + + + \ + + + + +
8 + + + + + + + + \ + + + +
9 + + + + + + + + + \ + + +
10 + + + + + + + + + + \ + +
11 + + + + + + + + + + + \ +
12 + + + + + + + + + + + + \

mchome-evpn#show mtracker v6m
name=v6m, round=133, group=ff09::232:197:91:25
port=5488, timer=33333/6, source=ifc loopback0
changes=13, ago=00:08:36, at=2021-02-04 21:03:48
peer#0: ip=2001:db8:1101::10, state=up, changes=1, ago=01:16:57,
at=2021-02-04 19:55:28, reports=132, last=00:00:12
peer#1: ip=2001:db8:1101::19, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:18
peer#2: ip=2001:db8:1101::21, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:32
peer#3: ip=2001:db8:1101::26, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:32
peer#4: ip=2001:db8:1101::190, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:21
peer#5: ip=2001:db8:1101::4254, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:20
peer#6: ip=2001:db8:1101::222:222, state=up, changes=1, ago=01:16:57,
at=2021-02-04 19:55:28, reports=132, last=00:00:13
peer#7: ip=2001:db8:1101::224:224, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:26
peer#8: ip=2001:db8:1101::225:225, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:26
peer#9: ip=2001:db8:1101::226:226, state=up, changes=1, ago=00:08:36,
at=2021-02-04 21:03:48, reports=10, last=00:00:26
peer#10: ip=2001:db8:1101::252:199, state=up, changes=1, ago=01:16:23,
at=2021-02-04 19:56:02, reports=130, last=00:00:24
peer#11: ip=2001:db8:1101::252:254, state=up, changes=1, ago=01:16:57,
at=2021-02-04 19:55:28, reports=129, last=00:00:00
peer#12: ip=2001:db8:1101::252:255, state=up, changes=1, ago=01:16:57,
at=2021-02-04 19:55:28, reports=-9, last=00:00:16

\ 0 1 2 3 4 5 6 7 8 9 10 11 12
0 \ + + + + + + + + + + + +
1 + \ + + + + + + + + + + +
2 + + \ + + + + + + + + + +
3 + + + \ + + + + + + + + +
4 + + + + \ + + + + + + + +
5 + + + + + \ + + + + + + +
6 + + + + + + \ + + + + + +
7 + + + + + + + \ + + + + +
8 + + + + + + + + \ + + + +
9 + + + + + + + + + \ + + +
10 + + + + + + + + + + \ + +
11 + + + + + + + + + + + \ +
12 + + + + + + + + + + + + \

mchome-evpn#



2:
mchome-evpn#show ipv4 mroute inet
source group interface upstream targets
10.1.11.199 232.197.91.25 ethernet12 10.1.1.117 local
10.1.11.254 232.197.91.25 ethernet12 10.1.1.117 local
10.1.11.255 232.197.91.25 loopback0 10.1.11.255 local bier
10.4.4.254 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.10 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.19 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.21 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.26 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.190 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.222 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.224 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.225 232.197.91.25 ethernet12 10.1.1.117 local
10.10.10.226 232.197.91.25 ethernet12 10.1.1.117 local

mchome-evpn#show ipv4 ldp inet mpdatabase
type root opaque uplink peers

mchome-evpn#





3:
mchome#show ipv4 mroute inet
source group interface upstream targets

mchome#show ipv4 ldp inet mpdatabase
type root opaque uplink peers

mchome#show ipv4 mroute inet
source group interface upstream targets

mchome#












4:
mchome#show mpls forwarding | include bier
616945 inet:4 null null unlabelled bier
0+272135
616946 inet:4 null null unlabelled bier 0+0
1048221 inet:6 null null unlabelled bier
0+364782
1048222 inet:6 null null unlabelled bier 0+0

mchome#show mpls forwarding 616945
category value
label 616945
key 18-lsrp bier
working true
forwarder inet:4
interface null
nexthop null
remote label unlabelled
need local false
bier base 616945
bier bsl 3-256
bier si 0
bier sis 0
bier idx 10
bier idx2 0
bier local 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 02 00
bier peer 10.1.1.173 bundle1.176 lab=203046 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 20 01 00 00 00 00 00 00 00 00 00 00 00 00
bier peer 10.1.1.125 bundle1.182 lab=689174 00 00 00 00 00 00 00 43
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bier peer 10.1.1.122 bundle1.186 lab=893418 00 00 00 00 00 00 00 80
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 80 00 00
bier peer 10.1.1.94 bundle1.189 lab=213418 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
bier peer 10.1.1.74 bundle1.196 lab=302713 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00
bier peer 10.5.1.53 bundle1.199 lab=940285 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 00 00 00 40 00 00
bier peer 10.18.1.1 hairpin72.15 lab=951037 00 00 00 00 00 00 00 00
00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bier peer 10.18.1.9 hairpin82.23 lab=455475 00 00 00 00 00 02 00 00
60 08 00 00 00 00 00 00 00 00 00 00 70 00 00 40 00 00 00 01 c4 00 00 00
bier peer 10.18.1.246 hairpin92.33 lab=413818 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 80 00 00 00 00
bier peer 10.2.1.6 sdn901 lab=389133 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00
bier peer 10.1.1.118 sdn902 lab=132866 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00
pwe iface null
pwe del 0
pwe add n/a
counter tx=0(0) rx=0(0) drp=0(0)
hardware counter tx=0(0) rx=272135(1965) drp=0(0)

mchome#




5:
mchome#show macsec ha72.15
category value
seq 14234
win null
pack 14234+3495 4352+4385 0+0
byte 1754603+637918 335878+798764 0+0

mchome#






6:
services>show mtracker
2021-02-04 21:05:07
name group port total reach bidir changed
l2v 10.11.12.13 5499 9 9 9 01:08:27
v4 10.11.12.13 5499 13 13 13 01:09:07
v4m 232.197.91.25 5488 13 5 5 01:06:54
v4v 10.11.12.13 5499 11 11 11 01:09:34
v6 2001:db8:1234:1234::1234 5499 13 13 13 01:09:34
v6m ff09::232:197:91:25 5488 13 5 5 01:06:47
v6v 2001:db8:1234:1234::1234 5499 11 11 11 01:09:05

services>show mtracker v4m
2021-02-04 21:05:10
name=v4m, round=122, group=232.197.91.25
port=5488, timer=33333/6, source=ifc loopback0
changes=21, ago=01:06:56, at=2021-02-04 19:58:13
peer#0: ip=10.1.11.199, state=up, changes=1, ago=01:10:50, at=2021-02-04
19:54:20, reports=121, last=00:00:22
peer#1: ip=10.1.11.254, state=up, changes=1, ago=01:10:50, at=2021-02-04
19:54:20, reports=121, last=00:00:31
peer#2: ip=10.1.11.255, state=up, changes=1, ago=01:09:10, at=2021-02-04
19:56:00, reports=120, last=00:00:14
peer#3: ip=10.4.4.254, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:06:58
peer#4: ip=10.10.10.10, state=up, changes=1, ago=01:10:50, at=2021-02-04
19:54:20, reports=-9, last=00:00:16
peer#5: ip=10.10.10.19, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:06:56
peer#6: ip=10.10.10.21, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:07:10
peer#7: ip=10.10.10.26, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:07:20
peer#8: ip=10.10.10.190, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:07:12
peer#9: ip=10.10.10.222, state=up, changes=1, ago=01:10:50, at=2021-02-04
19:54:20, reports=123, last=00:00:11
peer#10: ip=10.10.10.224, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:07:26
peer#11: ip=10.10.10.225, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:07:26
peer#12: ip=10.10.10.226, state=down, changes=2, ago=01:06:56, at=2021-02-04
19:58:13, reports=2, last=01:07:26

\ 0 1 2 3 4 5 6 7 8 9 10 11 12
0 \ + + - + - - - - + - - -
1 + \ + - + - - - - + - - -
2 + + \ - + - - - - + - - -
3 - - - \ - - - - - - - - -
4 + + + - \ - - - - + - - -
5 - - - - - \ - - - - - - -
6 - - - - - - \ - - - - - -
7 - - - - - - - \ - - - - -
8 - - - - - - - - \ - - - -
9 + + + - + - - - - \ - - -
10 - - - - - - - - - - \ - -
11 - - - - - - - - - - - \ -
12 - - - - - - - - - - - - \

services>






as seemingly there is an interest in the bier progress so here is the current
state,
the api messages are seems to be allright and react to the changes (i cleared
the peer)
now the p4emu (dpdk) to consume these and replicate the packets
accordingly....

regards,
cs


sid#show logging | include bier
2021-02-04 16:33:59.797 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabloc4_add 2 56298 252905 0 0 0 0 0 0 0 2
2021-02-04 16:34:02.248 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_add 2 56298 252905 1 1 4244 540419 0 0 0 0 0 0 0 4
2021-02-04 16:34:02.249 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_add 2 56298 252905 2 2 50978 761055 0 0 0 0 0 0 0 8
2021-02-04 16:34:02.249 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_add 2 56298 252905 3 3 62714 800735 0 0 0 0 0 0 0 16
2021-02-04 16:34:02.249 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabloc4_mod 2 56298 252905 0 0 0 0 0 0 0 2
2021-02-04 16:34:32.685 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_del 2 56298 252905 1 1 4244 540419 0 0 0 0 0 0 0 4
2021-02-04 16:34:32.686 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_mod 2 56298 252905 2 2 50978 761055 0 0 0 0 0 0 0 8
2021-02-04 16:34:32.686 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_mod 2 56298 252905 3 3 62714 800735 0 0 0 0 0 0 0 16
2021-02-04 16:34:32.686 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabloc4_mod 2 56298 252905 0 0 0 0 0 0 0 2
2021-02-04 16:34:35.694 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_add 2 56298 252905 1 1 4244 540419 0 0 0 0 0 0 0 4
2021-02-04 16:34:35.694 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_mod 2 56298 252905 2 2 50978 761055 0 0 0 0 0 0 0 8
2021-02-04 16:34:35.694 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabel4_mod 2 56298 252905 3 3 62714 800735 0 0 0 0 0 0 0 16
2021-02-04 16:34:35.695 debug serv.servP4lang.sendLine:servP4lang.java:560
tx: bierlabloc4_mod 2 56298 252905 0 0 0 0 0 0 0 2

sid#
sid#show mpls forwarding 252905
category          value
label             252905
key               22-bgp bier
working           true
forwarder         v2:4
interface         null
nexthop           null
remote label      unlabelled
need local        false
bier base         252905
bier bsl          3-256
bier si           0
bier sis          0
bier idx          2
bier idx2         0
bier local        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 02
bier peer         1.1.1.2 sdn1 lab=540419  00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04
bier peer         1.1.1.6 sdn2 lab=761055  00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08
bier peer         1.1.1.10 sdn3 lab=800735  00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
pwe iface         null
pwe del           0
pwe add           n/a
counter           tx=0(0) rx=0(0) drp=0(0)
hardware counter  null

sid#



Archive powered by MHonArc 2.6.19.

Top of Page