Skip to Content.

rare-users - Re: [RARE-users] [freertr] clear p4lang p4 - required in case of interface addition

Subject: RARE user and assistance email list

List archive


Re: [RARE-users] [freertr] clear p4lang p4 - required in case of interface addition


Chronological Thread 
  • From: mc36 <>
  • To: Xavier Jeannin <>, , Frédéric LOUI <>
  • Subject: Re: [RARE-users] [freertr] clear p4lang p4 - required in case of interface addition
  • Date: Thu, 24 Nov 2022 14:06:30 +0100

hi,
i see exactly the same api messages going back and forth so then it must be
the hardware hashing...
fl: any idea? if i recall correctly, it was your contribution?
thanks,
cs

On 11/24/22 13:56, Xavier Jeannin wrote:
Hi

I did the procedure
1/ shut sdn7
2/ configure on the PPN the bridge/client interface/ interface toward the
backbone/
3/ make the ping, at the beginning (4 ping packets) Destination Host
Unreachable then ping works without need to clear P4 server

below the debug trace

Thank you
Xavier

---------------------

root@nmaas-demo:~# ping 14.14.14.101
PING 14.14.14.101 (14.14.14.101) 56(84) bytes of data.
From 14.14.14.44 icmp_seq=1 Destination Host Unreachable
From 14.14.14.44 icmp_seq=2 Destination Host Unreachable
From 14.14.14.44 icmp_seq=3 Destination Host Unreachable
From 14.14.14.44 icmp_seq=4 Destination Host Unreachable
64 bytes from 14.14.14.101: icmp_seq=6 ttl=255 time=1.69 ms
64 bytes from 14.14.14.101: icmp_seq=7 ttl=255 time=1.29 ms
64 bytes from 14.14.14.101: icmp_seq=8 ttl=255 time=1.00 ms
64 bytes from 14.14.14.101: icmp_seq=9 ttl=255 time=0.934 ms
64 bytes from 14.14.14.101: icmp_seq=10 ttl=255 time=1.09 ms
64 bytes from 14.14.14.101: icmp_seq=11 ttl=255 time=0.825 ms
64 bytes from 14.14.14.101: icmp_seq=12 ttl=255 time=0.900 ms
64 bytes from 14.14.14.101: icmp_seq=13 ttl=255 time=1.05 ms
^C
--- 14.14.14.101 ping statistics ---
13 packets transmitted, 8 received, +4 errors, 38% packet loss, time 12086ms
rtt min/avg/max/mdev = 0.825/1.098/1.692/0.263 ms, pipe 4



--------------

DAV0001#conf t
DAV0001(cfg)#interface sdn7
DAV0001(cfg-if)#shutdown
DAV0001(cfg-if)#exut
invalid command, try ?

DAV0001(cfg-if)#exit
DAV0001(cfg)#exit
DAV0001#show interfaces ?
<cr>
[name] - name of (sub)interface
bpratio - byte by packet ratio
bundle1 - name of (sub)interface
bundle1.11 - name of (sub)interface
bundle1.12 - name of (sub)interface
bundle1.15 - name of (sub)interface
bundle1.16 - name of (sub)interface
bundle1.17 - name of (sub)interface
bundle1.18 - name of (sub)interface
bundle1.19 - name of (sub)interface
bvi1 - name of (sub)interface
bvi11 - name of (sub)interface
bvi2 - name of (sub)interface
bvi3 - name of (sub)interface
bvi4 - name of (sub)interface
bvi5 - name of (sub)interface
bvi6 - name of (sub)interface
bvi7 - name of (sub)interface
description - description listing
ethernet0 - name of (sub)interface
ethernet1 - name of (sub)interface
ethernet2 - name of (sub)interface
full - full listing
hwbwmon - hardware bandwidth monitor listing
hwpsummary - hardware packet summary listing
hwptotal - hardware packet total listing
hwptraffic - hardware packet traffic listing
hwsummary - hardware summary listing
hwswpratio - hardware by software packets
hwswratio - hardware by software bytes
hwtotal - hardware total listing
hwtraffic - hardware traffic listing
lastio - last packet listing
psummary - packet summary listing
ptotal - packet total listing
ptraffic - packet traffic listing
sdn10 - name of (sub)interface
sdn15 - name of (sub)interface
sdn15.11 - name of (sub)interface
sdn15.12 - name of (sub)interface
sdn15.15 - name of (sub)interface
sdn15.16 - name of (sub)interface
sdn15.17 - name of (sub)interface
sdn15.18 - name of (sub)interface
sdn15.19 - name of (sub)interface
sdn7 - name of (sub)interface
status - status listing
summary - summary listing
swbwmon - software bandwidth monitor listing
swpsummary - software packet summary listing
swptotal - software packet total listing
swptraffic - software packet traffic listing
swsummary - software summary listing
swtotal - software total listing
swtraffic - software traffic listing
total - total listing
traffic - traffic listing
vrf - vrf listing
| - output modifier

