Upload cisco_cli_commands.json
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347[
{
"command": "enable",
"description": "Switches the user from user EXEC mode to privileged EXEC mode, allowing access to more powerful administrative commands. Privileged EXEC mode is indicated by the `#` symbol in the prompt.",
"examples": [
{
"example_command": "enable",
"explanation": "Switches from user EXEC mode to privileged EXEC mode."
}
]
},
{
"command": "configure terminal",
"description": "Enters global configuration mode, which allows you to make changes to the device's configuration.",
"examples": [
{
"example_command": "configure terminal",
"explanation": "Enters global configuration mode to modify the device configuration."
}
]
},
{
"command": "interface gigabitethernet/number",
"description": "Puts the device into interface configuration mode for the specified Gigabit Ethernet interface, allowing you to configure settings for that interface. For example, `interface gigabitethernet1/0/1`.",
"examples": [
{
"example_command": "interface gigabitethernet1/0/1",
"explanation": "Enters interface configuration mode for the GigabitEthernet1/0/1 interface."
}
]
},
{
"command": "reload",
"description": "Reboots the Cisco switch or router, reloading its running software and configuration.",
"examples": [
{
"example_command": "reload",
"explanation": "Reboots the device."
}
]
},
{
"command": "hostname name",
"description": "Sets the hostname for the current Cisco device. This hostname is used to identify the device on the network.",
"examples": [
{
"example_command": "hostname Switch01",
"explanation": "Sets the hostname of the device to 'Switch01'."
}
]
},
{
"command": "copy from-location to-location",
"description": "Copies files from one location to another on the Cisco device. For example, copying configuration files or IOS images between locations such as `flash:`, `tftp:`, or `nvram:`.",
"examples": [
{
"example_command": "copy running-config startup-config",
"explanation": "Saves the current running configuration to the startup configuration."
}
]
},
{
"command": "copy running-config startup-config",
"description": "Saves the active configuration to the startup configuration file so that it is retained when the device is rebooted.",
"examples": [
{
"example_command": "copy running-config startup-config",
"explanation": "Saves the current active configuration to the startup configuration file."
}
]
},
{
"command": "copy startup-config running-config",
"description": "Merges the startup configuration (stored in NVRAM) with the current running configuration (in RAM).",
"examples": [
{
"example_command": "copy startup-config running-config",
"explanation": "Merges the startup configuration with the current running configuration."
}
]
},
{
"command": "write erase",
"description": "Erases the startup configuration file from NVRAM, effectively resetting the device to its factory settings.",
"examples": [
{
"example_command": "write erase",
"explanation": "Erases the startup configuration, resetting the device."
}
]
},
{
"command": "ip address ip-address mask",
"description": "Assigns an IP address and subnet mask to an interface on the Cisco device.",
"examples": [
{
"example_command": "ip address 192.168.1.1 255.255.255.0",
"explanation": "Assigns the IP address 192.168.1.1 with a subnet mask of 255.255.255.0 to the interface."
}
]
},
{
"command": "shutdown / no shutdown",
"description": "The `shutdown` command disables an interface, while `no shutdown` enables it.",
"examples": [
{
"example_command": "shutdown",
"explanation": "Disables the interface."
},
{
"example_command": "no shutdown",
"explanation": "Enables the interface."
}
]
},
{
"command": "ip default-gateway ip_address",
"description": "Configures the default gateway on the device, allowing it to send traffic to devices outside its local subnet.",
"examples": [
{
"example_command": "ip default-gateway 192.168.1.254",
"explanation": "Sets the default gateway to 192.168.1.254."
}
]
},
{
"command": "ping {hostname | system-address}",
"description": "Sends Internet Control Message Protocol (ICMP) echo requests to a specified host or IP address to test network connectivity.",
"examples": [
{
"example_command": "ping 8.8.8.8",
"explanation": "Pings the Google DNS server (8.8.8.8) to check for network connectivity."
}
]
},
{
"command": "speed {10 | 100 | 1000 | auto}",
"description": "Sets the speed of a network interface. Speeds are in Mbps, or the `auto` option can be used to automatically detect the correct speed.",
"examples": [
{
"example_command": "speed 1000",
"explanation": "Sets the interface speed to 1000 Mbps (1 Gbps)."
}
]
},
{
"command": "duplex {auto | full | half}",
"description": "Configures the duplex setting of a network interface. Duplex can be set to `full` for bidirectional communication, `half` for unidirectional, or `auto` for automatic detection.",
"examples": [
{
"example_command": "duplex full",
"explanation": "Sets the interface to full duplex mode."
}
]
},
{
"command": "cdp run / no cdp run",
"description": "Enables or disables Cisco Discovery Protocol (CDP) globally on the device.",
"examples": [
{
"example_command": "cdp run",
"explanation": "Enables Cisco Discovery Protocol globally on the device."
},
{
"example_command": "no cdp run",
"explanation": "Disables Cisco Discovery Protocol globally on the device."
}
]
},
{
"command": "show mac address-table",
"description": "Displays the MAC address table of the device, showing which MAC addresses are associated with which interfaces.",
"examples": [
{
"example_command": "show mac address-table",
"explanation": "Displays the MAC address table for all interfaces."
}
]
},
{
"command": "show ip route",
"description": "Displays the current IP routing table, listing known routes that are either statically configured or learned through dynamic routing protocols.",
"examples": [
{
"example_command": "show ip route",
"explanation": "Displays the current IP routing table."
}
]
},
{
"command": "ip route network-number network-mask {ip-address | interface}",
"description": "Creates a static route in the IP routing table. You can specify the destination network and subnet mask, along with either a next-hop IP address or the interface through which the traffic should be routed.",
"examples": [
{
"example_command": "ip route 10.1.1.0 255.255.255.0 192.168.1.1",
"explanation": "Configures a static route to the 10.1.1.0/24 network with a next-hop IP address of 192.168.1.1."
}
]
},
{
"command": "switchport access vlan {vlan-id}",
"description": "Assigns a specific VLAN to the interface in access mode, allowing it to communicate within the VLAN.",
"examples": [
{
"example_command": "switchport access vlan 10",
"explanation": "Assigns VLAN 10 to the interface in access mode."
}
]
},
{
"command": "switchport trunk encapsulation dot1q",
"description": "Sets 802.1Q encapsulation for a trunk port, allowing multiple VLANs to be carried over the trunk.",
"examples": [
{
"example_command": "switchport trunk encapsulation dot1q",
"explanation": "Sets 802.1Q encapsulation on the trunk port."
}
]
},
{
"command": "enable password pass-value",
"description": "Sets the password required to enter privileged EXEC mode (the `enable` command).",
"examples": [
{
"example_command": "enable password cisco123",
"explanation": "Sets 'cisco123' as the password required to enter privileged EXEC mode."
}
]
},
{
"command": "enable secret pass-value",
"description": "Sets a hashed, encrypted password for privileged EXEC mode access.",
"examples": [
{
"example_command": "enable secret mysecretpass",
"explanation": "Sets a hashed, encrypted password 'mysecretpass' for privileged EXEC mode."
}
]
},
{
"command": "service password-encryption",
"description": "Enables encryption for passwords stored in the configuration file.",
"examples": [
{
"example_command": "service password-encryption",
"explanation": "Encrypts all passwords in the device configuration file."
}
]
},
{
"command": "access-list access-list-number {deny | permit} source [source-wildcard]",
"description": "Defines an IP access list (ACL) with rules to either permit or deny traffic based on source addresses.",
"examples": [
{
"example_command": "access-list 10 permit 192.168.1.0 0.0.0.255",
"explanation": "Permits traffic from the 192.168.1.0/24 network."
}
]
},
{
"command": "ntp peer <ip-address>",
"description": "Configures the device to synchronize its clock with a specified NTP (Network Time Protocol) peer.",
"examples": [
{
"example_command": "ntp peer 192.168.1.100",
"explanation": "Configures the device to synchronize with NTP peer at 192.168.1.100."
}
]
},
{
"command": "lldp run",
"description": "Enables LLDP (Link Layer Discovery Protocol) globally on the device. LLDP is a vendor-neutral protocol that allows devices to advertise their identity and capabilities to neighboring devices.",
"examples": [
{
"example_command": "lldp run",
"explanation": "Enables LLDP globally on the device."
}
]
},
{
"command": "show lldp neighbors",
"description": "Displays information about neighboring devices discovered using LLDP. The information can be displayed for all interfaces or for a specific interface.",
"syntax": [
"show lldp neighbors [ interface-id ]"
],
"examples": [
{
"example_command": "show lldp neighbors",
"explanation": "Displays a summary of neighboring devices discovered via LLDP on all interfaces."
},
{
"example_command": "show lldp neighbors gigabitethernet1/0/1",
"explanation": "Displays LLDP information for the neighboring device connected to interface GigabitEthernet1/0/1."
}
]
},
{
"command": "show lldp traffic",
"description": "Displays LLDP traffic statistics, including the number of transmitted and received LLDP packets, as well as any packet errors.",
"examples": [
{
"example_command": "show lldp traffic",
"explanation": "Displays LLDP traffic statistics for the device."
}
]
},
{
"command": "no lldp run",
"description": "Disables LLDP globally on the device, preventing it from advertising or listening for neighboring devices.",
"examples": [
{
"example_command": "no lldp run",
"explanation": "Disables LLDP globally on the device."
}
]
},
{
"command": "show cdp neighbors",
"description": "Displays information about neighboring devices discovered using CDP (Cisco Discovery Protocol). It shows the device ID, local interface, holdtime, capability, platform, and port ID of the connected neighbors.",
"examples": [
{
"example_command": "show cdp neighbors",
"explanation": "Displays a summary of neighboring devices discovered via CDP."
}
]
},
{
"command": "show interfaces status",
"description": "Displays a summary of interface status, including speed, duplex, VLAN assignment, and operational state. It's useful for troubleshooting interface issues and verifying interface configurations.",
"examples": [
{
"example_command": "show interfaces status",
"explanation": "Displays the status of all interfaces on the device."
}
]
},
{
"command": "show interfaces switchport",
"description": "Displays detailed information about the switchport settings of an interface, including VLAN and trunking information.",
"examples": [
{
"example_command": "show interfaces switchport gigabitethernet1/0/1",
"explanation": "Displays detailed switchport information for the interface GigabitEthernet1/0/1."
}
]
}
]cisco_cli_commands.jsonAdded+347