snmp-server legacy

Configures legacy values for SNMP MIBs.
Syntax
snmp-server legacy { iftype | module-type }
no snmp-server legacy { iftype | module-type }
Command Default

SNMP MIBs have the user-configured values.

Parameters
iftype
Configures to the use of legacy Ethernet interface names for ifType.
module-type
Configures to the use of legacy enum values for snAgentConfigModuleType.
Modes

Global configuration mode

Usage Guidelines

The no form of the command changes the settings back to the non-legacy values.

Examples

The following example configures to the use of legacy Ethernet interface names for ifType.

device# configure terminal
device(config)# snmp-server legacy iftype