IANA defined port 9339 for gNMI / gNOI is not used as default port
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
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)
Thanks for your response.
Googling, I see few adoptions of this standard port# already. https://github.com/google/gnxi/issues/92 , Cisco
Using a standard port number for a service simplifies the usage, that is the only advantage.
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.
Here are some references I found to default gNMI port 9339.
Nvidia/Cumulus Network: The gNMI agent listens over port 9339. https://docs.nvidia.com/networking-ethernet-software/cumulus-netq-48/Manage-Events-and-Notifications/gNMI-Streaming/
Extreme Networks: By default, non TLS gNMI server runs on port 9339. https://documentation.extremenetworks.com/slxos/sw/20xx/20.3.2/commands/GUID-6F6AAF0A-0699-44D0-B579-DF38963D6059.shtml
Cisco 8000 Series Routers and Cisco user docs reference to port 9339 https://www.cisco.com/c/en/us/td/docs/iosxr/cisco8000/system-management/b-system-management/m-manageability-commands.html#wp4022790341 https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/168/b_168_programmability_cg/gNMI_protocol.pdf
ONF Stratum: Stratum no longer supports port 28000 for gRPC connections by default. You should use port 9339 (gNMI) https://opennetworking.org/news-and-events/blog/community-highlights-april-2021/
This issue is stale because it has been open for 12 months with no activity.
This issue was closed because it has been inactive for 30 days since being marked as stale.