Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [freertr] Debug interface down DPDK implementation

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [freertr] Debug interface down DPDK implementation


Chronological Thread 
  • From: Xavier Jeannin <>
  • To:
  • Subject: Re: [RARE-users] [freertr] Debug interface down DPDK implementation
  • Date: Mon, 28 Feb 2022 10:09:56 +0100
  • Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth03.partage.renater.fr DAA1D80213

Hello

Sorry for the late answer.

1/ for the other side in front the interface sdn15 is up and is in bridge-group (see picture)


I fear that I made a stupid typo.
I put also the configuration of the 3 routers

I will make a try with 2 interfaces facing each other configured with IPv4 address.

I do not want to waste too much your time, as the machine cannot be accessed from Internet, we could make a VC or I can wait Frédéric return.

Thank you
Regards
Xavier


DAV0102#show running-config hide
hostname DAV0102
buggy
!
logging buffered debug 8192
logging file debug zzz.log
logging rotate 65536000 zzz.old
!
crypto rsakey rsa import $w10$<removed>$
!
crypto dsakey dsa import $w10$<removed>$
!
crypto ecdsakey ecdsa import $w10$<removed>$
!
aaa userlist users
 username *
 username * anypass
 username rare
 username rare password $w10$<removed>$
 exit
!
scheduler errors
 time 600000
 delay 30000
 command clear errors
 start
 exit
!
scheduler upgrade
 time 600000
 delay 60000
 random-time 60000
 random-delay 300000
 command flash upgrade
 start
 exit
!
object-group network host4
 sequence 10 10.255.255.0 255.255.255.0
 exit
!
object-group network host6
 sequence 10 2001:db8:ffff:ffff:: ffff:ffff:ffff:ffff::
 exit
!
object-group network lloc4
 sequence 10 169.254.0.0 255.255.0.0
 exit
!
object-group network lloc6
 sequence 10 fe80:: ffff::
 exit
!
object-group network mcast4
 sequence 10 224.0.0.0 255.255.0.0
 exit
!
object-group network mcast6
 sequence 10 ff00:: ff00::
 exit
!
access-list nat4
 sequence 10 deny all obj lloc4 all any all
 sequence 20 deny all any all obj mcast4 all
 sequence 30 deny all obj host4 all obj host4 all
 sequence 40 permit all obj host4 all any all
 exit
!
access-list nat6
 sequence 10 deny all obj lloc6 all any all
 sequence 20 deny all any all obj mcast6 all
 sequence 30 deny all obj host6 all obj host6 all
 sequence 40 permit all obj host6 all any all
 exit
!
prefix-list all4
 sequence 10 permit 0.0.0.0/0 ge 0 le 0
 exit
!
prefix-list all6
 sequence 10 permit ::/0 ge 0 le 0
 exit
!
vrf definition inet
 exit
!
vrf definition p4
 exit
!
router ospf4 1
 vrf inet
 router-id 10.1.4.4
 traffeng-id 0.0.0.0
 area 0 enable
 exit
!
router ospf6 1
 vrf inet
 router-id 10.1.4.4
 traffeng-id ::
 area 0 enable
 exit
!
interface loopback0
 no description
 vrf forwarding inet
 ipv4 address 10.1.4.4 255.255.255.255
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 passive
 no shutdown
 no log-link-change
 exit
!
interface loopback1
 no description
 vrf forwarding inet
 ipv4 address 2.2.2.4 255.255.255.255
 ipv6 address 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 passive
 router ospf6 1 enable
 router ospf6 1 area 0
 router ospf6 1 passive
 no shutdown
 no log-link-change
 exit
!
interface loopback4444
 no description
 vrf forwarding inet
 ipv4 address 4.4.4.4 255.255.255.255
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 passive
 no shutdown
 no log-link-change
 exit
!
interface loopback6666
 no description
 vrf forwarding inet
 ipv6 address fd00::4:4:4:4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 router ospf6 1 enable
 router ospf6 1 area 0
 router ospf6 1 passive
 no shutdown
 no log-link-change
 exit
!
interface ethernet0
 description p4 cpu port
 no shutdown
 no log-link-change
 exit
