Dataset Viewer
Auto-converted to Parquet
command
stringlengths
6
71
description
stringlengths
66
208
examples
listlengths
1
2
syntax
sequencelengths
1
2
enable
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.
[ { "example_command": "enable", "explanation": "Switches from user EXEC mode to privileged EXEC mode." } ]
[ "enable" ]
configure terminal
Enters global configuration mode, which allows you to make changes to the device's configuration.
[ { "example_command": "configure terminal", "explanation": "Enters global configuration mode to modify the device configuration." } ]
[ "configure terminal" ]
interface gigabitethernet/number
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`.
[ { "example_command": "interface gigabitethernet1/0/1", "explanation": "Enters interface configuration mode for the GigabitEthernet1/0/1 interface." } ]
[ "interface gigabitethernet1/0/1" ]
reload
Reboots the Cisco switch or router, reloading its running software and configuration.
[ { "example_command": "reload", "explanation": "Reboots the device." } ]
[ "reload" ]
hostname name
Sets the hostname for the current Cisco device. This hostname is used to identify the device on the network.
[ { "example_command": "hostname Switch01", "explanation": "Sets the hostname of the device to 'Switch01'." } ]
[ "hostname Switch01" ]
copy from-location to-location
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:`.
[ { "example_command": "copy running-config startup-config", "explanation": "Saves the current running configuration to the startup configuration." } ]
[ "copy running-config startup-config" ]
copy running-config startup-config
Saves the active configuration to the startup configuration file so that it is retained when the device is rebooted.
[ { "example_command": "copy running-config startup-config", "explanation": "Saves the current active configuration to the startup configuration file." } ]
[ "copy running-config startup-config" ]
copy startup-config running-config
Merges the startup configuration (stored in NVRAM) with the current running configuration (in RAM).
[ { "example_command": "copy startup-config running-config", "explanation": "Merges the startup configuration with the current running configuration." } ]
[ "copy startup-config running-config" ]
write erase
Erases the startup configuration file from NVRAM, effectively resetting the device to its factory settings.
[ { "example_command": "write erase", "explanation": "Erases the startup configuration, resetting the device." } ]
[ "write erase" ]
ip address ip-address mask
Assigns an IP address and subnet mask to an interface on the Cisco device.
[ { "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." } ]
[ "ip address 192.168.1.1 255.255.255.0" ]
shutdown / no shutdown
The `shutdown` command disables an interface, while `no shutdown` enables it.
[ { "example_command": "shutdown", "explanation": "Disables the interface." }, { "example_command": "no shutdown", "explanation": "Enables the interface." } ]
[ "shutdown", "no shutdown" ]
ip default-gateway ip_address
Configures the default gateway on the device, allowing it to send traffic to devices outside its local subnet.
[ { "example_command": "ip default-gateway 192.168.1.254", "explanation": "Sets the default gateway to 192.168.1.254." } ]
[ "ip default-gateway 192.168.1.254" ]
ping {hostname | system-address}
Sends Internet Control Message Protocol (ICMP) echo requests to a specified host or IP address to test network connectivity.
[ { "example_command": "ping 8.8.8.8", "explanation": "Pings the Google DNS server (8.8.8.8) to check for network connectivity." } ]
[ "ping 8.8.8.8" ]
speed {10 | 100 | 1000 | auto}
Sets the speed of a network interface. Speeds are in Mbps, or the `auto` option can be used to automatically detect the correct speed.
[ { "example_command": "speed 1000", "explanation": "Sets the interface speed to 1000 Mbps (1 Gbps)." } ]
[ "speed 1000" ]
duplex {auto | full | half}
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.
[ { "example_command": "duplex full", "explanation": "Sets the interface to full duplex mode." } ]
[ "duplex full" ]
cdp run / no cdp run
Enables or disables Cisco Discovery Protocol (CDP) globally on the device.
[ { "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." } ]
[ "cdp run", "no cdp run" ]
show mac address-table
Displays the MAC address table of the device, showing which MAC addresses are associated with which interfaces.
[ { "example_command": "show mac address-table", "explanation": "Displays the MAC address table for all interfaces." } ]
[ "show mac address-table" ]
show ip route
Displays the current IP routing table, listing known routes that are either statically configured or learned through dynamic routing protocols.
[ { "example_command": "show ip route", "explanation": "Displays the current IP routing table." } ]
[ "show ip route" ]
ip route network-number network-mask {ip-address | interface}
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.
[ { "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." } ]
[ "ip route 10.1.1.0 255.255.255.0 192.168.1.1" ]
switchport access vlan {vlan-id}
Assigns a specific VLAN to the interface in access mode, allowing it to communicate within the VLAN.
[ { "example_command": "switchport access vlan 10", "explanation": "Assigns VLAN 10 to the interface in access mode." } ]
[ "switchport access vlan 10" ]
switchport trunk encapsulation dot1q
Sets 802.1Q encapsulation for a trunk port, allowing multiple VLANs to be carried over the trunk.
[ { "example_command": "switchport trunk encapsulation dot1q", "explanation": "Sets 802.1Q encapsulation on the trunk port." } ]
[ "switchport trunk encapsulation dot1q" ]
enable password pass-value
Sets the password required to enter privileged EXEC mode (the `enable` command).
[ { "example_command": "enable password cisco123", "explanation": "Sets 'cisco123' as the password required to enter privileged EXEC mode." } ]
[ "enable password cisco123" ]
enable secret pass-value
Sets a hashed, encrypted password for privileged EXEC mode access.
[ { "example_command": "enable secret mysecretpass", "explanation": "Sets a hashed, encrypted password 'mysecretpass' for privileged EXEC mode." } ]
[ "enable secret mysecretpass" ]
service password-encryption
Enables encryption for passwords stored in the configuration file.
[ { "example_command": "service password-encryption", "explanation": "Encrypts all passwords in the device configuration file." } ]
[ "service password-encryption" ]
access-list access-list-number {deny | permit} source [source-wildcard]
Defines an IP access list (ACL) with rules to either permit or deny traffic based on source addresses.
[ { "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." } ]
[ "access-list 10 permit 192.168.1.0 0.0.0.255" ]
ntp peer <ip-address>
Configures the device to synchronize its clock with a specified NTP (Network Time Protocol) peer.
[ { "example_command": "ntp peer 192.168.1.100", "explanation": "Configures the device to synchronize with NTP peer at 192.168.1.100." } ]
[ "ntp peer 192.168.1.100" ]
lldp run
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.
[ { "example_command": "lldp run", "explanation": "Enables LLDP globally on the device." } ]
[ "lldp run" ]
show lldp neighbors
Displays information about neighboring devices discovered using LLDP. The information can be displayed for all interfaces or for a specific interface.
[ { "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." } ]
[ "show lldp neighbors [ interface-id ]" ]
show lldp traffic
Displays LLDP traffic statistics, including the number of transmitted and received LLDP packets, as well as any packet errors.
[ { "example_command": "show lldp traffic", "explanation": "Displays LLDP traffic statistics for the device." } ]
[ "show lldp traffic" ]
no lldp run
Disables LLDP globally on the device, preventing it from advertising or listening for neighboring devices.
[ { "example_command": "no lldp run", "explanation": "Disables LLDP globally on the device." } ]
[ "no lldp run" ]
show cdp neighbors
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.
[ { "example_command": "show cdp neighbors", "explanation": "Displays a summary of neighboring devices discovered via CDP." } ]
[ "show cdp neighbors" ]
show interfaces status
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.
[ { "example_command": "show interfaces status", "explanation": "Displays the status of all interfaces on the device." } ]
[ "show interfaces status" ]
show interfaces switchport
Displays detailed information about the switchport settings of an interface, including VLAN and trunking information.
[ { "example_command": "show interfaces switchport gigabitethernet1/0/1", "explanation": "Displays detailed switchport information for the interface GigabitEthernet1/0/1." } ]
[ "show interfaces switchport gigabitethernet1/0/1" ]

No dataset card yet

Downloads last month
5