-
Notifications
You must be signed in to change notification settings - Fork 1.1k
SONiC SNMP Design on Management Ports
Sumukha Tumkur Vani edited this page Apr 24, 2019
·
1 revision
Rev | Date | Author | Change Description |
---|---|---|---|
0.1 | Qi Luo | Initial version |
This document is intended to provide general information about the SNMP Design on Management Ports
Originally snmpagent only expose front panel ports and neighbors. Now we are considering support management port in many SNMP oids:
- InterfacesMIB
- InterfaceMIBObjects
- LLDP* mibs
This effort will also make SONiC similar to other industrial NOS.
There are two tables providing the information needed by snmp.
There are several assumptions:
- At least one management port exists, but we should support multiple
- Management port could be oper down or admin down
- Backward compatiable: there may be no MGMT_PORT_TABLE at all in both DB
- Alias field is optional. eg. eth0 may have alias such as Management0
There are some concerns:
- We don't have counters for management ports. So use 0 as placeholders in SNMP
- We need to define a new port index range for management ports, as same as front panel ports, lags, or vlans.
- That file alias_map.j2 is there long ago before we have configDB. Nowadays, we could directly get everything from redis DB, so it could be removed. One thing you should be careful is that alias in confidgDB may be dynamic.
-
For Users
-
For Developers
-
Subgroups/Working Groups
-
Presentations
-
Join Us