!
interface sdn1
 description FP3[eno3 - 02:00.0 - 18:5a:58:d8:d4:60]
 mtu 1500
 macaddr 0019.4e1a.2668
 lldp enable
 vrf forwarding inet
 ipv4 address 10.1.34.4 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
interface sdn2
 description FP4[eno4 - 02:00.1 - 18:5a:58:d8:d4:61]
 mtu 1500
 macaddr 005a.0c2f.7412
 lldp enable
 vrf forwarding inet
 ipv4 address 10.2.34.4 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
interface sdn3
 description FP1[eno1 - 02:00.2 - 18:5a:58:d8:d4:62]
 mtu 1500
 macaddr 185a.58d8.d462
 lldp enable
 vrf forwarding inet
 ipv4 address 10.3.34.4 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
interface sdn4
 description 10G-FP1[eno8 - 05:00.0 - 18:5a:58:d8:d4:64]
 mtu 1500
 macaddr 000e.1d31.067c
 lldp enable
 vrf forwarding inet
 ipv4 address 10.1.24.4 255.255.255.0
 router ospf4 1 enable
 router ospf4 1 area 0
 shutdown
 no log-link-change
 exit
!
interface sdn5
 description 10G-FP2[eno7 - 05:00.1 - 18:5a:58:d8:d4:65]
 mtu 1500
 macaddr 0014.0b0d.536c
 lldp enable
 vrf forwarding inet
 ipv4 address 11.11.11.4 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
interface sdn6
 description FP6[eno6 - 07:00.0 - 18:5a:58:d8:d4:66]
 mtu 1500
 macaddr 0032.380d.1e76
 lldp enable
 vrf forwarding inet
 ipv4 address 10.6.34.4 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
interface sdn7
 description FP5[eno5 - 07:00.1]
 mtu 1500
 macaddr 003d.0919.4168
 lldp enable
 vrf forwarding inet
 ipv4 address 10.7.34.4 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
proxy-profile inet
 vrf inet
 exit
!
!
!
!
!
!
ipv4 nat inet sequence 10 srclist nat4 interface sdn3
!
ipv6 nat inet sequence 10 srclist nat6 interface sdn3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
alias test bash command attach shell1 socat - exec:bash,ctty,pty,stderr
alias test bash description get linux shell
!
server telnet p4
 security protocol telnet
 no exec authorization
 no login authentication
 vrf p4
 exit
!
server telnet tel
 security authentication users
 security rsakey rsa
 security dsakey dsa
 security ecdsakey ecdsa
 access-log
 access-rate 5 5000
 access-total 5
 access-peer 5
 second-port 22
 exec logging
 no exec authorization
 login authentication users
 login logging
 login last global
 vrf inet
 exit
!
server p4lang p4
 export-vrf inet 1
 export-port sdn1 0 1 0 0 0
 export-port sdn2 1 1 0 0 0
 export-port sdn3 2 1 0 0 0
 export-port sdn4 3 10 0 0 0
 export-port sdn5 4 10 0 0 0
 export-port sdn6 5 1 0 0 0
 export-port sdn7 6 1 0 0 0
 interconnect ethernet0
 vrf p4
 exit
!
server dns ns
 recursion enable
 vrf inet
 exit
!
client proxy inet
client name-server 193.49.159.2
client upgrade-server http://upgrade.nop.hu/
client upgrade-backup
client config-backup
client time-server europe.pool.ntp.org
client time-zone CET
!
end


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
!
crypto rsakey rsa import $w10$<removed>$
!
crypto dsakey dsa import $w10$<removed>$
!
crypto ecdsakey ecdsa import $w10$<removed>$
!
aaa userlist usr
 username rare
 username rare password $w10$<removed>$
 exit
!
scheduler errors
 time 600000
 delay 30000
 command clear errors
 start
 exit
!
access-list ACL_IN_4
 sequence 10 permit all any all any all
 exit
!
access-list ACL_IN_6
 sequence 10 permit all any all any all
 exit
!
access-list ACL_NAT4
 sequence 10 permit 17 any all 4.4.4.4 255.255.255.255 all
 sequence 20 permit 6 any all 4.4.4.4 255.255.255.255 all
 sequence 30 deny all any all any all
 exit
