Hello
You can use the "snmpwalk" option in the diag utilities command and perform an SNMP walk of the ifdescr OID similar to the way it is done on the 5412zl2.
SNMP has to be enabled on the switch for this to work.
You need to enable diagnostic mode with the "diagnostics" command before you can use the diag utilities.
Here is an example with the 6200F with the commands and the results. Some output omitted for brevity.
6200#diagnostics
6200# diag utilities snmpwalk oid ifdescr
IF-MIB::ifDescr.1 = STRING: 1/1/1
IF-MIB::ifDescr.2 = STRING: 1/1/2
IF-MIB::ifDescr.3 = STRING: 1/1/3
IF-MIB::ifDescr.4 = STRING: 1/1/4
IF-MIB::ifDescr.5 = STRING: 1/1/5
IF-MIB::ifDescr.6 = STRING: 1/1/6
IF-MIB::ifDescr.7 = STRING: 1/1/7
IF-MIB::ifDescr.8 = STRING: 1/1/8
IF-MIB::ifDescr.9 = STRING: 1/1/9
....
...
IF-MIB::ifDescr.778 = STRING: lag10
IF-MIB::ifDescr.16777217 = STRING: vlan1
IF-MIB::ifDescr.16777226 = STRING: vlan10
IF-MIB::ifDescr.268435456 = STRING: eth0
------------------------------
Emil Gogushev
------------------------------
Original Message:
Sent: Sep 06, 2021 02:26 AM
From: Chirag Patel
Subject: CX switching walkmib
Hi,
I am looking for a command which can display the SNMP index of the port.
In Junos, by using this command "show interfaces snmp-index <number>" we can see the interface.
In HP-Switch-5412Rzl2, we can use this command to see the interface: (config)# walkmib ifdescr (https://community.arubanetworks.com/blogs/esupport1/2018/10/01/how-to-use-snmp-to-view-the-layer-1-fiber-counters-from-the-command-line-on-arubahpe-switches)
Can someone please let me know what is the equivalent command in CX switching?
Thank you.