2-530
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set snmp chassis-alias
set snmp chassis-alias
To set the chassis alias and save it in NVRAM and in the configuration file, use the set snmp
chassis-alias command.
set snmp chassis-alias [chassisAlias]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The chassisAlias value must be from 0 to 32 characters.
To clear the chassisAlias value, enter the set snmp chassis-alias command without entering a
chassisAlias value.
Examples This example shows how to set the chassis alias:
Console> (enable) set snmp chassis-alias my chassis
SNMP chassis entPhysicalAlias set to 'my chassis'.
Console> (enable)
This example shows how to clear the chassis alias:
Console> (enable) set snmp chassis-alias
SNMP chassis entPhysicalAlias cleared.
Console> (enable)
This example shows the message that appears when you attempt to set a chassis alias that exceeds 32
characters:
Console> (enable) set snmp chassis-alias 123456789123456789123456789123456789
Chassis entPhysicalAlias must be less than 33 characters.
Console> (enable)
Related Commands show snmp
chassisAlias (Optional) Chassis entPhysicalAlias. See the “Usage Guidelines” section
for more information about setting the chassis alias.