What is the show interface status command?

(M320, M120, MX Series, and T Series routers only) Display status information about the specified 10-Gigabit Ethernet interface.

Display the IPv6 interface traffic statistics about the specified Gigabit Ethernet interface for MX series routers. The input and output bytes (bps) and packets (pps) rates are not displayed for IFD and local traffic.

Display status information and statistics about interfaces on SRX Series, vSRX, and vSRX 3.0 platforms running Junos OS.

SRX4600 supports 40-Gigabit Ethernet breakouts only in PIC mode. Use the

user@host>  show interfaces terse et-0/1/2  
Interface        Admin Link Proto      Local Remote
       et-0/1/2:0             up                 down
       et-0/1/2:1             up                 down
       et-0/1/2:2             up                 down
       et-0/1/2:3             up                 down
2 command to view the speed configured for the interface on SRX4600. Reboot the device for the changed configuration to take effect.

On SRX Series appliances, on configuring identical IPs on a single interface, you will not see a warning message; instead, you will see a syslog message.

Starting in Junos OS Release 19.3R1, class of service (CoS) features can be configured on the physical interface with speed rates of 1-Gbps, 10-Gbps, 40-Gbps, and 100-Gbps to provide better bandwidth for processing traffic during congestion using variant speeds.

This command displays the status and configuration information for the ports within the switch.

SUNSP-UN0064 ONET# show interfaces
 
Ex0/1 up, line protocol is down (not connect)
Bridge Port Type: Customer Bridge Port
 
Hardware Address is 00:14:4f:6c:63:4f
MTU  9216 bytes, Full duplex, 10 Gbps,  No-Negotiation
HOL Block Prevention enabled.
Input flow-control is off,output flow-control is off
 
Link Up/Down Trap is enabled
 
Reception Counters
   Octets                    : 0
   Unicast Packets           : 0
   Discarded Packets         : 0
   Error Packets             : 0
   Unknown Protocol          : 0
 
Transmission Counters
   Octets                    : 0
   Unicast Packets           : 0
   Discarded Packets         : 0
   Error Packets             : 0
 
Ex0/2 up, line protocol is down (not connect)
Bridge Port Type: Customer Bridge Port
 
Hardware Address is 00:14:4f:6c:63:50
MTU  9216 bytes, Full duplex, 10 Gbps,  No-Negotiation
HOL Block Prevention enabled.
Input flow-control is off,output flow-control is off
 
Link Up/Down Trap is enabled
 
Reception Counters
   Octets                    : 0
   Unicast Packets           : 0
   Discarded Packets         : 0
   Error Packets             : 0
   Unknown Protocol          : 0
 
Transmission Counters
   Octets                    : 0
   Unicast Packets           : 0
   Discarded Packets         : 0
   Error Packets             : 0
?.....
Ex0/24 up, line protocol is down (not connect)
Bridge Port Type: Customer Bridge Port
 
Hardware Address is 00:14:4f:6c:63:66
MTU  9216 bytes, Full duplex, 10 Gbps,  No-Negotiation
HOL Block Prevention enabled.
Input flow-control is off,output flow-control is off
 
Link Up/Down Trap is enabled
 
Reception Counters
   Octets                    : 0
   Unicast Packets           : 0
   Discarded Packets         : 0
   Error Packets             : 0
   Unknown Protocol          : 0
 
Transmission Counters
   Octets                    : 0
   Unicast Packets           : 0
   Discarded Packets         : 0
   Error Packets             : 0
 
vlan1 up, line protocol is down (not connect)
 
SUNSP-UN0064 ONET# show interfaces description
 
Interface    Status   Protocol  Description
---------    ------   --------  -----------
Ex0/1        up       down
Ex0/2        up       down
Ex0/3        up       down
Ex0/4        up       down
Ex0/5        up       down
Ex0/6        up       down
Ex0/7        up       down
Ex0/8        up       down
Ex0/9        up       down
Ex0/10       up       down
Ex0/11       down     down
Ex0/12       down     down
Ex0/13       down     down
Ex0/14       down     down
Ex0/15       down     down
Ex0/16       down     down
Ex0/17       down     down
Ex0/18       down     down
Ex0/19       down     down
Ex0/20       down     down
Ex0/21       down     down
Ex0/22       down     down
Ex0/23       down     down
Ex0/24       down     down
vlan1        down     down

This activereach Technical Tutorial Video guides you through the various parts of the Cisco command “show interfaces” in detail.

The show interfaces command might be used to check the status of your connection, or to see how much traffic is passing through your Cisco device.

Becoming proficient with the Cisco IOS means learning some essential commands. This quick reference describes 10 commands you'll need to rely on when handling various configuration and troubleshooting tasks.

We may be compensated by vendors who appear on this page through methods such as affiliate links or sponsored partnerships. This may influence how and where their products appear on our site, but vendors cannot pay to influence the content of our reviews. For more info, visit our Terms of Use page.

Becoming proficient with the Cisco IOS means learning some essential commands. This quick reference describes 10 commands you’ll need to rely on when handling various configuration and troubleshooting tasks.

#1: The “?”

It may seem entirely too obvious that you should know how to type ? to ask for help when using the Cisco IOS. However, the Cisco IOS is completely different from other operating systems when it comes to using the question mark (help key). As the IOS is a command-line operating system with thousands of possible commands and parameters, using the ? can save your day.

