cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1213
Views
12
Helpful
4
Replies

Set a descriptive string to a port

ody_bikas
Level 1
Level 1

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 4

Joe Clarke
Cisco Employee
Cisco Employee

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.

Is portName universally supported on all CatOS switches?

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

Yes, this MIB object is supported on CatOS devices.

waelalghonimy
Level 1
Level 1

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