Command:

show interface

Mode:

Switch> (enable)


Syntax:

show interface

show interface trap


Syntax Description:

trap

Keyword that displays the trap interface


Command Description:

Use the show interface command to display information about network interfaces and standard SNMP link trap operation.


Example:

This example shows how to display information on all network interfaces:

Console> show interface

sl0: flags=50<DOWN,POINTOPOINT,RUNNING>

        slip 0.0.0.0 dest 0.0.0.0

sc0: flags=63<UP,BROADCAST,RUNNING>

        vlan 100 inet 172.20.52.37 netmask 255.255.255.248 broadcast 172.20.52.39

me1: flags=62<DOWN,BROADCAST,RUNNING>

        inet 172.20.52.37 netmask 255.255.255.224 broadcast 172.20.52.63

Console>

 

This example shows how to display whether the trap interface is enabled or
disabled:

Console> (enable) show interface trap

Interface  Trap
--------  ----
sc0       enabled
me1       disabled
sl0       disabled
Console> (enable)
 

The table below describes the fields in the show interface command output:

Table: show interface Command Output Fields

Field Description

me1

Information on the me1 interface

flags

Flags indicating the interface state (decoded in the subsequent field).

<UP,BROADCAST, RUNNING>

Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING)

inet

IP address of the interface

netmask

Network mask for the interface

broadcast

Broadcast address for the interface

sl0

Information on the SLIP interface

<UP,POINTOPOINT, RUNNING>

Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING)

slip

IP address of the SLIP interface

dest

IP address of the host to which the console port will be connected

sc0

Information on the in-band interface

vlan

Number of the VLAN to which the sc0 interface has been assigned (known as the management VLAN)

Interface

Type of interface

Trap

Status of whether the trap is enabled or disabled

 


Misconceptions:
None

Related commands:
set interface

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)