After the 'configure ports 1 : 1 display-string Alpha_Beta' command on an Alpine 3804 (ExtremWare 7.2) the cfgmaker with the --ifref=name --ifdesc=alias options gives the next output for that interface:
------------------------------- ### Interface 1001 >> Descr: 'Alpine3804/GM-16T3-Port-1:1' | Name: '1/1' | Ip: '' | Eth: '' ### Target[x.y.z.w_1001]: 1001:[EMAIL PROTECTED]: SetEnv[x.y.z.w_1001]: MRTG_INT_IP="" MRTG_INT_DESCR="Alpine3804/GM-16T3-Port-1:1" MaxBytes[x.y.z.w_1001]: 12500000 Title[x.y.z.w_1001]: Traffic Analysis for 1001 -- Alpine3804 PageTop[x.y.z.w_1001]: <H1>Traffic Analysis for 1001 -- Alpine3804</H1> <TABLE> <TR><TD>System:</TD> <TD>Alpine3804 in </TD></TR> <TR><TD>Maintainer:</TD> <TD>akarki</TD></TR> <TR><TD>Description:</TD><TD>Alpine3804/GM-16T3-Port-1:1 Alpha_Beta </TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD>1/1</TD></TR> <TR><TD>Max Speed:</TD> <TD>12.5 MBytes/s</TD></TR> </TABLE> ------------------------------- As you see on the html page in the Description field you will see the device/card-port label info. With getif and if-mib you can see all the labels on the .1.3.6.1.2.1.31.1.1.1.18 path. The interface descriptions Are available through .1.3.6.1.2.1.2.2.1.2. Is this what you wanted, or you want to see _only_ the label in the description field? Sorry for the late response, Jozsef > I've had a similar problem with Extreme Alpine switches, and > I seem to remember that the decription is not available via a > standard MIB OID. You may want to do manual > interrogation/walk using Getif > (http://www.wtcs.org/snmp4tpc/getif.htm) or a similar Unix > tool to see if you can find the port decription text. Though > I don't know how you'd map the non-standard OID so MRTG used > that OID for the description rather than its normal, if you > were to find it. > > Simon > > We're trying to have the cfgmaker label our switch ports > based on the description we put on each port in the switch's > config. It works perfectly on our cisco switches, but we're > trying to do this on our summit, and it's not working as > expected. I've tried cfgmaker --ifref=name, ifdesc=descr, > ifdesc=alias, and several others, and no luck. When doing an > snmpwalk -c > (cmtyname) -v1 (switchipaddress) | grep (description) It > shows up IF-MIB::ifAlias.16 = STRING: (description) > > Thanks in advance! > > Shawn Maceno -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
