how to change switch name

i need to change switch name.

4 replies

configure snmp sysname < host name of switch >
Dear Friend....
tq friends . Its Great its working ........
Userlevel 7
Could you tell us the switch model.
"configure snmp sysname sysName" is correct for XOS but for i.e. a D2 it would be
"set system name " and to set the command prompt "set prompt "
Userlevel 6

configure snmp sysname sysName