Interface Status Codes

Interface Status Codes

To display all interface statistics (status) configured on the access server or the router use the show interface EXEC command. You can check whether an interface on a switch or a Cisco router is working using the interface status codes. Type the command show interface (FastEthernet) to display interface status codes.

Interface Status Codes
Interface Status Codes


In the above image, the output of the first line indicates the interface in working state. The line status (known as the first status code) indicates that Layer 1 is working (FastEthernet0/22 is up). The protocol status (known as the second status code) indicates that Layer 2 is the line protocol is up (working state) and if the line status is down it is always down. Finally, the end of the line word indicates the working state of the interface (connected in this case).

For the interface status codes, there are four combinations of settings that exist when troubleshooting a network. Remember, if the line status is not “up,” the second will always be “down,” because the data-link layer functions cannot work properly if the Layer 1(Physical layer) has a problem.

Line Status vs Protocol Status
Line Status vs Protocol Status Description

Line Status vs Protocol Status
Line Status vs Protocol Status Description

How to Configure Interface Status Codes
Interface Status Codes
How to Configure Interface Status Codes

Note: Router R1 and Router R2 are connected back to back using the serial cable. DCE cable is connected to router R1 and the DTE cable is connected to router R2.

Configuring the Router R1 Serial Interface

Router> enable

Router# configure terminal

Enter configuration commands, one per line. End with CNTL / Z.

Router (config) # hostname R1

R1 (config) # interface serial 0/1/0

OR

R1 (config) # int s 0/1/0

R1 (config-if) # ip address 192.168.1.1 255.255.255.0

R1 (config-if) #encapsulation ppp

R1 (config-if) #clock rate 64000

R1 (config-if) #no shutdown

R1 (config-if) #

OR

R1 (config-if) #no shut

Note: You can use some Global Configuration Mode commands into Privileged Mode using the command do before the actual command. For example, the below command is entered into Privileged Mode using the command do.

R1#do no shutdown

OR

R1#do no shut

Interface Status
Interface Status up

R1 (config-if) #end

R1#

Configuring the Router R1 FastEthernet Interface

R1#configure terminal

R1 (config) # interface fastethernet0/0

R1 (config-if) # ip address 192.168.3.100 255.255.255.0

R1 (config-if) #no shutdown

Interface Status
Interface Status up

R1 (config-if) #end

R1#

Configuring the Router R2 Serial Interface

Router> enable

Router# configure terminal

Enter configuration commands, one per line. End with CNTL / Z.

Router (config) # hostname R2

R2 (config) # interface serial 0/1/0

OR

R2 (config) # int s 0/1/0

R2 (config-if) # ip address 192.168.2.1   255.255.255.0

R2 (config-if) #encapsulation ppp

R2 (config-if) #no shutdown

R2 (config-if) #

OR

R2 (config-if) #no shut

Note: You can use some Global Configuration Mode commands into Privileged Mode using the command do before the actual command. For example, the below command is entered into Privileged Mode using the command do.

R2#do no shutdown

OR

R2#do no shut

Interface Status
Interface Status up

R2 (config-if) #end

R2#


Configuring the Router2 FastEthernet Interface

R2#configure terminal

R2 (config) # interface fastethernet0/0

R2 (config-if) # ip address 192.168.4.100 255.255.255.0

R2 (config-if) #no shutdown

Interface Status
Interface Status up

R2 (config-if) #end

R2#

Verification on Router R1

R1# show ip interface brief

IP Interface
IP Interface Status

R1#show interface serial 0/1/0

OR

R1#sh interface s 0/1/0

Interface Status
Interface Status up

R1#show interface FastEthernet 0/0

OR

R1#sh interface fa0/0

Interface Status
Interface Status up

Verification on Router R2

R2# show ip interface brief

IP Interface
IP Interface Status

R2#show interface serial 0/1/0

OR

R2#sh interface s 0/1/0

Interface Status
Interface Status up

R2#show interface FastEthernet 0/0

OR

R2#sh interface fa 0/0

Interface Status
Interface Status up


Ping Router R1 to R2

Router R1

R1#ping 192.168.2.1

Ping Verification
Successful Ping Verification

R1#

Router R2

R2#ping 192.168.1.1

Ping Verification
Successful Ping Verification

R2#

Search Tags

  1. Cisco Switches Interface Status Codes
  2. What is interface status code
  3. What does it mean when an interface is administratively down
  4. What is the default status of each interface on router


Get Packet Tracer Lab 


If you want to configure and Practical Lab of Static and Dynamic Routing then visit below link: ðŸ‘‡

How to Configure Static Routing

Dynamic Routing

Redistribution of Routes in Dynamic Routing

How to Configure OSPF Multi-area

How to Configure OSPF Single-area

How to Configure EIGRP

How to Configure IGRP

How to Configure RIPv2

How to Configure RIPv1

Post a Comment

0 Comments