| Command | Purpose |
|---|---|
| enable | Enter privileged exec mode |
| ping [IP] | Test connectivity to a remote host |
| show version | Display IOS version and hardware info |
| show interfaces | View interface status and statistics |
| Command | Purpose |
|---|---|
| configure terminal | Enter global configuration mode |
| copy running-config startup-config | Save current config to NVRAM |
| reload | Reboot the device |
| show ip route | Display routing table |
| Command | Purpose |
|---|---|
| hostname [name] | Set device hostname |
| enable secret [password] | Set encrypted privileged exec password |
| line console 0 | Enter console line configuration |
| interface [type] [number] | Enter interface configuration mode |
| Command | Purpose |
|---|---|
| ip address [IP] [mask] | Assign IP address to interface |
| no shutdown | Enable the interface |
| description [text] | Add a label to the interface |
| switchport mode access | Set interface to access mode |
| switchport access vlan [ID] | Assign VLAN to access port |