C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
SNMP Server Commands on Cisco IOS XR Software
show snmp interface
SMR-589
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
show snmp interface
To display the interface index identification numbers (ifIndex values) for all the interfaces or a specified
interface, use the
show snmp interface
command in EXEC mode.
show snmp interface
[
type
interface-id
ifindex
]
Syntax Description
Defaults
Enter the
show snmp interface
command without keywords or arguments to display the ifIndex value
for all interfaces.
Command Modes
EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Task ID
Examples
The following example displays the ifIndex value for a specific interface:
RP/0/RP0/CPU0:Router#
show snmp interface pos 0/1/0/1 ifindex
ifName : POS0/1/0/1 ifIndex : 12
The following example displays the ifIndex value for all interfaces:
RP/0/RP0/CPU0:Router#
show snmp interface
ifName : Loopback0 ifIndex : 1
ifName : POS0/1/0/1 ifIndex : 12
type
(Optional) Interface type. For more information, use the question mark (?)
online help function.
interface-id
(Optional) Identifies a physical interface or a virtual interface.
Note
Use the
show interfaces
command to see a list of all possible interfaces
currently configured on the router.
For more information about the syntax for the router, use the question mark (
?
)
online help function.
ifindex
(Optional) Displays the ifIndex value for the specifies interface.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
snmp
read