CLI as Evidence
Cisco IOS commands were used as investigative and verification tools throughout the Network Incident Response Lab.
Each command below is connected to an incident where it was used to answer a specific troubleshooting question, rather than being presented as a memorized command list.
Routing
show ip ospf neighbor
show ip ospf neighbor
Used to determine whether an OSPF neighbor relationship was established and what state the adjacency had reached.
View OSPF Evidence →show ip route
show ip route
Used to verify whether expected routes were present in the routing table after troubleshooting.
View Project →show ip bgp summary
show ip bgp summary
Used to verify BGP peer state and confirm whether the BGP session was established.
View Incident →show ip bgp
show ip bgp
Used to inspect BGP-learned prefixes and determine whether the expected network was present.
View Incident →INC-009 - HSRP CLI Evidence
Cisco IOS HSRP commands were used to verify the Active and Standby gateway roles, compare the HSRP virtual IP configuration between R1 and R2, investigate the failover condition, and verify the corrected virtual gateway after remediation.
R1 - show running-config interface
show running-config interface GigabitEthernet0/0
Used to inspect R1's LAN interface and verify the configured HSRP virtual IP, priority, and preemption.
R1 - show standby brief
show standby brief
Used to verify R1's HSRP group, priority, Active state, and virtual IP.
R1 - show standby
show standby
Used to inspect detailed HSRP state, virtual IP, Active router, priority, and HSRPv2 operation.
R2 - show running-config interface
show running-config interface GigabitEthernet0/0
Used to compare R2's HSRP configuration with R1 and identify the mismatched virtual IP.
R2 was configured with 10.10.10.11 instead of the expected HSRP virtual IP 10.10.10.1.
R2 - show standby brief
show standby brief
Used to verify R2's HSRP role and compare its virtual IP with the client-facing gateway.
R2 - show standby
show standby
Used to inspect the detailed HSRP state and confirm the incorrect virtual IP before failover testing.
R2 - show standby after R1 failure
show standby
Used after R1 failed to verify whether R2 transitioned to the Active state and whether it was providing the expected virtual gateway.
R2 transitioned to Active, but the virtual IP remained 10.10.10.11. The expected client gateway was 10.10.10.1.
R2 - show standby brief after R1 failure
show standby brief
Used to confirm the Active state after the simulated primary-router failure.
R2 - show standby with corrected VIP
show standby
Used after remediation to verify that R2 was Active with the correct HSRP virtual IP while R1 remained unavailable.
R2 was Active with the corrected virtual IP 10.10.10.1.
R2 - show running-config interface
show running-config interface GigabitEthernet0/0
Used to verify the corrected HSRP configuration after remediation.
HSRP Investigation Result
CLI evidence established that R1 was configured as the intended Active gateway with virtual IP 10.10.10.1, while R2 was initially configured with the incorrect virtual IP 10.10.10.11. After R1 failed, R2 transitioned to Active but could not provide the client's expected gateway. Correcting R2's virtual IP to 10.10.10.1 allowed R2 to provide the expected gateway and restore client connectivity.
View Full HSRP Investigation →Switching
show vlan brief
show vlan brief
Used to verify VLAN existence and switchport membership during Layer 2 troubleshooting.
View Project →show interfaces trunk
show interfaces trunk
Used to verify trunk state and VLANs being carried across trunk links.
View Project →show spanning-tree
show spanning-tree
Used to inspect spanning-tree state and Layer 2 topology behavior.
View Project →show etherchannel summary
show etherchannel summary
Used to verify EtherChannel formation and member interface state.
View Project →INC-001 - DHCP CLI Evidence
Cisco IOS commands used to isolate the DHCP configuration problem and verify the state of the affected device.
show ip dhcp pool
show ip dhcp pool
Used to inspect the DHCP pool configuration and identify the incorrect network information.
View Incident →
show ip interface brief
show ip interface brief
Used to verify interface state and addressing during the DHCP investigation.
View Incident →
show ip dhcp binding
show ip dhcp binding
Used to determine whether the DHCP server had successfully assigned an address to the client.
View Incident →
show running-config
show running-config
Used to inspect the active DHCP configuration and identify the configuration responsible for the failure.
View Incident →
DHCP Lease Verification
show ip dhcp binding
show ip dhcp binding
Re-ran the DHCP binding check after remediation to verify that the client successfully received a DHCP lease.
INC-006 - DHCP Relay CLI Evidence
Cisco IOS CLI was used to isolate a DHCP relay failure by verifying interface state, DHCP helper configuration, routing, DHCP server bindings, and DHCP protocol behavior.
show ip interface
show ip interface
Used to verify the client-facing interface and its operational state during DHCP relay troubleshooting.
show ip helper-address
show ip helper-address
Used to inspect the DHCP relay configuration on the client-facing interface.
show ip route
show ip route
Used to verify that R1 had a route toward the remote DHCP server network.
show ip dhcp pool
show ip dhcp pool
Used to verify the DHCP server pool and confirm that the server was configured to provide addresses.
show ip dhcp binding
show ip dhcp binding
Used to verify whether the DHCP server had created a lease for the affected client.
DHCP Debug
debug ip dhcp server events
Used to observe DHCP server-side processing and correlate the client request with the relay transaction.
The CLI investigation followed a layered troubleshooting process: verify the interface, inspect the relay configuration, verify routing, validate the DHCP server, and correlate protocol-level behavior.
View Full DHCP Relay Investigation →INC-003 - ACL CLI Evidence
Cisco IOS ACL inspection was used to determine which security rules were matching the affected traffic during the ACL troubleshooting incident.
show access-lists
show access-lists
Used to inspect ACL entries and hit counters to determine which security rules were matching the affected traffic.
The ACL hit counters provided CLI evidence that the affected traffic was matching deny entries.
View Full ACL Investigation →INC-007 - NAT / PAT CLI Evidence
Cisco IOS CLI was used to isolate a NAT translation failure by verifying interface roles, routing, NAT configuration, the NAT source ACL, translation state, and post-remediation translation activity.
show ip interface brief
show ip interface brief
Used to verify interface status and addressing before investigating the NAT configuration.
show running-config interface g0/0
show running-config interface GigabitEthernet0/0
Used to verify that the client-facing interface was configured as the NAT inside interface.
show running-config interface g0/2
show running-config interface GigabitEthernet0/2
Used to verify that the ISP-facing interface was configured as the NAT outside interface.
show ip route
show ip route
Used to verify routing information and separate a routing failure from the NAT translation failure.
show running-config | section nat
show running-config | section nat
Used to verify NAT inside/outside roles and the PAT overload statement applied to the ISP-facing interface.
show running-config | section access-list
show running-config | section access-list
Used to inspect the source ACL referenced by the NAT overload configuration.
show access-lists NAT-INSIDE
show access-lists NAT-INSIDE
Used to inspect the NAT source ACL and identify that the configured permit statement referenced the wrong network.
The ACL permitted 10.10.20.0/30 even though the affected client LAN was 10.10.10.0/24.
View Full NAT Investigation →show ip nat translations
show ip nat translations
Used to determine whether the affected client traffic was creating NAT translation entries.
No translation entry was present during the failed connectivity test.
show ip nat statistics
show ip nat statistics
Used to inspect NAT operation and determine whether translations were being created.
debug ip nat
debug ip nat
Used after remediation to observe NAT processing and provide additional evidence that translation was occurring.
show access-lists NAT-INSIDE
show access-lists NAT-INSIDE
Used to verify that the corrected ACL matched the actual client LAN after remediation.
The corrected 10.10.10.0/24 entry recorded three matches, confirming that client traffic was now selecting the NAT policy.
show ip nat translations
show ip nat translations
Used to verify that active NAT translations were created after correcting the source ACL.
show ip nat statistics
show ip nat statistics
Used to confirm NAT translation activity after the configuration correction.
CLI Investigation Summary
The CLI investigation progressed from interface and routing verification into NAT-specific inspection. The NAT overload statement and inside/outside interface roles were confirmed, while the NAT-INSIDE ACL was found permitting the wrong source network. The empty translation table provided additional evidence of the failure.
After correcting the ACL to permit 10.10.10.0/24, the ACL recorded matching traffic and NAT translations populated. NAT statistics and debug output provided additional post-remediation verification.
View Complete Incident Investigation →INC-008 - BGP CLI Evidence
Cisco IOS BGP commands were used to verify the BGP neighbor relationship, inspect the local BGP table, investigate the affected prefix, verify route advertisements, and confirm the corrected BGP configuration after remediation.
show ip bgp summary
show ip bgp summary
Used to verify the BGP neighbor relationship and confirm that the BGP peering session was operational.
This established that the investigation needed to continue beyond basic BGP session establishment and focus on route advertisement.
View BGP Evidence →show ip bgp neighbors
show ip bgp neighbors
Used to inspect detailed BGP neighbor information and verify the configured remote autonomous system.
show ip bgp
show ip bgp
Used to inspect routes known to the BGP process and investigate the presence of the affected destination.
show ip bgp 10.10.10.0
show ip bgp 10.10.10.0
Used to investigate the affected 10.10.10.0/24 prefix within the local BGP table.
show running-config | section bgp
show running-config | section bgp
Used to inspect the active BGP configuration and identify the incorrect network statement responsible for the route advertisement failure.
The configuration showed R1 advertising 10.10.100.0/24 instead of the actual 10.10.10.0/24 destination.
Advertised Routes
show ip bgp neighbors 192.0.2.2 advertised-routes
Used to verify which prefixes R1 was advertising to the ISP neighbor.
show running-config | section bgp
show running-config | section bgp
Used after remediation to verify that the BGP network statement referenced the correct destination prefix.
show ip bgp
show ip bgp
Used after remediation to confirm the affected prefix was present in the BGP table.
Advertised Routes - After
show ip bgp neighbors 192.0.2.2 advertised-routes
Used to verify that R1 was now advertising the 10.10.10.0/24 prefix to the ISP.
BGP Investigation Result
CLI evidence established that the BGP session itself was operational. The failure was isolated to the configured network advertisement. R1 originally referenced 10.10.100.0/24 instead of 10.10.10.0/24. After correcting the network statement, the affected prefix appeared in the BGP table, was advertised to the ISP, and end-to-end connectivity was restored.
View Full BGP Investigation →INC-005 - SNMP CLI Evidence
Cisco IOS CLI was used to isolate an SNMP monitoring failure by verifying interface state, ACLs, SNMP configuration, community configuration, and SNMP protocol activity.
show ip interface brief
show ip interface brief
Used to verify that the monitored router interfaces were operational and reachable before investigating SNMP.
show access-lists
show access-lists
Used to inspect ACL configuration and determine whether monitoring traffic could be filtered.
show snmp
show snmp
Used to inspect the operational state and statistics of the SNMP subsystem.
show snmp community
show snmp community
Used to inspect the configured SNMP community information during monitoring troubleshooting.
debug snmp
debug snmp
Used to observe SNMP activity on R1 and correlate polling behavior with the monitoring failure.
These commands were used as part of a layered troubleshooting process: verify reachability, inspect security policy, inspect SNMP state, inspect community configuration, and observe protocol behavior.
View Full SNMP Investigation →Investigation Workflow
01 - Observe
Identify the symptom and affected service.
02 - Hypothesize
Develop possible causes based on the symptoms.
03 - Verify
Select CLI commands that can confirm or eliminate each hypothesis.
04 - Remediate
Correct the identified configuration or network issue.
05 - Validate
Use CLI and packet evidence to confirm the fix.
Full Technical Evidence
Supporting configurations, screenshots, PCAPs, incident documentation, and project artifacts are maintained in the GitHub repository.
View GitHub Repository →