Change Port Name SNMP String
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-05-2014 09:57 PM
Hello, I need to change the name of the port SNMP String.
With the command "configure ports 1:3 display-string tester" a string of port really changed, but when I look at the values SNMPWalk return:
IF-MIB :: ifDescr.1003 = STRING: Stack Port 1: 3
What is the command to change this string for example "Stack Port 1: 1" to "tester"
With the command "configure ports 1:3 display-string tester" a string of port really changed, but when I look at the values SNMPWalk return:
IF-MIB :: ifDescr.1003 = STRING: Stack Port 1: 3
What is the command to change this string for example "Stack Port 1: 1" to "tester"
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-07-2014 06:14 PM
Daniel,
checking the Mib really exists ifAlias.
I used the ifAlias in Zabbix graphs and showed the name I needed.
Thanks to all
checking the Mib really exists ifAlias.
I used the ifAlias in Zabbix graphs and showed the name I needed.
Thanks to all
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-07-2014 06:14 PM
Can you please tell me how do you change use ifAlias . Currently i am also trying to see Port Description in SNMP sever side. When port up down happen snmp traps send to the server then send to Administrator for alert messages via email. Currently can only see .1013 mean 10 switch 1 port number 13 up down etc. can't see the port description. Appreciate your help! Thanks.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-07-2014 03:03 PM
I forgot to mention that ifDescr is READ ONLY. That's why you couldn't change it...
Use ifAlias instead.
Use ifAlias instead.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-07-2014 02:55 PM
Rodrigo,
Since v15.3 we have both Display-String and Description-String:
Port Flags Link ELSM Link Num Num Num Jumbo QOS Load
State /OAM UPS STP VLAN Proto Size profile Master
=====================================================================================
PortDisp> Em------e--fMB----- active - / - 5 0 2 0 9216 none
=====================================================================================
Show port info detail will display both the display-string and the description-string
Port: 1(PortDisplayString😞
Description String: "This Is The Port Description String"
Virtual-router: VR-Default
Type: UTP
Random Early drop: Unsupported
Admin state: Enabled with auto-speed sensing auto-duplex
Link State: Active, 100Mbps, full-duplex
Link Ups: 5 Last: Thu Nov 06 17:17:53 2014
Link Downs: 4 Last: Thu Nov 06 17:17:47 2014
Whatever you write in the MIB variable ifAlias (1.3.6.1.2.1.31.1.1.1.18) will show both in Description String and in Display String (truncated to 20 chars).
If you only set Display-String, it will appear in ifAlias. But if you set Description-String, it will replace the Display-String value in ifAlias. If you then change Display-String, ifAlias won't change, unless you unconfigure Display-String...
Confusing, I know...
I've been playing with NetSight MIB Tool and EXOS v15.6.1.4
Since v15.3 we have both Display-String and Description-String:
- Display-string has a maximum length of 20 characters and does nos accept spaces.
- Description-string has a maximum length of 255 characters and accepts spaces.
Port Flags Link ELSM Link Num Num Num Jumbo QOS Load
State /OAM UPS STP VLAN Proto Size profile Master
=====================================================================================
PortDisp> Em------e--fMB----- active - / - 5 0 2 0 9216 none
=====================================================================================
Show port info detail will display both the display-string and the description-string
Port: 1(PortDisplayString😞
Description String: "This Is The Port Description String"
Virtual-router: VR-Default
Type: UTP
Random Early drop: Unsupported
Admin state: Enabled with auto-speed sensing auto-duplex
Link State: Active, 100Mbps, full-duplex
Link Ups: 5 Last: Thu Nov 06 17:17:53 2014
Link Downs: 4 Last: Thu Nov 06 17:17:47 2014
Whatever you write in the MIB variable ifAlias (1.3.6.1.2.1.31.1.1.1.18) will show both in Description String and in Display String (truncated to 20 chars).
If you only set Display-String, it will appear in ifAlias. But if you set Description-String, it will replace the Display-String value in ifAlias. If you then change Display-String, ifAlias won't change, unless you unconfigure Display-String...
Confusing, I know...
I've been playing with NetSight MIB Tool and EXOS v15.6.1.4
