Skip to content
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

SNMP should listen on mgmt IP configured via DHCP #16289

Open
SuvarnaMeenakshi opened this issue Aug 25, 2023 · 0 comments
Open

SNMP should listen on mgmt IP configured via DHCP #16289

SuvarnaMeenakshi opened this issue Aug 25, 2023 · 0 comments
Labels

Comments

@SuvarnaMeenakshi
Copy link
Contributor

Description

Steps to reproduce the issue:

Currently snmpd starts to listen on mgmt ip and loopback IP present in config_db.
Changed to listen to specific IPs instead of any IP was made here: #15487
If mgmt ip is configured via DHCP, then MGMT_INTERFACE table will not contain mgmt ip and snmpd will only listen on Loopback IP. This can be issue on devices where DHCP / ZTP is used and require snmp rechability via mgmt ip.

To achieve this, we could have a new feature to update STATE_DB with the DHCP configured mgmt IP information.
Changes could be made in snmp so that snmp restarts upon update to mgmt IP in STATE_DB so that snmpd listens on mgmt ip configured via DHCP.
Relies on #16165 feature request to update STATE_DB with mgmt ip.

Describe the results you received:

Describe the results you expected:

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants