Skip to Content.

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 11:05:11 +0100
  • Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr A5649A0122

Should I do the same on DAV0102 (DPDK machine)?

reload process p4emu

Thank you
Xavier

Le 28/02/2022 à 11:03, Xavier Jeannin a écrit :

1/ done

DAV0001#reload process bffwd

DAV0001#show interfaces sdn15
sdn15 is promisc, up (since 2d16h, 0 changes)
 description: frontpanel port 15/0
 type is sdn, hwaddr=0056.2158.6249, mtu=1500, bw=8000kbps, bridge=1
 received 0 packets (0 bytes) dropped 0 packets (0 bytes)
 transmitted 23 packets (2118 bytes) promisc=true macsec=false

Still done on DAV0102
DAV0102#show ipv4 interface
interface     state  address     netmask
loopback0     up     10.1.4.4    255.255.255.255
loopback1     up     2.2.2.4     255.255.255.255
loopback4444  up     4.4.4.4     255.255.255.255
sdn1          up     10.1.34.4   255.255.255.0
sdn2          up     10.2.34.4   255.255.255.0
sdn3          up     10.3.34.4   255.255.255.0
sdn4          admin  10.1.24.4   255.255.255.0
sdn5          down   11.11.11.4  255.255.255.0
sdn6          up     10.6.34.4   255.255.255.0
sdn7          up     10.7.34.4   255.255.255.0


2/ before the reload, I clear the interface counter and then strike the following command FYI.
I see that there is only tx packets

DAV0001#show interfaces sdn15 full
sdn15 is promisc, up (since 2d16h, 0 changes)
 description: frontpanel port 15/0
 type is sdn, hwaddr=0056.2158.6249, mtu=1500, bw=8000kbps, bridge=1
 received 0 packets (0 bytes) dropped 0 packets (0 bytes)
 transmitted 5 packets (464 bytes) promisc=true macsec=false

       packet            byte
time   tx     rx   drop  tx      rx      drop
1sec   0      0    0     0       0       0
1min   -1093  -96  0     -91360  -10389  0
1hour  0      0    0     6       0       0

                         packet            byte
type    value  handler   tx     rx   drop  tx       rx     drop
ethtyp  ffff   bridging  52202  844  0     4071766  41509  0
ethtyp  88cc   lldp      2      0    0     210      0      0

who  tx  rx

proto  pack  byte
0      5     464

            packet        byte
size        tx  rx  drop  tx   rx  drop
0-255       5   0   0     464  0   0
256-511     0   0   0     0    0   0
512-767     0   0   0     0    0   0
768-1023    0   0   0     0    0   0
1024-1279   0   0   0     0    0   0
1280-1535   0   0   0     0    0   0
1536-1791   0   0   0     0    0   0
1792-65535  0   0   0     0    0   0

       packet          byte
class  cos  exp  prec  cos  exp  prec
0      5    5    5     464  464  464
1      0    0    0     0    0    0
2      0    0    0     0    0    0
3      0    0    0     0    0    0
4      0    0    0     0    0    0
5      0    0    0     0    0    0
6      0    0    0     0    0    0
7      0    0    0     0    0    0

        2032|
        1828|                                 #
        1625|                                 #
        1422|                                 #
        1219|                                 #
        1016|                                 #
         812|                          #      #                      #
         609|                          #      #                      #
         406|                          #      #                      #
         203|                          #      #                      #
           0|                          #      #                      #
         bps|0---------10--------20--------30--------40--------50-------- seconds

        2416|
        2174|   *     *     *     *     *     *     *          *     *
        1932| * * * * * * * * * * * * * * * * * * * * * *  * * * * * * *
        1691| * * * * * * * * * * * * * * * * * * * * * *  * * * * * * *
        1449| * * * * * * * * * * * * * * * * * * * * * *  * * * * * * *
        1208| * * * * * * * * * * * * * * * * * * * * * *  * * * * * * *
         966| * * * * * * * * * * * * * * * * * * * * * *  * * * * * * *
         724|************************************************************
         483|************************************************************
         241|************************************************************
           0|*###########################################################
         bps|0---------10--------20--------30--------40--------50-------- minutes

        3040|
        2736| ************************************************* **** * **
        2432| ******************************************************** **
        2128|************************************************************
        1824|************************************************************
        1520|************************************************************
        1216|************************************************************
         912|************************************************************
         608|************************************************************
         304|************************************************************
           0|############################################################
         bps|0---------10--------20--------30--------40--------50-------- hours


 received 0 packets (0 bytes) dropped 0 packets (0 bytes)
 transmitted 5 packets (544 bytes) promisc=true macsec=false

       packet        byte
time   tx  rx  drop  tx  rx  drop
1sec   0   0   0     0   0   0
1min   0   0   0     5   0   0
1hour  0   0   0     9   0   0

         480|
         432|                              #####
         384|                              #####
         336|                              #####
         288|                              #####
         240|                              #####
         192|                              #####
         144|                    #####     #####               #####
          96|                    #####     #####               #####
          48|                    #####     #####               #####
           0|                    #####     #####               #####
         bps|0---------10--------20--------30--------40--------50-------- seconds

         728|
         655|                                               *
         582| * *               *     *    *     *  * * *   *  * *     *
         509| * *               *     *    *     *  * * *   *  * *     *
         436| * * * *  * * * * **   * * *  * * * *  * * * * * ** * * * **
         364| * * * *  * * * * ** * * * *  * * * *  * * * * * ** * * * **
         291| * * * *  * * * * ** * * * *  * * * *  * * * * * ** * * * **
         218| * * * *  * * * * ** * * * *  *** * *  * * * * * ** * * * **
         145|************************************************************
          72|***#**********#****#*****#*#**#*****#****#*****#****#*****#*
           0|############################################################
         bps|0---------10--------20--------30--------40--------50-------- minutes

         920|
         828| * ** **   **** * ** **  **** *  *  *********** ***** *** *
         736|************************************************************
         644|************************************************************
         552|************************************************************
         460|************************************************************
         368|************************************************************
         276|************************************************************
         184|************************************************************
          92|*########################################################*##
           0|#########################################################*##
         bps|0---------10--------20--------30--------40--------50-------- hours

Thank you
Xavier

Le 28/02/2022 à 10:56, mc36 a écrit :
just type in the command :)

On 2/28/22 10:52, Xavier Jeannin wrote:
thank you

Le 28/02/2022    10:25, mc36 a   crit  :
hi,
imho the other side is laying about that it's up or not....
do rx pkt increase in watch inter summ ?
what about reload process bffwd on dav0001 then?

how I do this, please ?

ThAnk you
Xavier

regards,
cs


On 2/28/22 10:09, Xavier Jeannin wrote:
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



-- 
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



Archive powered by MHonArc 2.6.19.

Top of Page