Posted on October 6, 2021 8:39 pm
 |  Asked by Weirong Jiang
 |  27 views
Tags:
0
0
Print Friendly, PDF & Email

Hello, I created a lab using cEOS where I connected containers using veth pairs. Seems when the interface number (e.g. ‘eth149’) is large, Lldp would fail to start. So my questions are, what is exact value of ‘phyIntfPerSlot’? Is there any way to adjust its value (e.g. by setting some environment variables for cEOS)?

bash-4.2# Lldp

Lldp: /src/Lldp/LldpInputSm.tin:118: void Lldp::Agent::Input::intfNameToVlanIdAndManAddrPriority(Arnet::IntfId, Bridging::VlanIdOrNone*, Lldp::ManAddrPriority*): Assertion `port <= phyIntfPerSlot’ failed.

Unix Time: 1633450063: Process 3388 lwp 3388 died with signal 6 (SIGABRT) code -6 (tkill)

Process has 1 thread

—————————————-

Backtrace: (most recent first)

/lib/libtac.so.0(_ZN3Tac13SignalHandler13signalHandlerEiP9siginfo_tPv+0x736)[0xf79d0166]

[0xf7f21020]

[0xf7f20ff9]

/lib/libc.so.6(gsignal+0x48)[0xf743dc08]

/lib/libc.so.6(abort+0x156)[0xf743fa96]

/lib/libc.so.6(+0x25ebd)[0xf7435ebd]

/lib/libc.so.6(+0x25f3a)[0xf7435f3a]

/lib/libLldpImpl.so(+0x74973)[0xf4485973]

……

 

bash-4.2# ip link 

2305: eth149@if2306: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000

    link/ether 76:bd:53:68:f9:c0 brd ff:ff:ff:ff:ff:ff link-netnsid 7

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

2: lo0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65535 qdisc noqueue state UP mode DEFAULT group default qlen 1000

    link/ether 02:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff

3: fabric: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 10000 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000

    link/ether 3a:6d:b0:c0:2f:3a brd ff:ff:ff:ff:ff:ff

2307: eth0@if2308: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default

    link/ether 02:42:ac:11:00:0e brd ff:ff:ff:ff:ff:ff link-netnsid 0

4: cpu: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000

    link/ether 2e:56:25:9e:bf:2e brd ff:ff:ff:ff:ff:ff

5: fwd0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1488 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000

    link/ether 4e:06:f2:eb:ba:dc brd ff:ff:ff:ff:ff:ff

2290: eth143@if2289: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000

    link/ether 42:90:59:61:48:05 brd ff:ff:ff:ff:ff:ff link-netnsid 5

2292: eth141@if2291: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000

    link/ether 3a:6d:b0:70:96:47 brd ff:ff:ff:ff:ff:ff link-netnsid 5

2294: eth142@if2293: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000

    link/ether 5e:b5:37:10:72:b9 brd ff:ff:ff:ff:ff:ff link-netnsid 5

2299: eth147@if2300: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000

    link/ether 52:25:6d:e8:33:86 brd ff:ff:ff:ff:ff:ff link-netnsid 6

 

Post your Answer

You must be logged in to post an answer.