Friday 27 October 2023

Quick Reference Sheet: CISCO Switches

 Basic Commands:

  • show version: Display the switch's version information.

  • show running-config: Display the switch's running configuration.

  • show interface: Display the switch's interfaces and their status.

  • show ip route: Display the switch's routing table.

  • show mac address-table: Display the switch's MAC address table.

  • show arp: Display the switch's ARP table.

  • show cdp neighbors: Display the switch's CDP neighbors.

  • show lldp neighbors: Display the switch's LLDP neighbors.

  • ping: Test network connectivity to a host.

  • traceroute: Trace the route of a packet to a host.

Configuration Commands:

  • interface: Configure a switch interface.

  • ip address: Assign an IP address to a switch interface.

  • switchport mode: Configure the mode of a switch interface (e.g., access, trunk).

  • switchport trunk allowed vlan: Configure the allowed VLANs on a switch trunk interface.

  • spanning-tree mode: Configure the spanning-tree mode on the switch.

  • vlan: Create a VLAN.

  • vtp mode: Configure the VTP mode on the switch.

  • cdp enable: Enable CDP on the switch.

  • lldp enable: Enable LLDP on the switch.

Troubleshooting Commands:

  • debug ether: Enable Ethernet debugging.

  • show debug ether: Display Ethernet debug output.

  • show interface: Display the switch's interfaces and their status.

  • show mac address-table: Display the switch's MAC address table.

  • show arp: Display the switch's ARP table.

Advanced Commands:

  • stp region-name: Configure the STP region name on the switch.

  • stp priority: Configure the STP priority on a switch interface.

  • stp bpduguard: Enable BPDU Guard on a switch interface.

  • stp portfast: Enable PortFast on a switch interface.

  • vlan trunk encapsulation dot1q: Configure the trunk encapsulation type on a switch trunk interface.

  • vlan trunk pruning: Enable trunk pruning on a switch trunk interface.

  • lacp: Configure LACP on the switch.

  • errdisable recovery interval: Configure the errdisable recovery interval on the switch.

  • snmp-server community: Configure a SNMP community on the switch.

Additional Commands:

  • configure terminal: Enter configuration mode.

  • end: Exit configuration mode.

  • copy running-config startup-config: Save the switch's running configuration to the startup configuration.

  • reload: Reload the switch's configuration.

No comments:

Post a Comment

Robots with enhanced dexterity and adaptability

  Certainly, here's a comprehensive overview of robots with enhanced dexterity and adaptability: Introduction Robots are rapidly evol...