!
access-list ACL_NAT6
 sequence 10 permit 17 any all fd00::4:4:4:4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all
 sequence 20 permit 6 any all fd00::4:4:4:4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all
 exit
!
access-list test4
 sequence 10 permit 1 any all any all
 exit
!
access-list test6
 sequence 10 permit 58 any all any all
 exit
!
prefix-list all4
 sequence 10 permit 0.0.0.0/0 ge 0 le 0
 exit
!
prefix-list all6
 sequence 10 permit ::/0 ge 0 le 0
 exit
!
bridge 1
 mac-learn
 exit
!
vrf definition inet
 exit
!
vrf definition isisvrf
 exit
!
vrf definition lin
 exit
!
vrf definition oob
 exit
!
vrf definition p4
 description P4 VRF _NEVER_EVER_ CONFIGURE IT
 exit
!
router ospf4 1
 vrf inet
 router-id 10.1.1.1
 traffeng-id 0.0.0.0
 area 0 enable
 exit
!
router ospf6 1
 vrf inet
 router-id 10.1.1.1
 traffeng-id ::
 area 0 enable
 exit
!
interface loopback0
 no description
 vrf forwarding inet
 ipv4 address 10.1.1.1 255.255.255.255
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 passive
 no shutdown
 no log-link-change
 exit
!
interface loopback1234
 no description
 vrf forwarding inet
 ipv4 address 1.2.3.4 255.255.255.255
 no shutdown
 no log-link-change
 exit
!
interface bvi1
 no description
 no shutdown
 no log-link-change
 exit
!
interface ethernet0
 description CPU_PORT _NEVER_EVER_ CONFIGURE IT
 no shutdown
 no log-link-change
 exit
!
interface sdn10
 description frontpanel port 10/0
 mtu 1500
 macaddr 0031.755e.0363
 lldp enable
 vrf forwarding inet
 ipv4 address 10.1.12.1 255.255.255.0
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 cost 10000
 no shutdown
 no log-link-change
 exit
!
interface sdn15
 description frontpanel port 15/0
 mtu 1500
 macaddr 0056.2158.6249
 lldp enable
 bridge-group 1
 no shutdown
 log-link-change
 exit
!
interface sdn5
 no description
 mtu 1500
 macaddr 0059.6603.523d
 no shutdown
 no log-link-change
 exit
!
interface sdn7
 description frontpanel port 7/0
 mtu 1500
 macaddr 0040.784a.0b38
 lldp enable
 bridge-group 1
 no shutdown
 log-link-change
 exit
!
interface sdn7.666
 no description
 lldp enable
 vrf forwarding inet
 ipv4 address 6.6.6.1 255.255.255.0
 no shutdown
 no log-link-change
 exit
!
router bgp4 666
 vrf isisvrf
 local-as 1213
 router-id 87.44.48.238
 address-family linkstate
 exit
!
proxy-profile oob
 vrf oob
 exit
!
!
ipv4 route inet 2.2.2.2 255.255.255.255 10.1.13.3
ipv4 route inet 3.3.3.3 255.255.255.255 10.1.13.3
ipv4 route inet 6.6.6.6 255.255.255.255 10.1.13.3
!
!
!
!
ipv4 nat inet sequence 10 srclist ACL_NAT4 interface sdn15
!
ipv6 nat inet sequence 10 srclist ACL_NAT6 interface sdn15
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
alias test tna-asic-temp command attach shell1 /opt/freertr/bin/sh_tna_temp.sh
alias test tna-asic-temp cmd2nd flash type /etc/freertr/tna_temp.cfg
alias test tna-asic-temp description display forwarding asic cpu temperature
!
alias test tna-linux-access command ssh 10.255.255.1 /vrf lin /user sysadmin /pass sysadmin
alias test tna-linux-access description access linux console
!
alias test tna-linux-temp command attach shell2 acpi -V
alias test tna-linux-temp description display main cpu temperature
!
alias test tna-port-detect command attach shell1 /opt/freertr/bin/sh_tna_ports.sh
alias test tna-port-detect cmd2nd test hwpop uclipm /etc/freertr/tna_ports.cfg server p4lang p4 ports ready auto normal apply add
alias test tna-port-detect description Detect TOFINO ports
!
alias test tna-port-remove command attach shell1 /opt/freertr/bin/sh_tna_ports.sh
alias test tna-port-remove cmd2nd test hwpop uclipm /etc/freertr/tna_ports.cfg server p4lang p4 ports ready auto normal apply del
alias test tna-port-remove description Remove NON RDY TOFINO ports
!
server telnet oob
 security authentication usr
 security rsakey rsa
 security dsakey dsa
 security ecdsakey ecdsa
 second-port 22
 exec logging
 no exec authorization
 login authentication usr
 login logging
 vrf oob
 exit
