Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Set a descriptive string to a port

Hi I'm trying to set a string to a port (port 14), I'm using scotty and tcl. I write $w set [ list [ list 1.3.6.1.4.1.437.1.1.3.3.1.1.3.14 "odysseas"] ] . Where $s is the session of snmp the error that returned was illegal object identifier "odysseas". I set 1.3.6.1.2.1.1.4.0 (contact person) but I can't set this OID. Iwould appreciate any help. Thank you in advance

4 REPLIES
Cisco Employee

Re: Set a descriptive string to a port

I have no idea the API used by Scotty. You should probably ask on a Scotty-specific forum. However, the OID you're specifying, swPortName, is only supported by Catalyst 1900 and 2820 series switches. It will not work on any other devices.

Blue

Re: Set a descriptive string to a port

Is portName universally supported on all CatOS switches?

cisco.workgroup.ciscoStackMIB.portGrp.portTable.portEntry.portName.[mod#].[port#]

Red

Re: Set a descriptive string to a port

Yes, this MIB object is supported on CatOS devices.

New Member

Re: Set a descriptive string to a port

Hi,

You can telnet to your switch/router and use the description command like the following example:

switch#conf term

switch (config)#int gigabitEthernet 3/4

switch (config-if)#

description *** Link 2/2 to MUN_BBL_F0_IDFB_SW01 ***

thanks

Wael

116
Views
12
Helpful
4
Replies
CreatePlease to create content