DAV0001#show interfaces summary
interface state tx rx drop
bundle1 up 20716483642+0 20500388682+0 88+0
bundle1.11 up 7552820750+0 7553275052+7702251880
0+0
bundle1.12 up 605151102+0 309813908+317068600
0+0
bundle1.15 up 484124+0 1095588+1593276
0+0
bundle1.16 up 3196211162+0 3196816332+3260445252
0+0
bundle1.17 up 9154419972+0 9155031176+9334319708
0+0
bundle1.18 up 14338326+0 14936502+15512902
0+0
bundle1.19 up 92062476+0 183700400+206420172
0+0
bvi1 up 0 879144
879144
bvi11 up 0 0
0
bvi2 up 0 874830
874830
bvi3 up 284052669 87071002 1180
bvi4 up 4618 628604
619228
bvi5 up 0 619342
619342
bvi6 up 0 639224
639224
bvi7 up 0 613846
613846
ethernet0 up 41599272454 41400199439
0
ethernet1 up 0 127473607
127473607
ethernet2 up 0 42088 42088
sdn10 up 10418026448+3514000 10308943430+3659916 240+0
sdn15 up 20788110095+8066887 20805552008+7342370 75144+0
sdn15.11 up 7553275052+0 7552901786+7701667338
0+0
sdn15.12 up 309813908+0 605231400+13569364574
0+0
sdn15.15 up 1095588+0 484124+703606
0+0
sdn15.16 up 3196816332+0 3196228108+3259581302
264+0
sdn15.17 up 9155031176+0 9154419972+9333436328
0+0
sdn15.18 up 14938768+0 14339276+14635312
0+0
sdn15.19 up 467271067+0 177581424+213285690
0+0
sdn7 admin 10298457194+3528220 10191453797+3644057 8305+0

DAV0001#debug server p4lang p4
invalid command, try debug server p4lang ?

DAV0001#debug server p4lang p4 tx
invalid command, try debug server p4lang ?