!
server telnet p4
 security protocol telnet
 exec logging
 no exec authorization
 no login authentication
 login logging
 vrf p4
 exit
!
server p4lang p4
 export-vrf inet 1
 export-bridge 1
 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 sdn7.666 666 10 0 0 0
 interconnect ethernet0
 vrf p4
 exit
!
client proxy oob
client name-server 1.1.1.1
client time-server europe.pool.ntp.org
client time-zone CET
!
end




DAV0101#show running-config hide
hostname DAV0101
buggy
!
logging buffered debug 8192
logging file debug zzz.log
logging rotate 65536000 zzz.old
!
crypto rsakey rsa import $w10$<removed>$
!
crypto dsakey dsa import $w10$<removed>$
!
crypto ecdsakey ecdsa import $w10$<removed>$
!
aaa userlist usr
 username rare
 username rare password $w10$<removed>$
 exit
!
scheduler errors
 time 600000
 delay 30000
 command clear errors
 start
 exit
!
scheduler upgrade
 time 600000
 delay 60000
 random-time 60000
 random-delay 300000
 command flash upgrade
 start
 exit
!
object-group network host4
 sequence 10 10.255.255.0 255.255.255.0
 exit
!
object-group network host6
 sequence 10 2001:db8:ffff:ffff:: ffff:ffff:ffff:ffff::
 exit
!
object-group network lloc4
 sequence 10 169.254.0.0 255.255.0.0
 exit
!
object-group network lloc6
 sequence 10 fe80:: ffff::
 exit
!
object-group network mcast4
 sequence 10 224.0.0.0 255.255.0.0
 exit
!
object-group network mcast6
 sequence 10 ff00:: ff00::
 exit
!
access-list nat4
 sequence 10 deny all obj lloc4 all any all
 sequence 20 deny all any all obj mcast4 all
 sequence 30 deny all obj host4 all obj host4 all
 sequence 40 permit all obj host4 all any all
 exit
!
access-list nat6
 sequence 10 deny all obj lloc6 all any all
 sequence 20 deny all any all obj mcast6 all
 sequence 30 deny all obj host6 all obj host6 all
 sequence 40 permit all obj host6 all any all
 exit
!
access-list test4
 sequence 10 permit all any all 3.3.3.3 255.255.255.255 all
 exit
!
prefix-list all4
 sequence 10 permit 0.0.0.0/0 ge 0 le 0
 exit
!
prefix-list all6
 sequence 10 permit ::/0 ge 0 le 0
 exit
!
vrf definition inet
 exit
!
vrf definition oob
 exit
!
vrf definition p4
 exit
!
router ospf4 1
 vrf inet
 router-id 10.1.3.3
 traffeng-id 0.0.0.0
 area 0 enable
 exit
!
router ospf6 1
 vrf inet
 router-id 10.1.3.3
 traffeng-id ::
 area 0 enable
 exit
!
interface loopback0
 no description
 vrf forwarding inet
 ipv4 address 10.1.3.3 255.255.255.255
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 passive
 no shutdown
 no log-link-change
 exit
!
interface loopback1
 no description
 vrf forwarding inet
 ipv4 address 2.2.2.3 255.255.255.255
 ipv6 address 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 router ospf4 1 enable
 router ospf4 1 area 0
 router ospf4 1 passive
 router ospf6 1 enable
 router ospf6 1 area 0
 router ospf6 1 passive
 no shutdown
 no log-link-change
 exit
!
interface loopback3333
 no description
 vrf forwarding inet
 ipv4 address 3.3.3.3 255.255.255.255
 no shutdown
 no log-link-change
 exit
