Open tomvil opened 3 months ago
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.
Platform issue and need platform group to check.
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.
Not sure if this is an expected behavior?
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):