Cisco CLI Evidence

Cisco IOS commands used to investigate, diagnose, remediate, and verify network incidents.

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

OSPF

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 →
Routing

show ip route

show ip route

Used to verify whether expected routes were present in the routing table after troubleshooting.

View Project →
BGP

show ip bgp summary

show ip bgp summary

Used to verify BGP peer state and confirm whether the BGP session was established.

View Incident →
BGP

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.

HSRP Configuration

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 HSRP interface configuration
HSRP State

R1 - show standby brief

show standby brief

Used to verify R1's HSRP group, priority, Active state, and virtual IP.

R1 show standby brief
HSRP Detail

R1 - show standby

show standby

Used to inspect detailed HSRP state, virtual IP, Active router, priority, and HSRPv2 operation.

R1 show standby
Broken Configuration

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 broken HSRP interface configuration

R2 was configured with 10.10.10.11 instead of the expected HSRP virtual IP 10.10.10.1.

HSRP State

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 broken HSRP summary
HSRP Detail

R2 - show standby

show standby

Used to inspect the detailed HSRP state and confirm the incorrect virtual IP before failover testing.

R2 broken HSRP detail
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 active after R1 failure

R2 transitioned to Active, but the virtual IP remained 10.10.10.11. The expected client gateway was 10.10.10.1.

Failover Verification

R2 - show standby brief after R1 failure

show standby brief

Used to confirm the Active state after the simulated primary-router failure.

R2 HSRP summary after R1 failure
Post-Remediation

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 active with corrected HSRP virtual IP

R2 was Active with the corrected virtual IP 10.10.10.1.

Post-Remediation

R2 - show running-config interface

show running-config interface GigabitEthernet0/0

Used to verify the corrected HSRP configuration after remediation.

R2 corrected HSRP configuration

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

VLAN

show vlan brief

show vlan brief

Used to verify VLAN existence and switchport membership during Layer 2 troubleshooting.

View Project →
Trunking

show interfaces trunk

show interfaces trunk

Used to verify trunk state and VLANs being carried across trunk links.

View Project →
STP

show spanning-tree

show spanning-tree

Used to inspect spanning-tree state and Layer 2 topology behavior.

View Project →
EtherChannel

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.

DHCP Investigation

show ip dhcp pool

show ip dhcp pool

Used to inspect the DHCP pool configuration and identify the incorrect network information.

Cisco show ip dhcp pool output View Incident →
Interface Verification

show ip interface brief

show ip interface brief

Used to verify interface state and addressing during the DHCP investigation.

Cisco show ip interface brief output View Incident →
DHCP Verification

show ip dhcp binding

show ip dhcp binding

Used to determine whether the DHCP server had successfully assigned an address to the client.

Empty DHCP binding table View Incident →
Configuration

show running-config

show running-config

Used to inspect the active DHCP configuration and identify the configuration responsible for the failure.

DHCP section of Cisco running configuration View Incident →
POST-REMEDIATION VERIFICATION

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.

Post-remediation DHCP binding showing successful lease
Verification Result: DHCP lease successfully populated after remediation.
View Full Incident Analysis →

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.

Interface Verification

show ip interface

show ip interface

Used to verify the client-facing interface and its operational state during DHCP relay troubleshooting.

R1 show ip interface output
DHCP Relay

show ip helper-address

show ip helper-address

Used to inspect the DHCP relay configuration on the client-facing interface.

R1 show ip helper-address output
Routing

show ip route

show ip route

Used to verify that R1 had a route toward the remote DHCP server network.

R1 route toward DHCP server network
DHCP Server

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.

R2 show ip dhcp pool output
DHCP Server

show ip dhcp binding

show ip dhcp binding

Used to verify whether the DHCP server had created a lease for the affected client.

R2 empty DHCP binding table
Troubleshooting

DHCP Debug

debug ip dhcp server events

Used to observe DHCP server-side processing and correlate the client request with the relay transaction.

DHCP server debug events

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.

Network Security

show access-lists

show access-lists

Used to inspect ACL entries and hit counters to determine which security rules were matching the affected traffic.

Cisco show access-lists output showing ACL hit counters

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.

Interface Verification

show ip interface brief

show ip interface brief

Used to verify interface status and addressing before investigating the NAT configuration.

R1 show ip interface brief output
NAT Inside

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.

R1 GigabitEthernet0/0 NAT inside configuration
NAT Outside

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.

R1 GigabitEthernet0/2 NAT outside configuration
Routing

show ip route

show ip route

Used to verify routing information and separate a routing failure from the NAT translation failure.

R1 routing table
NAT Configuration

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.

R1 NAT configuration showing PAT overload
NAT ACL

show running-config | section access-list

show running-config | section access-list

Used to inspect the source ACL referenced by the NAT overload configuration.

R1 NAT access list configuration
Troubleshooting

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.

R1 NAT-INSIDE ACL showing incorrect source 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 →
NAT State

show ip nat translations

show ip nat translations

Used to determine whether the affected client traffic was creating NAT translation entries.

Empty NAT translation table before remediation

No translation entry was present during the failed connectivity test.

NAT Statistics

show ip nat statistics

show ip nat statistics

Used to inspect NAT operation and determine whether translations were being created.

R1 NAT statistics before remediation
NAT Debug

debug ip nat

debug ip nat

Used after remediation to observe NAT processing and provide additional evidence that translation was occurring.

Cisco debug ip nat after remediation
Post-Remediation

show access-lists NAT-INSIDE

show access-lists NAT-INSIDE

Used to verify that the corrected ACL matched the actual client LAN after remediation.

Corrected NAT-INSIDE ACL showing matches

The corrected 10.10.10.0/24 entry recorded three matches, confirming that client traffic was now selecting the NAT policy.

Post-Remediation

show ip nat translations

show ip nat translations

Used to verify that active NAT translations were created after correcting the source ACL.

NAT translations populated after remediation
Post-Remediation

show ip nat statistics

show ip nat statistics

Used to confirm NAT translation activity after the configuration correction.

NAT statistics after remediation

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.

BGP Operations

show ip bgp summary

show ip bgp summary

Used to verify the BGP neighbor relationship and confirm that the BGP peering session was operational.

R1 show ip bgp summary

This established that the investigation needed to continue beyond basic BGP session establishment and focus on route advertisement.

View BGP Evidence →
BGP Neighbor

show ip bgp neighbors

show ip bgp neighbors

Used to inspect detailed BGP neighbor information and verify the configured remote autonomous system.

R1 show ip bgp neighbors
BGP Routing Table

show ip bgp

show ip bgp

Used to inspect routes known to the BGP process and investigate the presence of the affected destination.

R1 show ip bgp
Prefix Investigation

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.

R1 BGP lookup for 10.10.10.0
BGP Configuration

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.

R1 broken BGP configuration

The configuration showed R1 advertising 10.10.100.0/24 instead of the actual 10.10.10.0/24 destination.

Route Advertisement

Advertised Routes

show ip bgp neighbors 192.0.2.2 advertised-routes

Used to verify which prefixes R1 was advertising to the ISP neighbor.

R1 advertised routes before remediation
Post-Remediation

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.

R1 corrected BGP configuration
Post-Remediation

show ip bgp

show ip bgp

Used after remediation to confirm the affected prefix was present in the BGP table.

R1 BGP table after remediation
Post-Remediation

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.

R1 advertised routes after remediation

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.

Interface Verification

show ip interface brief

show ip interface brief

Used to verify that the monitored router interfaces were operational and reachable before investigating SNMP.

Cisco show ip interface brief output
Network Security

show access-lists

show access-lists

Used to inspect ACL configuration and determine whether monitoring traffic could be filtered.

Cisco show access-lists output
SNMP

show snmp

show snmp

Used to inspect the operational state and statistics of the SNMP subsystem.

Cisco show snmp output
SNMP

show snmp community

show snmp community

Used to inspect the configured SNMP community information during monitoring troubleshooting.

Cisco show snmp community output
Troubleshooting

debug snmp

debug snmp

Used to observe SNMP activity on R1 and correlate polling behavior with the monitoring failure.

Cisco debug snmp output

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 →