You can use the command in many ways. First, use it when you don’t know what command to type. For example, type ? at the command line for a list of all possible commands. You can also use ? when you don’t know what a command’s next parameter should be. For example, you might type show ip ? If the router requires no other parameters for the command, the router will offer as the only option.

Finally, use ? to see all commands that start with a particular letter. For example, show c? will return a list of commands that start with the letter “c”.

#2: show running-configuration

The show running-config command shows the router, switch, or firewall’s current configuration. The running-configuration is the config that is in the router’s memory. You change this config when you make changes to the router. Keep in mind that config is not saved until you do a copy running-configuration startup-configuration. This command can be abbreviated sh run.

SEE: Server deployment/migration checklist (Tech Pro Research)

#3: copy running-configuration startup-configuration

This command will save the configuration that is currently being modified (in RAM), also known as the running-configuration, to the nonvolatile RAM (NVRAM). If the power is lost, the NVRAM will preserve this configuration. In other words, if you edit the router’s configuration, don’t use this command and reboot the router–those changes will be lost. This command can be abbreviated copy run start. The copy command can also be used to copy the running or startup configuration from the router to a TFTP server in case something happens to the router.

Learn more about Cisco at the TechRepublic Academy!

#4: show interface

The show interface command displays the status of the router’s interfaces. Among other things, this output provides the following:

  • Interface status (up/down)
  • Protocol status on the interface
  • Utilization
  • Errors
  • MTU

This command is essential for troubleshooting a router or switch. It can also be used by specifying a certain interface, like sh int g0/0.

#5: show ip interface

Networking: Must-read coverage

  • NVIDIA unveils supercomputing and edge products at SC22
  • Get instant malware filtering with Gryphon Guardian
  • How industrial IoT is forcing IT to rethink networks
  • How to configure networking on a Linux server (TechRepublic Premium)

Even more popular than show interface are show ip interface and show ip interface brief. The show ip interface command provides tons of useful information about the configuration and status of the IP protocol and its services, on all interfaces. The show ip interface brief command provides a quick status of the interfaces on the router, including their IP address, Layer 2 status, and Layer 3 status.

#6: config terminal, enable, interface, and router

Cisco routers have different modes where only certain things can be shown or certain things can be changed. Being able to move between these modes is critical to successfully configuring the router.

For example, when logging in, you start off at the user mode (where the prompt looks like >). From there, you type enable to move to privileged mode (where the prompt looks like #). In privileged mode, you can show anything but not make changes. Next, type config terminal (or config t) to go to global configuration mode (where the prompt looks like router(config)# ). From here, you can change global parameters. To change a parameter on an interface (like the IP address), go to interface configuration mode with the interface command (where the prompt looks like router(config-if)#). Also from the global configuration mode, you can go into router configuration using the router {protocol} command. To exit from a mode, type exit.

#7: no shutdown

The no shutdown command enables an interface (brings it up). This command must be used in interface configuration mode. It is useful for new interfaces and for troubleshooting. When you’re having trouble with an interface, you may want to try a shut and no shut. Of course, to bring the interface down, reverse the command and just say shutdown. This command can be abbreviated no shut.

SEE: Systems downtime expense calculator (Tech Pro Research)

#8: show ip route

The show ip route command is used to show the router’s routing table. This is the list of all networks that the router can reach, their metric (the router’s preference for them), and how to get there. This command can be abbreviated sh ip ro and can have parameters after it, like sh ip ro ospf for all OSPF routes. To clear the routing table of all routes, you do clear ip route. To clear it of just one routes, issue the command clear ip route x.x.x.x (where x.x.x.x is the network you want to clear).

#9: show version

The show version command gives you the router’s configuration register (essentially, the router’s firmware settings for booting up), the last time the router was booted, the version of the IOS, the name of the IOS file, the model of the router, and the router’s amount of RAM and Flash. This command can be abbreviated sh ver.

#10: debug

The debug command has many options and does not work by itself. It provides detailed debugging output on a certain application, protocol, or service. For example, debug ip routing will tell you every time a route is added to or removed from the router. Debugging can be dangerous as its process takes priority over all others. Be prepared to disable the feature using the no debug command or undebug all command.

Editors note: This article was originally published on TechRepublic July 25, 2006. It was updated on November 30, 2017. The original version is also available as a PDF download.

How to check the interface status in Cisco?

To display summary details of the system interfaces, use the show interface summary command. This command has no arguments or keywords. To display details of the system interfaces, use the show interface command. Displays detailed redundancy management interface information.

What command will display the interface status?

The show interface command displays the status of the router's interfaces. Among other things, this output provides the following: Interface status (up/down) Protocol status on the interface.

What is show ip interface command?

To get a detailed listing of all the IP-related characteristics of an interface, use the show ip interface command. A common use for this command is to view any secondary addresses that have been assigned to an interface (they do not show up in the standard show interface output).

What is interface status?

The Interface Status screen allows you to manage OPERA IFC8 by monitoring a variety of interfaces and configuring how these interfaces interact with OPERA. From this screen, you can easily start or stop any interface service. You can also create new, edit existing, or delete existing configurations.