DAV0001#debug server p4lang tx
DAV0001#terminal monitor
DAV0001#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
keepalive
DAV0001#conf t
info userReader.cmdEnter:userReader.java:1087 command DAV0001#configure terminal
from local:telnet <loop> 23 -> 127.0.0.1 4619 6
warning userLineHandler.doExec:userLine.java:874 <nobody> configuring from
local:telnet <loop> 23 -> 127.0.0.1 46196
DAV0001(cfg)#bridge 8
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#bridge 8 from
local:telnet <loop> 23 -> 127.0.0.1 46196
DAV0001(cfg-brdg)#mac-learn
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-brdg)#mac-learn
from local:telnet <loop> 23 -> 127.0.0.1 461 96
DAV0001(cfg-brdg)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-brdg)#exit from
local:telnet <loop> 23 -> 127.0.0.1 46196
DAV0001(cfg)#server p4lang p4
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#server p4lang p4
from local:telnet <loop> 23 -> 127.0.0.1 4 6196
DAV0001(cfg-server)#export-bridge debug
servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
DAV0001(cfg-server)#export-bridge 8
info userReader.cmdEnter:userReader.java:1087 command
DAV0001(cfg-server)#export-bridge 8 from local:telnet <loop> 23 -> 127.0
.0.1 46196
DAV0001(cfg-server)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: bridgelabel_add 8 324285
DAV0001(cfg-server)#interface bundle1.14 debug
servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
DAV0001(cfg-server)#interface bundle1.14
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-server)#interface
bundle1.14 from local:telnet <loop> 23 -> 127.0.0.1 46196
% no such interface
DAV0001(cfg-server)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-server)#exit from
local:telnet <loop> 23 -> 127.0.0.1 46196
DAV0001(cfg)#interface bundle1.14
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#interface
bundle1.14 from local:telnet <loop> 23 -> 127.0.0 .1 46196
DAV0001(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portvlan_add 15761 512 14
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 11 514
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 12 515
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 19 518
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 18 520
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 17 522
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 16 523
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 15 526
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 14 15761
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 11 514
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 12 515
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 19 518
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 18 520
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 17 522
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 16 523
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 15 526
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 14 15761
DAV0001(cfg-subif)#bridge-group 8
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#bridge-group
8 from local:telnet <loop> 23 -> 127.0.0 .1 46196
DAV0001(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portbridge_add 15761 8
DAV0001(cfg-subif)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#exit from
local:telnet <loop> 23 -> 127.0.0.1 46196
DAV0001(cfg)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
keepalive
DAV0001(cfg)#interface sdn15.14
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#interface sdn15.14
from local:telnet <loop> 23 -> 127.0.0.1 46196
DAV0001(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portvlan_add 7576 12 14
DAV0001(cfg-subif)#bridge-group 8
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#bridge-group
8 from local:telnet <loop> 23 -> 127.0.0 .1 46196
DAV0001(cfg-subif)#edebug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portbridge_add 7576 8
DAV0001(cfg-subif)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#exit from
local:telnet <loop> 23 -> 127.0.0.1 46196
DAV0001(cfg)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
keepalive
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 8
24:6e:96:4c:3e:1a 7576
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 8
00:1f:68:67:12:2b 15761
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive


Le 24/11/2022 12:28, mc36 a crit :
hi,
for a quick test could you please shut down the sdn7 for example,
and do the vlan addition test... please let the debug on and drop
me the output...
rationale: my guess is that the issue relates to the hardware hashing
somehow...
thanks,
cs


On 11/24/22 12:25, Xavier Jeannin wrote:

Le 24/11/2022 12:15, mc36 a crit :
hi,
i see exactly the same messages related to the port in both cases...
just one question, how many 10g interfaces are interconnecting the cpe and
the switch?

3 10g interfaces - SDN7, SDN10 and SDN15

Regards
Xavier


i see two ports in the outputs, the sdn7 and sdn10?
thanks,
cs

On 11/24/22 12:01, Xavier Jeannin wrote:
here it is

after the clear the ping starts

DAV0001#
DAV0001#clear p4lang p4
info userReader.cmdEnter:userReader.java:1087 command DAV0001#clear p4lang p4
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001#error servP4langConn.run:servP4langConn.java:146 neighbor 127.0.0.1
down
info cfgPrcss.doRound:cfgPrcss.java:509 restarting process bffwd
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: ports_add 12 10
0 0 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: ports_add 52 10
0 0 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: ports_add 176
10 0 0 0
warning servP4langConn.doNegot:servP4langConn.java:307 neighbor 127.0.0.1 up
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: mylabel4_add
258684 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
1 854040
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
2 1028491
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
3 363618
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
4 334103
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
5 464687
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
6 688411
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
7 861309
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
8 297952
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgelabel_add
11 875419
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
528 512 14
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
528 8
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
527 12 14
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
527 8
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
526 512 15
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
526 7
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
525 12 15
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
525 7
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
524 12 16
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
524 6
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
523 512 16
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
523 6
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
522 512 17
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
522 5
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
521 12 17
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
521 5
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
520 512 18
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
520 4
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
519 12 18
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
519 4
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
518 512 19
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
518 3
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
517 12 19
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
517 3
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
516 12 12
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
516 2
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
515 512 12
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
515 2
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
514 512 11
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
514 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portvlan_add
513 12 11
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbridge_add
513 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 11 514
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 12 515
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 19 518
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 18 520
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 17 522
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 16 523
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 15 526
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 14 528
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 11 514
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 12 515
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 19 518
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 18 520
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 17 522
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 16 523
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 15 526
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 14 528
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: state 176 1 10
0 0 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: mtu 176 1500
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: state 52 1 10 0
0 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: mtu 52 1500
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: state 12 1 10 0
0 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: mtu 12 1500
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: polkaown_add 0 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: myaddr4_add
224.0.0.0/4 -1 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: myaddr4_add
255.255.255.255/32 -1 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: myaddr6_add
ff00::/8 -1 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: myaddr4_add
19.19.19.0/24 -1 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: myaddr4_add
19.19.19.1/32 -1 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: mylabel6_add
121802 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: mylabel4_add
774199 1
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 0 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 1 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 2 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 3 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 4 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 5 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 6 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 7 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 8 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 9 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 10 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 11 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 12 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 13 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 14 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 15 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlelist_add
512 52 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 0 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 1 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 2 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 3 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 4 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 5 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 6 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 7 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 8 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 9 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 10 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 11 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 12 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 13 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 14 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_del
512 15 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlelist_del
512 0
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 0 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 1 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 2 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 3 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 4 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 5 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 6 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 7 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 8 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 9 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 10 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 11 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 12 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 13 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 14 52
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: portbundle_add
512 15 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlelist_add
512 52 176
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 3
00:1f:68:67:12:2b 518
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 3
24:6e:96:4c:3e:1a 517
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 4
00:1f:68:67:12:2b 520
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 4
24:6e:96:4c:3e:1a 519
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 8
00:1f:68:67:12:2b 528
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 8
24:6e:96:4c:3e:1a 527

Le 24/11/2022 11:51, mc36 a crit :
hi,
okkk, it's ok for now...

ter mon
deb serv p4 tx
cle p4 p4

and gimme the results please...
thanks,
cs


On 11/24/22 11:43, Xavier Jeannin wrote:
Hello Csaba

Second debug session with ping
Note that in your instruction the first "sdn1.X" is in fact the Bundle
interface :


DAV0001#
DAV0001#debug server p4lang tx
DAV0001#terminal monitor
DAV0001#conf t
info userReader.cmdEnter:userReader.java:1087 command DAV0001#configure terminal
from local:telnet <loop> 23 -> 127.0.0.1 46184
warning userLineHandler.doExec:userLine.java:874 <nobody> configuring from
local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg)#bridebug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
keepalive
DAV0001(cfg)#bridge 8
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#bridge 8
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg-brdg)#mac-learn
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-brdg)#mac-learn
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg-brdg)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-brdg)#exit
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg)#server p4lang p4
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#server p4lang p4
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg-server)#export-bridge 8debug
servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
DAV0001(cfg-server)#export-bridge 8
info userReader.cmdEnter:userReader.java:1087 command
DAV0001(cfg-server)#export-bridge 8 from local:telnet <loop> 23
-> 127.0.0.1 46184
DAV0001(cfg-server)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: bridgelabel_add 8 297952
DAV0001(cfg-server)#
DAV0001(cfg-server)#
DAV0001(cfg-server)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-server)#exit
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg)#interface bundle1.14
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#interface
bundle1.14 from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portvlan_add 4822 512 14
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 11 514
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 12 515
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 19 518
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 18 520
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 17 522
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 16 523
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 15 526
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
52 14 4822
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 11 514
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 12 515
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 19 518
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 18 520
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 17 522
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 16 523
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 15 526
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bundlevlan_add
176 14 4822
DAV0001(cfg-subif)#bridge-group 8
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#bridge-group
8 from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portbridge_add 4822 8
DAV0001(cfg-subif)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#exit
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
keepalive
DAV0001(cfg)#interface sdn15.14
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#interface sdn15.14
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portvlan_add 4505 12 14
DAV0001(cfg-subif)#bridge-group 8debug
servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
DAV0001(cfg-subif)#bridge-group 8
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#bridge-group
8 from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portbridge_add 4505 8
DAV0001(cfg-subif)#
DAV0001(cfg-subif)#
DAV0001(cfg-subif)#exit
<------------------------------------------------------------------------------------------------------------------------------
Ping started -----------------------

