RE: Antw: Network interfaces rename

Jurkiewicz Jean-Marc <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> Is it possible to change the network interfaces names

No : ifDescr (1.3.6.1.2.1.2.2.1.2) is Read-Only ( unless you are the fabricant of the device on which you read it (127.0.0.1)  )
 
> ( or to create ‘aliases’) ?

Yes if the device on which you read it (127.0.0.1)  support it

Best regards
JM

-----Message d'origine-----
De : Ulrich Windl [mailto:[email protected]] 
Envoyé : mercredi, 4. novembre 2015 09:11
À : [email protected]; [email protected]
Objet : Antw: Network interfaces rename

>>> Andreas Haralambopoulos <[email protected]> schrieb am 04.11.2015 um
08:39
in Nachricht <[email protected]>:
> Is it possible to change the network interfaces names ( or to create 
> ‘aliases’) ?
> 
> for example
> 
> snmpwalk -v2c -c password 127.0.0.1
> 
> 
> replacing  these names 
> 
> IF-MIB::ifDescr.6 = STRING: vlan10
> IF-MIB::ifDescr.7 = STRING: vlan172
> IF-MIB::ifDescr.8 = STRING: vlan11
> IF-MIB::ifDescr.9 = STRING: vlan12 
> 
> to
> 
> IF-MIB::ifDescr.6 = STRING: Internet
> IF-MIB::ifDescr.7 = STRING: dmz
> IF-MIB::ifDescr.8 = STRING: guest_lan
> IF-MIB::ifDescr.9 = STRING: wifi

I guess if you do it in the OS, SNMP will see then change.

> 
> 
> thanks
> 
> andreas
> 
> 
>
----------------------------------------------------------------------------
> --
> _______________________________________________
> Net-snmp-users mailing list
> [email protected] 
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users 




------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.