Interface Shows Up/Down — Layer 2 Issue or No Carrier
Presenting Symptom
The interface shows up/down status, indicating Layer 1 is operational but Layer 2 is not, or there is no carrier signal.
Network Context
A small branch office network with a Cisco 2960 switch connecting to an ISP router via a FastEthernet link. The switch runs IOS 15.0. The interface in question is FastEthernet0/1, which is configured as an access port in VLAN 10. The problem occurs after a recent configuration change on the switch.
Diagnostic Steps
Check interface status and counters
show interfaces FastEthernet0/1FastEthernet0/1 is up, line protocol is down (notconnect)
The 'up/down' status indicates Layer 1 is good (carrier present) but Layer 2 is not functioning. The '(notconnect)' suggests no device is connected or the connected device is not sending keepalives.
Verify cable and connected device
show interfaces FastEthernet0/1 | include media type|duplex|speedMedia type: 10/100BaseTX Duplex: full, Speed: 100 Mbps
Check if the media type matches the cable (e.g., copper). Also check duplex/speed settings; mismatches can cause line protocol down. If the output shows 'auto' but the device is fixed, there may be a mismatch.
Check interface configuration for shutdown or VLAN issues
show running-config interface FastEthernet0/1interface FastEthernet0/1 switchport access vlan 10 switchport mode access no shutdown
Ensure the interface is not administratively down (shutdown). Verify VLAN 10 exists and is active. If the VLAN is missing or shutdown, the line protocol will be down.
Verify VLAN existence and status
show vlan id 10VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 10 VLAN0010 active Fa0/1
If VLAN 10 does not appear or is 'inactive', the interface will remain down. Ensure the VLAN is created and active.
Check for spanning-tree blocking
show spanning-tree interface FastEthernet0/1VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 32778
Address 0011.2233.4455
This bridge is the root
Bridge ID Priority 32778 (priority 32768 sys-id-ext 10)
Address 0011.2233.4455
Interface Fa0/1 (port 1) in Spanning Tree ForwardingIf the interface is in blocking or listening state, it will show 'down' for line protocol. Look for 'Forwarding' state; if not, STP is blocking the port.
Root Cause
The interface FastEthernet0/1 is configured as an access port in VLAN 10, but VLAN 10 does not exist in the VLAN database (or was deleted). The switch cannot bring up the line protocol because the VLAN is missing.
Resolution
Verification
Run 'show interfaces FastEthernet0/1'. Expected output: 'FastEthernet0/1 is up, line protocol is up (connected)'. Also run 'show vlan id 10' to confirm VLAN 10 is active.
Prevention
1. Always create VLANs before assigning them to access ports. 2. Use VLAN Trunking Protocol (VTP) or manual consistency checks to ensure VLANs are synchronized across switches. 3. Implement configuration management and change control to avoid accidental deletion of VLANs.
CCNA Exam Relevance
On the CCNA 200-301 exam, this scenario appears in troubleshooting questions where an interface shows up/down. The exam tests the ability to identify missing VLANs as a cause. Candidates must know that 'show interfaces' status and 'show vlan' are key commands. The exam may present a drag-and-drop of troubleshooting steps or a multiple-choice question asking for the root cause.
Exam Tips
Memorize the meaning of interface status codes: 'up/up' is good, 'up/down' is Layer 2 issue (e.g., VLAN missing, STP blocking), 'down/down' is Layer 1 issue (cable, shutdown).
When troubleshooting up/down, always check VLAN existence first with 'show vlan'.
Remember that 'show interfaces' output includes '(notconnect)' when no device is detected, which can also cause up/down.
Commands Used in This Scenario
show interfaces
Displays detailed status and statistics for all interfaces or a specific interface, used to verify interface operational state, errors, and performance.
show spanning-tree
Displays the Spanning Tree Protocol (STP) state and configuration for all VLANs or a specific VLAN, used to verify root bridge, port roles, and STP topology.
show vlan
Displays the current VLAN configuration on the switch, including VLAN IDs, names, status, and ports assigned to each VLAN, used to verify VLAN creation and port assignments.
Test Your CCNA Knowledge
Practice with scenario-based questions to prepare for the CCNA 200-301 exam.
Practice CCNA Questions