You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a switch reboot, the interface appears as UP in the show interface status output but is displayed as DOWN in the kernel (ip link show Ethernet0). To resolve this issue, it is necessary to manually bring the interface up by running ip link set up Ethernet0 or alternatively config interface startup Ethernet0.
This behavior has been observed on the EdgeCore AS7326 switch. The same image was tested on the DELL S5248F, where the issue did not occur.
# show interfaces status | grep Ethernet0
Ethernet0 3 25G 9100 N/A Eth1/1(Port1) routed up up SFP/SFP+/SFP28 N/A
# ip link show Ethernet0 | grep state
9: Ethernet0: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
# ip link set up Ethernet0
# ip link show Ethernet0 | grep state
9: Ethernet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
Steps to reproduce the issue:
Build image from 202405 branch
Install it on AS7326 switch
After boot the Ethernet0 (this interface in my case is connected to a server) will be shown as DOWN in the kernel
Describe the results you received:
After a reboot, all interfaces that should be up remain down and require manual intervention to bring them up.
Describe the results you expected:
After reboot all interfaces that should be up should automatically transition to the UP state without manual intervention.
I've built a clean (without any non-default features enabled) image and can not reproduce this issue. Will try to investigate further, which feature is causing this.
So, this is reproducible with "ZTP" feature enabled. If you use dhcp option 239 and execute a simple script like
#!/bin/bash
/usr/bin/logger "success"
this will cause Ethernet0 to be displayed as "DOWN" in the kernel. Probably because default /etc/sonic/config_db.json is not generated? As soon I as copy-paste default config, reboot the switch (or config reload -y) and everything is ok. Interface is UP, and stays up after reboot, etc.
Description
After a switch reboot, the interface appears as UP in the
show interface status
output but is displayed as DOWN in the kernel (ip link show Ethernet0
). To resolve this issue, it is necessary to manually bring the interface up by runningip link set up Ethernet0
or alternativelyconfig interface startup Ethernet0
.This behavior has been observed on the EdgeCore AS7326 switch. The same image was tested on the DELL S5248F, where the issue did not occur.
Steps to reproduce the issue:
Describe the results you received:
After a reboot, all interfaces that should be up remain down and require manual intervention to bring them up.
Describe the results you expected:
After reboot all interfaces that should be up should automatically transition to the UP state without manual intervention.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: