Analysing CISCO router/switch configurations

  • Display the running configuration: cisco-router# show running-config

  • Display the startup configuration: cisco-router# show startup-config

  • Display brief information about interfaces: cisco-router# show ip interface brief

  • Display the routing table: cisco-router# show ip route

  • Display routing protocols: cisco-router# show ip protocols

  • Display configured ACLs: cisco-router# show access-list

  • Display NAT Translations: cisco-router# show ip nat translations

  • Display SNMP configuration: cisco-router# show running-config | include snmp

  • Display line configuration(SSH, TELNET): cisco-router# show line

  • Display detailed VTY config: cisco-router# show running-config | section line vty

VLANS

  • Display brief VLANs on the switch: Core-Switch# show vlan brief

  • Display mac address of each VLANs: Core-Switch# show mac address-table

  • Display Layer 2 configuration for an interface: Core-Switch# show interfaces Gi0/24 switchport

  • Display Trunk ports: Core-Switch# show interfaces trunk

  • Display brief information about interfaces: Core-Switch# show ip interface brief

  • Display port security: Core-Switch# show port-security

  • Display cisco devices connected: Core-Switch# show cdp neighbors

Last updated