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

IANA defined port 9339 for gNMI / gNOI is not used as default port #457

Open
raghubk opened this issue Jun 5, 2024 · 3 comments
Open

IANA defined port 9339 for gNMI / gNOI is not used as default port #457

raghubk opened this issue Jun 5, 2024 · 3 comments

Comments

@raghubk
Copy link

raghubk commented Jun 5, 2024

Hello,

Currently if gnmic command isn't provided with port#, it uses ephemeral port# 57400 as default when connecting to gNMI server.

Is gnmic going to start using 9339 as default port number when connecting to gNMI server?

Regards,
Raghu

@karimra
Copy link
Collaborator

karimra commented Jun 14, 2024

You can set the port together with the address or change the default port using the config file.
As far as changing the default port to 9339, I don't see how it will help in any way. Most vendors use their own default ports (none uses 9339)

@raghubk
Copy link
Author

raghubk commented Jun 14, 2024

Thanks for your response.

Googling, I see few adoptions of this standard port# already.
google/gnxi#92 , Cisco

Using a standard port number for a service simplifies the usage, that is the only advantage.

@karimra
Copy link
Collaborator

karimra commented Jun 20, 2024

I don't see any router using that port as default. I agree with that using defaults simplifies usage, that's if vendors start using it on the server side.

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

No branches or pull requests

2 participants