info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg-subif)#exit
from local:telnet <loop> 23 -> 127.0.0.1 46184
DAV0001(cfg)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
bridgemac_add 8 00:1f:68:67:12:2b 4822
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: bridgemac_add 8
24:6e:96:4c:3e:1a 4505
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
DAV0001(cfg)#exit
info userReader.cmdEnter:userReader.java:1087 command DAV0001(cfg)#exit from
local:telnet <loop> 23 -> 127.0.0.1 46184
warning userLineHandler.doExec:userLine.java:906 <nobody> configured from local:telnet
<loop> 23 -> 127.0.0.1 46184
DAV0001#
DAV0001#
DAV0001#show p4lang p4 done-bridge debug
servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
DAV0001#show p4lang p4 done-bridge 8
info userReader.cmdEnter:userReader.java:1087 command DAV0001#show p4lang p4
done-bridge 8 from local:telnet <loop> 23 -> 127.0.0.1 46184
packet byte
addr iface static time tx rx drop tx rx drop
001f.6867.122b bundle1.14 false
00:01:30 1 2 0 44 88 0
246e.964c.3e1a sdn15.14 false 00:01:30 2
2 0
88 88 0

DAV0001#show p4lang p4 done-interface
info userReader.cmdEnter:userReader.java:1087 command DAV0001#show p4lang p4
done-interface from local:telnet <loop> 23 -> 127.0.0.1 46184
sent name
12 ifc sdn15
52 ifc sdn10
176 ifc sdn7
512 ifc bundle1
513 ifc sdn15.11
514 ifc bundle1.11
515 ifc bundle1.12
516 ifc sdn15.12
517 ifc sdn15.19
518 ifc bundle1.19
519 ifc sdn15.18
520 ifc bundle1.18
521 ifc sdn15.17
522 ifc bundle1.17
523 ifc bundle1.16
524 ifc sdn15.16
525 ifc sdn15.15
526 ifc bundle1.15
4505 ifc sdn15.14
4822 ifc bundle1.14

Le 24/11/2022 04:40, mc36 a crit :

debug server p4 tx
term mon
bridge x
mac-learn
server p4 p4
export-bridge x
int sdn1.x
bridge-group x
int sdn15.x
bridge-group x
!!! do the ping test through the bridge....
sho p4 p4 done-bridge x
sho p4 p4 done-inter


On 11/24/22 04:37, mc36 wrote:
hi,
let's do the following:

debug server p4 tx
term mon
bridge x
mac-learn
server p4 p4
export-bridge x
int sdn1.x
bridge-group x
int sdn15.x
bridge-group x
sho p4 p4 done-bridge x
sho p4 p4 done-inter

please give me the whole transcript, including when you configure...
thanks,
cs



On 10/28/22 16:32, Xavier Jeannin wrote:
Hello Csaba

Just to let you know that the demonstration went fine and now we will
continue the installation on the field.
It could take while as our engineering team has now to define where and how to deploy, and as we are moving a big PoP and also as the way the implementation is done within RENATER is not very reactive

Best regards
Xavier

Le 27/10/2022 09:37, Xavier
Jeannin a crit :
Hello Csaba,

Thank you very much for your attention to our case.

I will make a demonstration today of the PPN at 1pm to my CTO for a
validation to go for an implementation, so I will no touch anything before
this.
This morning, I have urgent things to work on and my afternoon and tomorrow
is already full
I will try to make the test either this afternoon or tomorrow.
If I cannot do it during this period, I will on vacation next week. Unfortunately, my daughter just get a strong thyroid disease, so I will take of her trying to relieve her of the work of caring for her newborn child.
Therefore, I will back only the 7th Nov. and I will restart the debug process.

I really appreciate your help

Thank you for your understanding
Regards
Xavier

Le 27/10/2022 08:44, mc36 a
crit :
hi,
could you please confirm if you configure in the following order then it
works immediately without clearing p4?

bridge x
mac-learn
server p4 p4
export-bridge x
int bun1.x
bridge-gr x
int sdn15.x
bridge-gr x

thanks,
cs


On 10/26/22 14:35, mc36 wrote:
hi,
:) those are just the debug outputs i've enabled to see whats going on...
btw im in the conference but imho you cannot hear me...
br,
cs


On 10/26/22 14:31, wrote:
Hello

Le 26/10/2022 13:26, mc36 a crit :
hi,
i've given a spin to your setup but it works here immediately...
can you try with the below sequence if it fails for you please?
thanks,
cs


sid(cfg)#bridge 11
sid(cfg-brdg)#
sid(cfg)#server p4lang p4 debug
servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
sid(cfg)#server p4lang p4
sid(cfg-server)#export-bridge 11
sid(cfg-server)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
bridgelabel_add 11 671317

invalid command

/DAV0001(cfg-server)#$.java:1114 fwd0 tx: bridgelabel_add 11 671317//
//invalid command, try
?//
//
//DAV0001(cfg-server)#debug//
//invalid command, try
?/

Would you like to make a quick VC to debug this?

https://rendez-vous.renater.fr/ppn

Regards
Xavier

sid(cfg)#interface bundle1.11
sid(cfg-subif)#brdebug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0
tx: portvlan_add 27038 3469 11
sid(cfg-subif)#bridge-group 11
sid(cfg-subif)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
portbridge_add 27038 11
sid(cfg-subif)#
sid(cfg-subif)#
sid(cfg)#interface sdn2
sid(cfg-if)#bridge-group 11
sid(cfg-if)#debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx:
portbridge_mod 2 11
debug servP4langCfg.sendLine:servP4langCfg.java:1114 fwd0 tx: keepalive
sid#ping 1.1.1.1 vrf v3
pinging 1.1.1.1, src=null, vrf=v3, cnt=5, len=64, df=false, tim=1000, gap=0,
ttl=255, tos=0, sgt=0, flow=0, fill=0, alrt=-1, sweep=false, multi=false
!!!!!


On 10/26/22 12:58, Xavier Jeannin wrote:
Hi,

you mentioned that export-bridge was not necessary if thee is no IP@ on the
bvi. I prefer this because it was my first understanding. So all is perfect
:-)

I add a new user with the export-bridge got the the same result. The ping
start to work when I clear the p4lang server.
I hope I have not once again made a misconfiguration :-( (Apologies in
advance if it was the cas)

/
/

/root@nmaas-demo:~# ping 16.16.16.101//
//PING 16.16.16.101 (16.16.16.101) 56(84) bytes of data.//
//64 bytes from 16.16.16.101: icmp_seq=133 ttl=255 time=1.16 ms//
//64 bytes from 16.16.16.101: icmp_seq=134 ttl=255 time=0.866 ms//
//64 bytes from 16.16.16.101: icmp_seq=135 ttl=255 time=1.03 ms//
//64 bytes from 16.16.16.101: icmp_seq=136 ttl=255 time=1.20 ms//
//64 bytes from 16.16.16.101: icmp_seq=137 ttl=255 time=0.999 ms//
//64 bytes from 16.16.16.101: icmp_seq=138 ttl=255 time=0.811 ms//
//64 bytes from 16.16.16.101: icmp_seq=139 ttl=255 time=1.03 ms//
//^C//
//--- 16.16.16.101 ping statistics ---//
//139 packets transmitted, 7 received, 94% packet loss, time 141201ms//
//rtt min/avg/max/mdev = 0.811/1.016/1.205/0.133 ms/


DAV0001#clear p4lang p4
DAV0001#show running-config hide
hostname DAV0001
buggy
!
logging buffered debug 10240
logging file debug /var/log/freertr.log
logging rotate 655360000 /var/log/freertr.old
!
aaa userlist usr
username rare
exit
!
bundle 1
loadbalance round
exit
!
bridge 1
mac-learn
exit
!
bridge 2
mac-learn
exit
!
bridge 3
mac-learn
exit
!
bridge 4
mac-learn
exit
!
bridge 5
mac-learn
exit
!
bridge 6
mac-learn
exit
!
vrf definition inet
exit
!
vrf definition p4
exit
!
interface bundle1
no shutdown
no log-link-change
exit
!
interface bundle1.11
bridge-group 1
no shutdown
no log-link-change
exit
!
interface bundle1.12
bridge-group 2
no shutdown
no log-link-change
exit
!
interface bundle1.16
bridge-group 6
no shutdown
no log-link-change
exit
!
interface bundle1.17
bridge-group 5
no shutdown
no log-link-change
exit
!
interface bundle1.18
bridge-group 4
no shutdown
no log-link-change
exit
!
interface bundle1.19
bridge-group 3
no shutdown
no log-link-change
exit
!
interface bvi1
no shutdown
no log-link-change
exit
!
interface bvi2
no shutdown
no log-link-change
exit
!
interface bvi3
vrf forwarding inet
ipv4 address 19.19.19.1 255.255.255.0
no shutdown
no log-link-change
exit
!
interface bvi4
no shutdown
no log-link-change
exit
!
interface bvi5
no shutdown
no log-link-change
exit
!
interface bvi6
no shutdown
no log-link-change
exit
!
interface ethernet0
no shutdown
no log-link-change
exit
!
interface ethernet1
no shutdown
no log-link-change
exit
!
interface ethernet2
no shutdown
no log-link-change
exit
!
interface sdn10
mtu 1500
macaddr 002b.1540.1530
bundle-group 1
no shutdown
no log-link-change
exit
!
interface sdn15
mtu 1500
macaddr 007c.326c.7058
no shutdown
no log-link-change
exit
!
interface sdn15.11
bridge-group 1
no shutdown
no log-link-change
exit
!
interface sdn15.12
bridge-group 2
no shutdown
no log-link-change
exit
!
interface sdn15.16
bridge-group 6
no shutdown
no log-link-change
exit
!
interface sdn15.17
bridge-group 5
no shutdown
no log-link-change
exit
!
interface sdn15.18
bridge-group 4
no shutdown
no log-link-change
exit
!
interface sdn15.19
bridge-group 3
no shutdown
no log-link-change
exit
!
interface sdn7
mtu 1500
macaddr 006c.6722.2e73
bundle-group 1
no shutdown
no log-link-change
exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sensor ifaces-hw
path interfaces-hw/interface/counter
prefix freertr-ifaces
prepend iface_hw_byte_
command sho inter hwsumm
name 0 ifc=
key name interfaces-hw/interface
replace \. _
column 1 name st
column 1 replace admin -1
column 1 replace down 0
column 1 replace up 1
column 2 name tx
column 3 name rx
column 4 name dr
exit
!
sensor ifaces-sw
path interfaces-sw/interface/counter
prefix freertr-ifaces
prepend iface_sw_byte_
command sho inter swsumm
name 0 ifc=
key name interfaces-sw/interface
replace \. _
column 1 name st
column 1 replace admin -1
column 1 replace down 0
column 1 replace up 1
column 2 name tx
column 3 name rx
column 4 name dr
exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
server telnet p4
security protocol telnet
exec logging
no exec authorization
no login authentication
login logging
vrf p4
exit
!
server telnet telnet
no exec authorization
no login authentication
vrf p4
exit
!
server p4lang p4
export-vrf inet
export-bridge 1
export-bridge 2
export-bridge 3
export-bridge 4
export-bridge 5
export-bridge 6
export-port sdn15 12 10 0 0 0
export-port sdn10 52 10 0 0 0
export-port sdn7 176 10 0 0 0
export-port bundle1 dynamic 0 0 0 0
interconnect ethernet0
vrf p4
exit
!
server prometheus pr
sensor ifaces-hw
sensor ifaces-sw
interface bvi3
vrf inet
exit
!
!
end

Regards
Xavier

Le 26/10/2022 12:08, mc36 a crit
:
hi,
so you missed the required stanza export-bridge 5 under p4lang server
again... :)
can you give that a try without the clearing?
br,
cs


On 10/26/22 12:03, wrote:
Hi

Thank you Csaba. I was in a meeting

It was also my understanding that export-bridge was required but in one of
your email ...
Whatever I update the configuration according to your advice I just keep the
@IP on the bvi3 as it is used for the monitoring

So for all others clients, no IP address on the PPN.
I just add a new client 17 and same problem

/DAV0001#conf t//
//DAV0001(cfg)#bridge 5//
//DAV0001(cfg-brdg)#mac-learn//
//DAV0001(cfg-brdg)#exit//
//DAV0001(cfg)#interface sdn15.17//
//DAV0001(cfg-subif)#bridge-group 5//
//DAV0001(cfg-subif)#exit//
//DAV0001(cfg)#interface bundle1.17//
//DAV0001(cfg-subif)#bridge-group 5//
//DAV0001(cfg-subif)#exit//
//DAV0001(cfg)#exit/

--> then configuration of the PE
--> Ping /
root@nmaas-demo:~# ping 17.17.17.101//
//PING 17.17.17.101 (17.17.17.101) 56(84) bytes of data./
--> no work
--> /DAV0001#clear p4lang p4/
then the ping works /
64 bytes from 17.17.17.101: icmp_seq=231 ttl=255 time=1.14 ms//
//64 bytes from 17.17.17.101: icmp_seq=232 ttl=255 time=1.03 ms//
//64 bytes from 17.17.17.101: icmp_seq=233 ttl=255 time=1.05 ms//
//^C//
//--- 17.17.17.101 ping statistics ---//
//233 packets transmitted, 3 received, 98% packet loss, time 237505ms//
//rtt min/avg/max/mdev = 1.032/1.078/1.148/0.062 ms/

Regards
Xavier


DAV0001#show running-config hide
hostname DAV0001
buggy
!
logging buffered debug 10240
logging file debug /var/log/freertr.log
logging rotate 655360000 /var/log/freertr.old
!
aaa userlist usr
username rare
exit
!
bundle 1
loadbalance round
exit
!
bridge 1
mac-learn
exit
!
bridge 2
mac-learn
exit
!
bridge 3
mac-learn
exit
!
bridge 4
mac-learn
exit
!
bridge 5
mac-learn
exit
!
vrf definition inet
exit
!
vrf definition p4
exit
!
interface bundle1
no shutdown
no log-link-change
exit
!
interface bundle1.11
bridge-group 1
no shutdown
no log-link-change
exit
!
interface bundle1.12
bridge-group 2
no shutdown
no log-link-change
exit
!
interface bundle1.17
bridge-group 5
no shutdown
no log-link-change
exit
!
interface bundle1.18
bridge-group 4
no shutdown
no log-link-change
exit
!
interface bundle1.19
bridge-group 3
no shutdown
no log-link-change
exit
!
interface bvi1
no shutdown
no log-link-change
exit
!
interface bvi2
no shutdown
no log-link-change
exit
!
interface bvi3
vrf forwarding inet
ipv4 address 19.19.19.1 255.255.255.0
no shutdown
no log-link-change
exit
!
interface bvi4
no shutdown
no log-link-change
exit
!
interface bvi5
no shutdown
no log-link-change
exit
!
interface ethernet0
no shutdown
no log-link-change
exit
!
interface ethernet1
no shutdown
no log-link-change
exit
!
interface ethernet2
no shutdown
no log-link-change
exit
!
interface sdn10
mtu 1500
macaddr 002b.1540.1530
bundle-group 1
no shutdown
no log-link-change
exit
!
interface sdn15
mtu 1500
macaddr 007c.326c.7058
no shutdown
no log-link-change
exit
!
interface sdn15.11
bridge-group 1
no shutdown
no log-link-change
exit
!
interface sdn15.12
bridge-group 2
no shutdown
no log-link-change
exit
!
interface sdn15.17
bridge-group 5
no shutdown
no log-link-change
exit
!
interface sdn15.18
bridge-group 4
no shutdown
no log-link-change
exit
!
interface sdn15.19
bridge-group 3
no shutdown
no log-link-change
exit
!
interface sdn7
mtu 1500
macaddr 006c.6722.2e73
bundle-group 1
no shutdown
no log-link-change
exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sensor ifaces-hw
path interfaces-hw/interface/counter
prefix freertr-ifaces
prepend iface_hw_byte_
command sho inter hwsumm
name 0 ifc=
key name interfaces-hw/interface
replace \. _
column 1 name st
column 1 replace admin -1
column 1 replace down 0
column 1 replace up 1
column 2 name tx
column 3 name rx
column 4 name dr
exit
!
sensor ifaces-sw
path interfaces-sw/interface/counter
prefix freertr-ifaces
prepend iface_sw_byte_
command sho inter swsumm
name 0 ifc=
key name interfaces-sw/interface
replace \. _
column 1 name st
column 1 replace admin -1
column 1 replace down 0
column 1 replace up 1
column 2 name tx
column 3 name rx
column 4 name dr
exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
server telnet p4
security protocol telnet
exec logging
no exec authorization
no login authentication
login logging
vrf p4
exit
!
server telnet telnet
no exec authorization
no login authentication
vrf p4
exit
!
server p4lang p4
export-vrf inet
export-bridge 3
export-port sdn15 12 10 0 0 0
export-port sdn10 52 10 0 0 0
export-port sdn7 176 10 0 0 0
export-port bundle1 dynamic 0 0 0 0
interconnect ethernet0
vrf p4
exit
!
server prometheus pr
sensor ifaces-hw
sensor ifaces-sw
interface bvi3
vrf inet
exit
!
!
end

Le 26/10/2022 10:03, mc36 a crit :
hi,
what i can see here is that you're assigning an ip to the bvi which should be
avoided...
and finally, i really have no idea how it works as the export-bridge 4 under
p4lang is missing?
br,
cs

On 10/26/22 09:45, wrote:
thank you Csaba

here it is

---------- configuration of the VLAN to connect the client ---
DAV0001#conf t
DAV0001(cfg)#bridge 4
DAV0001(cfg-brdg)#mac-learn
DAV0001(cfg-brdg)#exit
DAV0001(cfg)#interface sdn15.18
DAV0001(cfg-subif)#bridge-group 4
DAV0001(cfg-subif)#exit
DAV0001(cfg)#interface bvi4
DAV0001(cfg-if)#vrf forwarding inet
DAV0001(cfg-if)#ipv4 address 18.18.18.1 255.255.255.0
DAV0001(cfg-if)#exit
DAV0001(cfg)#exit
DAV0001#ping 18.18.18.1 vrf inet
pinging 18.18.18.1, src=null, vrf=inet, cnt=5, len=64, df=false, tim=1000,
gap=0, ttl=255, tos=0, sgt=0, flow=0, fill=0, alrt=-1, sweep=false,
multi=false
!!!!!
result=100.0%, recv/sent/lost/err=5/5/0/0, took 1, min/avg/max/dev
rtt=0/0.1/1/0.1, ttl 255/255/255/0.0, tos 0/0.0/0/0.0

DAV0001#show ipv4 arp bvi4
mac address time static
246e.964c.3e1a 18.18.18.44 00:00:37 false

-----------------

DAV0001#clear p4lang p4

----> then ping with client works

------------- configuration bundle for connection to the PE ------------

DAV0001#conf t
DAV0001(cfg)#interface bundle1.18
DAV0001(cfg-subif)#bridge-group 4
DAV0001(cfg-subif)#exit
-------------

DAV0001#clear p4lang p4
----> then ping from client to PE works

Regards
Xavier

Le 26/10/2022 09:29, mc36 a crit :
hi,
could you please give me the exact cli commands you execute on the rare box?
then maybe i can fix the issue... :)
(it must be a bug somewhere in the freerouter exporting process...)
thanks,
cs



On 10/26/22 09:26, wrote:
Hello

In my use case (see below graph) , from time to time, I will have to add a
new 'virtual' interface (bundle1.12 ... bundle1.15 etc ...) for each client.
I notice that I need to make a 'clear p4lang p4' on the PPN, each time I add
a client.
This annoy me because it will generate traffic perturbation when adding a new
client on the traffic of all other clients.

Maybe I do not configure correctly me P4lang server

/DAV0001#show running-config server p4lang p4//
//server p4lang p4//
// export-vrf inet//
// export-port sdn15 12 10 0 0 0//
// export-port sdn10 52 10 0 0 0//
// export-port sdn7 176 10 0 0 0//
// export-port bundle1 dynamic 0 0 0 0//
// interconnect ethernet0//
// vrf p4//
// exit/

Here is the description of the steps I follow to add a client :

1/ I create a VLAN between the client (here a linux machine) and the PPN Wedge; I implement a bridge on the PPN and put an address on the bvi of the bridge to check the connectivity
then
On the client - Ping from client to the bvi on the PNN -- failed
On the PPN - clear p4lang p4
then the Ping works

2/ I implement the connection between the PPN and the PE (Bundle
configuration on the PPN and on the PE)
The
On the client - Ping from client to the end of the bundle on the PE -- failed
On the PE - clear p4lang p4
On the client - Ping from client to the end of the bundle on the PE -- still
ailed
On the PPN - clear p4lang p4
then the Ping works


Any idea ?
My conf is below

Thank you
Xavier


DAV0001#show running-config hide
hostname DAV0001
buggy
!
logging buffered debug 10240
logging file debug /var/log/freertr.log
logging rotate 655360000 /var/log/freertr.old
!
aaa userlist usr
username rare
exit
!
bundle 1
loadbalance round
exit
!
bridge 1
mac-learn
exit
!
bridge 2
mac-learn
exit
!
bridge 3
mac-learn
exit
!
bridge 4
mac-learn
exit
!
vrf definition inet
exit
!
vrf definition p4
exit
!
interface bundle1
no shutdown
no log-link-change
exit
!
interface bundle1.11
bridge-group 1
no shutdown
no log-link-change
exit
!
interface bundle1.12
bridge-group 2
no shutdown
no log-link-change
exit
!
interface bundle1.18
bridge-group 4
no shutdown
no log-link-change
exit
!
interface bundle1.19
bridge-group 3
no shutdown
no log-link-change
exit
!
interface bvi1
no shutdown
no log-link-change
exit
!
interface bvi2
no shutdown
no log-link-change
exit
!
interface bvi3
vrf forwarding inet
ipv4 address 19.19.19.1 255.255.255.0
no shutdown
no log-link-change
exit
!
interface bvi4
vrf forwarding inet
ipv4 address 18.18.18.1 255.255.255.0
no shutdown
no log-link-change
exit
!
interface ethernet0
no shutdown
no log-link-change
exit
!
interface ethernet1
no shutdown
no log-link-change
exit
!
interface ethernet2
no shutdown
no log-link-change
exit
!
interface sdn10
mtu 1500
macaddr 002b.1540.1530
bundle-group 1
no shutdown
no log-link-change
exit
!
interface sdn15
mtu 1500
macaddr 007c.326c.7058
no shutdown
no log-link-change
exit
!
interface sdn15.11
bridge-group 1
no shutdown
no log-link-change
exit
!
interface sdn15.12
bridge-group 2
no shutdown
no log-link-change
exit
!
interface sdn15.18
bridge-group 4
no shutdown
no log-link-change
exit
!
interface sdn15.19
bridge-group 3
no shutdown
no log-link-change
exit
!
interface sdn7
mtu 1500
macaddr 006c.6722.2e73
bundle-group 1
no shutdown
no log-link-change
exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sensor ifaces-hw
path interfaces-hw/interface/counter
prefix freertr-ifaces
prepend iface_hw_byte_
command sho inter hwsumm
name 0 ifc=
key name interfaces-hw/interface
replace \. _
column 1 name st
column 1 replace admin -1
column 1 replace down 0
column 1 replace up 1
column 2 name tx
column 3 name rx
column 4 name dr
exit
!
sensor ifaces-sw
path interfaces-sw/interface/counter
prefix freertr-ifaces
prepend iface_sw_byte_
command sho inter swsumm
name 0 ifc=
key name interfaces-sw/interface
replace \. _
column 1 name st
column 1 replace admin -1
column 1 replace down 0
column 1 replace up 1
column 2 name tx
column 3 name rx
column 4 name dr
exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
server telnet p4
security protocol telnet
exec logging
no exec authorization
no login authentication
login logging
vrf p4
exit
!
server telnet telnet
no exec authorization
no login authentication
vrf p4
exit
!
server p4lang p4
export-vrf inet
export-port sdn15 12 10 0 0 0
export-port sdn10 52 10 0 0 0
export-port sdn7 176 10 0 0 0
export-port bundle1 dynamic 0 0 0 0
interconnect ethernet0
vrf p4
exit
!
server prometheus pr
sensor ifaces-hw
sensor ifaces-sw
interface bvi3
vrf inet
exit
!
!
end


--
Xavier JEANNIN
Network Dpt.
GN4-3 Network technology evolution (WP6 T1) task leader
T l. : +33 1 5394 2042
Mob. : +33 6 3017 0963
www.renater.fr



--
Xavier JEANNIN
Network Dpt.
GN4-3 Network technology evolution (WP6 T1) task leader
T l. : +33 1 5394 2042
Mob. : +33 6 3017 0963
www.renater.fr

--
Xavier JEANNIN
Network Dpt.
GN4-3 Network technology evolution (WP6 T1) task leader
T l. : +33 1
5394 2042
Mob. : +33 6 3017 0963
www.renater.fr

--
Xavier JEANNIN
Network Dpt.
GN4-3 Network technology evolution (WP6 T1) task leader
T l. : +33 1 5394 2042
Mob. : +33 6 3017 0963
www.renater.fr

_._,_._,_
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#814) <https://groups.io/g/freertr/message/814> | Reply To Group <> | Reply To Sender <> | Mute This Topic <https://groups.io/mt/94576914/6006518> | New Topic <https://groups.io/g/freertr/post>
Your Subscription <https://groups.io/g/freertr/editsub/6006518> | Contact Group Owner <> | Unsubscribe <https://groups.io/g/freertr/unsub> []

_._,_._,_

--
Xavier JEANNIN
Network Dpt.
GN4-3 Network technology evolution (WP6 T1) task leader
T l. : +33 1 5394 2042
Mob. : +33 6 3017 0963
www.renater.fr




Archive powered by MHonArc 2.6.19.

Top of Page