Display Commands and Basic Troubleshooting
Key Takeaways
- display commands are the primary VRP visibility tools; most can run from user-view and are non-disruptive.
- Core HCIA displays include display ip interface brief, display ip routing-table, display arp, display vlan, display version, and display device.
- ping and tracert validate end-to-end reachability and path; use them after confirming local interface and routing state.
- A structured fault process—symptom → layer check → display evidence → minimal change → verify → save—beats random reconfiguration.
- Exam traps include diagnosing from the wrong view, trusting memory without display proof, and confusing display output with configuration commands.
Visibility Before Change
On Huawei gear, skilled operators look before they type. display commands reveal interface health, IP addressing, MAC/ARP bindings, VLAN membership, routes, software version, and hardware presence. H12-811 items often paste shortened outputs and ask what is wrong or which command produced the view.
Most display commands work in user-view and also from system-view. Prefer verifying from user-view during exams and labs so you do not accidentally enter configuration mode under stress.
Core display Commands for HCIA
| Command | What you learn |
|---|---|
display version | VRP software version, uptime, basic platform identity |
display device | Hardware slots/modules present and status (model-dependent detail) |
display ip interface brief | Interface IP, physical/protocol status snapshot |
display interface GigabitEthernet0/0/1 | Deep counters, errors, duplex/speed, last flapping hints |
display vlan | VLAN list and port membership overview |
display mac-address | MAC address table (switching path) |
display arp | IP-to-MAC ARP entries |
display ip routing-table | Active routes in the routing table |
display current-configuration | Running config evidence |
display saved-configuration | Startup config evidence |
display users | Who is logged in (management awareness) |
Memorize the six-pack that appears constantly in associate materials:
display ip interface briefdisplay ip routing-tabledisplay arpdisplay vlandisplay versiondisplay device
Interpreting display ip interface brief
This is often the first command after login. Mentally scan:
| Field focus | Healthy sign | Problem sign |
|---|---|---|
| Interface list | Expected ports present | Missing VLANIF or wrong name |
| IP address | Correct address/mask | Unnumbered when you expected an IP; wrong subnet |
| Physical status | up | down (cable, shutdown, hardware) |
| Protocol status | up | down (Layer 3/line protocol issues) |
If physical is down, fix Layer 1/admin state before blaming OSPF. If physical is up but protocol is down, think about Layer 2/3 dependencies (for example PPP, or address conflicts depending on context).
Admin-down interfaces often result from shutdown. Bring them up with undo shutdown in interface-view—linking back to CLI view skills.
Routing Table Quick Read
display ip routing-table shows how the device will forward. For HCIA static and OSPF chapters you will refine this skill, but the management chapter already needs:
- Is there a route to the destination network?
- Is there a default route?
- Does the next hop look sane?
- Did your new static route appear after configuration (and after
saveif rebooting later)?
No route → packet will not leave correctly even if the local interface IP is perfect.
ARP and VLAN Displays
display arp answers: “Does this device know the MAC for a given next hop or host IP?” Incomplete ARP can mean:
- Host is off or firewalled
- Wrong VLAN / gateway
- Layer 2 path broken
- Addressing mismatch
display vlan answers: “Is the port in the VLAN I think it is?” Combined with access/trunk knowledge from later chapters, it is the switching counterpart to the routing table.
When inter-VLAN routing fails, a productive trio is:
display vlandisplay ip interface brief(VLANIF up/up with correct IP)display arp/ping
Version and Device Hardware
display version confirms you are on the expected VRP release before following version-specific lab notes. Uptime can hint at unexpected reloads.
display device (and related hardware displays) confirm cards/modules are registered—useful on chassis or modular platforms and for “is the interface hardware even present?” questions.
ping and tracert on VRP
Connectivity tools run from user-view:
<Huawei> ping 192.0.2.1
<Huawei> tracert 192.0.2.1
| Tool | Primary question answered |
|---|---|
| ping | Is the target reachable (ICMP echo) with the current routing/policy? |
| tracert | Which hops appear along the path, and where does it stop? |
Notes for exam and lab:
- Ping success proves reachability under current ICMP rules, not that every application port works.
- Ping failure is a symptom, not a root cause—follow with interface, ARP, VLAN, and routing displays.
- Extended ping options exist on many platforms (source IP, count, size); HCIA mainly expects standard usage and interpretation of success vs failure.
tracert(Huawei spelling) is the counterpart to traceroute; recognize the keyword form used on VRP.
Source-interface awareness matters when multiple interfaces exist: pinging from the “wrong” source can fail ACL or reverse-path expectations in advanced designs. At HCIA, start with simple pings between directly connected subnets, then across a gateway.
A Simple Troubleshooting Flow
Use the same storyline for almost every ticket:
- Clarify symptom — “PC cannot reach gateway” vs “OSPF down” vs “cannot SSH.”
- Local device health —
display version/display deviceif hardware or reload is suspected. - Interface layer —
display ip interface brief, then detaileddisplay interfaceif errors matter. - Switching context —
display vlan, MAC table as needed. - L3 adjacency context —
display arp,display ip routing-table. - Path test —
ping, thentracertif multi-hop. - Config evidence —
display current-configurationfor the feature under suspicion. - Change minimally — fix the proven fault only.
- Re-verify with the same displays and ping.
saveif the fix must survive reboot.
This flow prevents the classic mistake of redistributing OSPF because a port was administratively down.
Mapping Symptoms to First Commands
| Symptom | First displays / tests |
|---|---|
| No remote SSH | display ip interface brief, ping management IP, user/AAA config |
| Host cannot ping gateway | VLAN membership, VLANIF IP, ARP, access port state |
| New static route “not working” | display ip routing-table, next-hop ARP, outbound interface status |
| Intermittent performance | Interface error counters, duplex mismatches (detailed interface display) |
| “Config disappeared” | Compare current vs saved; ask whether reboot occurred without save |
| Wrong software behavior after change window | display version, confirm image and last reload time |
Display vs Configuration Mental Model
| Intent | Family |
|---|---|
| Observe | display ..., ping, tracert |
| Change | system-view feature commands |
| Persist | save |
| Reverse change | undo ... |
| Wipe startup | reset saved-configuration |
Exam distractors mix these families. “Which command shows the routing table?” → display ip routing-table, not ip route-static.
Worked Mini-Scenario
Problem: From Switch A you cannot ping 10.1.1.2 on Switch B.
- On A:
display ip interface brief— confirm source interface IP and up/up. - On A:
display vlan— confirm the connecting port is in the expected VLAN if Layer 2 switched. - On A:
ping 10.1.1.2— document failure. - On A:
display arp— is there an incomplete entry for 10.1.1.2? - On A:
display ip routing-table— is 10.1.1.0/24 connected or routed? - On B: repeat interface and VLAN checks.
- Only after evidence, fix the actual fault (for example
undo shutdown, correct access VLAN, or correct IP/mask). - Ping again;
save.
Exam Traps
- Choosing a configuration command when the question asks for verification.
- Ignoring protocol down while celebrating a configured IP address in the text of the question.
- Using Cisco
show ip routewording instead of Huaweidisplay ip routing-table. - Assuming ping success means the running config is saved.
- Troubleshooting routing before confirming the interface is not shut down.
- Forgetting Huawei
tracertspelling in multiple-choice stems.
Practice Goals
After this section you should, without notes, list the six-pack of display commands and state what failure each best exposes. You should also narrate a five-step troubleshoot for “cannot ping across VLANs” using only VRP keywords. Those habits transfer directly into VLAN, STP, OSPF, ACL, and NAT chapters where deeper feature displays are added on top of this foundation.
Device management on HCIA is not a soft introductory topic—it is the language the rest of the exam speaks. Views, save discipline, secure access, and display-driven troubleshooting are how Huawei expects an associate engineer to work every day.
Which command provides a concise snapshot of interface IP addresses and up/down status on Huawei VRP?
An engineer needs to inspect the active IP routing table on a Huawei router. Which command should be used?
What is the primary purpose of the tracert command on VRP?
A port has an IP configured in the running configuration, but display ip interface brief shows the interface as administratively down. What is the best next configuration action?