!
interface ethernet0
 description p4 cpu port
 no shutdown
 no log-link-change
 exit
!
interface sdn1
 no description
 mtu 1500
 macaddr 0028.7866.2c41
 lldp enable
 vrf forwarding inet
 ipv4 address 10.1.34.3 255.255.255.0
 shutdown
 no log-link-change
 exit
!
interface sdn2
 no description
 mtu 1500
 macaddr 0040.572f.3c09
 lldp enable
 vrf forwarding inet
 ipv4 address 10.2.34.3 255.255.255.0
 shutdown
 no log-link-change
 exit
!
interface sdn3
 no description
 mtu 1500
 macaddr 0009.1275.1e69
 lldp enable
 vrf forwarding inet
 ipv4 address 10.3.34.3 255.255.255.0
 shutdown
 no log-link-change
 exit
!
interface sdn4
 no description
 mtu 1500
 macaddr 004f.3b5b.5353
 lldp enable
 vrf forwarding inet
 ipv4 address 10.1.23.3 255.255.255.0
 router ospf4 1 enable
 router ospf4 1 area 0
 no shutdown
 no log-link-change
 exit
!
interface sdn5
 no description
 mtu 1500
 macaddr 0060.1a21.1d27
 lldp enable
 vrf forwarding inet
 ipv4 address 11.11.11.3 255.255.255.0
 ipv6 address 1234:1::3 ffff:ffff::
 no shutdown
 no log-link-change
 exit
!
interface sdn6
 no description
 mtu 1500
 macaddr 0061.4870.5670
 lldp enable
 vrf forwarding inet
 ipv4 address 10.6.34.3 255.255.255.0
 shutdown
 no log-link-change
 exit
!
interface sdn7
 no description
 mtu 1500
 macaddr 0067.2724.3157
 lldp enable
 vrf forwarding inet
 ipv4 address 10.7.34.3 255.255.255.0
 shutdown
 no log-link-change
 exit
!
proxy-profile inet
 vrf inet
 exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
alias test bash command attach shell1 socat - exec:bash,ctty,pty,stderr
alias test bash description get linux shell
!
server telnet inet
 security protocol telnet
 security authentication usr
 exec logging
 no exec authorization
 login authentication usr
 login logging
 interface loopback3333
 vrf inet
 exit
!
server telnet oob
 security authentication usr
 security rsakey rsa
 security dsakey dsa
 security ecdsakey ecdsa
 second-port 22
 exec logging
 no exec authorization
 login authentication usr
 login logging
 vrf oob
 exit
!
server telnet p4
 security protocol telnet
 no exec authorization
 no login authentication
 vrf p4
 exit
!
server telnet tel
 security rsakey rsa
 security dsakey dsa
 security ecdsakey ecdsa
 access-log
 access-rate 5 5000
 access-total 5
 access-peer 5
 protocol ipv4 tcp
 second-port 22
 exec logging
 no exec authorization
 no login authentication
 login logging
 login last global
 vrf inet
 exit
!
server p4lang p4
 export-vrf inet 1
 export-vrf oob 2
 export-port sdn1 0 1 0 0 0
 export-port sdn2 1 1 0 0 0
 export-port sdn3 2 1 0 0 0
 export-port sdn4 3 10 0 0 0
 export-port sdn5 4 10 0 0 0
 export-port sdn6 5 1 0 0 0
 export-port sdn7 6 1 0 0 0
 export-port sdn5.666 666 10 0 0 0
 interconnect ethernet0
 vrf p4
 exit
!
server dns ns
 recursion enable
 vrf inet
 exit
!
client proxy inet
client name-server 193.49.159.2
client upgrade-server http://upgrade.nop.hu/
client upgrade-backup
client config-backup
client time-server europe.pool.ntp.org
client time-zone CET
!
end






Le 26/02/2022 à 08:48, mc36 a écrit :
hi

On 2/25/22 18:59, Xavier Jeannin wrote:
anyway, then "reload process p4emu" is the old-ish way to trigger the dataplane reprogramming...
Still down after reload
okk then let's assume this side of the link is right: the config here is ok, the dataplane was reloaded...
what about the other end then?

thanks,
cs
-- 
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