Command Line Reference Guide

SNMP and Syslog | 1287
snmp ifmib ifalias long
c e s
Display the entire description string through the Interface MIB, which would be truncated otherwise to
63 characters.
Syntax
snmp ifmib ifalias long
Defaults
Interface description truncated beyond 63 characters
Command Modes
CONFIGURATION
Command
History
Example !------command run on host connected to switch: --------------!
> snmpwalk -c public 10.10.10.130 .1.3.6.1.2.1.31 | grep -i alias | more
IF-MIB::ifAlias.134530304 = STRING: This is a port connected to Router2. This
is a port connected to
IF-MIB::ifAlias.134792448 = STRING:
!------command run on Force10 switch: --------------!
FTOS(conf)#snmp ifmib ifalias long
!------command run on server connected to switch: --------------!
> snmpwalk -c public 10.10.10.130 .1.3.6.1.2.1.31 | grep -i alias | more
IF-MIB::ifAlias.134530304 = STRING: This is a port connected to Router2. This
is a port connected to Router2. This is a port connected to Router2. This is
a port connected to Router2. This is a port connected to Router2.
IF-MIB::ifAlias.134792448 = STRING:
snmp mib community-map context
e
Map an SNMP community name with the SNMP context.
Syntax
snmp mib community-map community-name context context-name
Parameters
Defaults
None
Command Modes
CONFIGURATION
Command
History
Version 7.6.1.0 Introduced for S-Series
Version 7.5.1.0 Introduced for C-Series
unknown Introduced for E-Series
community-name
Specify the SNMP community name to be mapped against a context.
Note: There is a 20-character limit for this parameter.
context-name
Specify the SNMP context to be mapped with the community.
Note: There is a 32-character limit for this parameter.
Version 8.4.1.5 Introduced on the ExaScale series.