2-537
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp ifalias
set snmp ifaliasTo set the SNMP interface alias, use the set snmp ifalias command.
set snmp ifalias {ifIndex} [ifAlias]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The ifAlias string can contain 0 to 64 characters.
Examples This example shows how to set the SNMP interface alias:
Console> (enable) set snmp ifalias 1 Inband port
ifIndex 1 alias set
Console> (enable)
Related Commands clear snmp ifalias
show snmp ifalias
ifIndex Interface index number.
ifAlias (Optional) Name of the interface alias. See the “Usage Guidelines” section
for more information.