Quiz Entry - updated: 2026.07.14
What show commands verify router-on-a-stick inter-VLAN routing?
Use show ip route, show ip interface brief, show interfaces, and show interfaces trunk to verify the configuration.
| Command | What It Shows |
|---|---|
show ip route |
Routing table — confirms connected routes for each VLAN (Virtual Local Area Network) subnet |
show ip interface brief |
Quick overview of all interfaces/subinterfaces with IP (Internet Protocol) and status |
show interfaces |
Detailed per-interface stats (encapsulation type, VLAN ID, errors) |
show interfaces trunk |
Trunk status on the switch side (allowed VLANs, native VLAN) |
Verification workflow:
- On the router:
show ip interface brief— all subinterfaces should showup/upwith correct IPs - On the switch:
show interfaces trunk— trunk port should show all expected VLANs - From hosts:
pingthe default gateway, thenpinga host in another VLAN - If pings to the gateway work but inter-VLAN pings fail, check routing on the router
Tip: Use show interfaces <interface> | include Gig|802.1Q on the router to quickly filter subinterface VLAN assignments without wading through pages of output.
Go deeper:
Router-on-a-Stick Inter-VLAN Routing (Cisco Press) — demonstrates
show ip route,show ip interface brief,show interfaces trunk.