47-16
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 47 Configuring SNMP
Configuring SNMPv3 on the Switch
Specifying, Displaying, and Clearing an Interface Alias
You can specify, display, and clear an interface alias. The length of the alias can be up to 64 characters.
Note
The
set snmp ifalias
command cannot be used in binary configuration mode. You must use the text file
configuration mode when entering this command or the interface alias is not saved in NVRAM.
To specify, display, and clear an interface alias, perform this task in privileged mode:
These examples show how to specify, display, and clear an interface alias:
Console> (enable)
set snmp ifalias 1 Inband port
ifIndex 1 alias set
Console> (enable)
Console> (enable)
show snmp ifalias 1
ifIndex ifName ifAlias
---------- -------------------- ---------------------------------
1 sc0 Inband port
Console> (enable)
Console> (enable)
clear snmp ifalias all
Console> (enable)
Configuring SNMPv3 on the Switch
This section provides the basic SNMPv3 configuration information. For detailed information on the
SNMP commands that are supported by the Catalyst 6500 series switches, refer to the
Catalyst 6500
Series Switch Command Reference
publication.
SNMPv3 Default Configuration
Refer to the
Catalyst 6500 Series Switch Command Reference
publication for the SNMP default
configuration settings for each command that is listed in the configuration section.
Configuring SNMPv3 from an NMS
To configure SNMP from an NMS, refer to the NMS documentation (see the
“Using CiscoWorks2000”
section on page 47-6
).
The switch supports up to 20 trap receivers through the RMON2 trap destination table. You configure
the RMON2 trap destination table from the NMS.
Task
Command
Step 1
Specify an interface alias.
set snmp ifalias
{
ifIndex
} [
ifAlias
]
Step 2
Display the interface alias.
show snmp ifalias
[
ifIndex
]
Step 3
Clear the interface alias.
clear snmp ifalias
{
ifIndex
}
all