-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SmartSwitch][DHCPServer] show dhcp_server ipv4 lease
does not show the port name for smartswitch
#20155
Comments
@yaqiangz please help check why port name shown as Unknown |
Acked |
12 tasks
yaqiangz
added a commit
to yaqiangz/sonic-buildimage
that referenced
this issue
Nov 4, 2024
… switch by Cli (sonic-net#20642) Why I did it In smart switch, there is an issue that Cli query dhcp lease got unknow interface due to dpu fdb hasn't present in STATE_DB FDB_TABLE. Issue: sonic-net#20155 How I did it Query bridge fdb if there is no fdb record in STATE_DB How to verify it UT passed
11 tasks
rkavitha-hcl
pushed a commit
to rkavitha-hcl/sonic-buildimage
that referenced
this issue
Nov 15, 2024
… switch by Cli (sonic-net#20642) Why I did it In smart switch, there is an issue that Cli query dhcp lease got unknow interface due to dpu fdb hasn't present in STATE_DB FDB_TABLE. Issue: sonic-net#20155 How I did it Query bridge fdb if there is no fdb record in STATE_DB How to verify it UT passed
aidan-gallagher
pushed a commit
to aidan-gallagher/sonic-buildimage
that referenced
this issue
Nov 16, 2024
… switch by Cli (sonic-net#20642) Why I did it In smart switch, there is an issue that Cli query dhcp lease got unknow interface due to dpu fdb hasn't present in STATE_DB FDB_TABLE. Issue: sonic-net#20155 How I did it Query bridge fdb if there is no fdb record in STATE_DB How to verify it UT passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The show command for the dhcp_server does not work as expected for smartswitch platform. This is because the Port is obtained for the show command from the FDB entry in STATE_DB for the corresponding dhcp_interface, but for smartswitch the the DPUs are provided with link local addresses by the switch, and hence the port information is not present in the FDB table, due to this the port is shown as
unknown
in the output of theshow dhcp_server ipv4 lease
command. The code is present hereSteps to reproduce the issue:
show dhcp_server ipv4 lease
commandDescribe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The
ip -n
command could be used to obtain the neighbor information and this can be used to obtain the port nameThe text was updated successfully, but these errors were encountered: