networking:cisco:switch_command_reference
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:cisco:switch_command_reference [2016/02/18 11:34] – rplecko | networking:cisco:switch_command_reference [2016/03/03 18:45] (current) – [VLANS] rplecko | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== BASIC DEVICE COMMANDS ==== | ==== BASIC DEVICE COMMANDS ==== | ||
| - | =Show Running Configuration File= | + | ===Show Running Configuration File=== |
| < | < | ||
| Line 7: | Line 7: | ||
| </ | </ | ||
| - | Show Startup Configuration File (NVRAM) | + | ===Show Startup Configuration File (NVRAM)=== |
| < | < | ||
| Line 13: | Line 13: | ||
| </ | </ | ||
| - | Copy Changes from Running Config to the Startup Config | + | ===Copy Changes from Running Config to the Startup Config=== |
| < | < | ||
| Line 19: | Line 19: | ||
| </ | </ | ||
| - | Show Version (Platform Type / OS Revision / Last Boot / Memory / Interfaces / Conf Register) | + | ===Show Version (Platform Type / OS Revision / Last Boot / Memory / Interfaces / Conf Register)=== |
| < | < | ||
| Line 27: | Line 27: | ||
| ==== BASIC SETINGS ==== | ==== BASIC SETINGS ==== | ||
| - | Set a Warning Banner for Login Prompt | + | ===Set a Warning Banner for Login Prompt=== |
| < | < | ||
| Line 37: | Line 37: | ||
| </ | </ | ||
| - | Change BAUD rate | + | ===Change BAUD rate=== |
| < | < | ||
| switch# | switch# | ||
| Line 46: | Line 46: | ||
| </ | </ | ||
| - | Set hostname | + | ===Set hostname=== |
| < | < | ||
| Line 56: | Line 56: | ||
| ==== DEVICE SECURITY ==== | ==== DEVICE SECURITY ==== | ||
| - | Set Password and Level for Exec & Non-Exec Access (>enable | + | ===Set Password and Level for Exec & Non-Exec Access (>enable=== |
| < | < | ||
| Line 63: | Line 63: | ||
| </ | </ | ||
| - | Set Level and Secret Password Access (recommended method) | + | ===Set Level and Secret Password Access (recommended method)=== |
| < | < | ||
| Line 71: | Line 71: | ||
| </ | </ | ||
| - | ==== SAVING | + | ==== SAVING RESTORING |
| - | Save Running Config to Startup Config | + | === Save Running Config to Startup Config |
| < | < | ||
| Line 79: | Line 79: | ||
| </ | </ | ||
| - | Save Running Config to a Remote TFTP Server | + | === Save Running Config to a Remote TFTP Server |
| < | < | ||
| Line 86: | Line 86: | ||
| < | < | ||
| </ | </ | ||
| - | + | | |
| - | Save Config From Remote TFTP Server to the Running Config | + | === Save Config From Remote TFTP Server to the Running Config |
| < | < | ||
| Line 97: | Line 97: | ||
| </ | </ | ||
| + | ===Delete Current configuration=== | ||
| + | |||
| + | < | ||
| + | #write erase | ||
| + | < | ||
| + | #reload | ||
| + | </ | ||
| ==== INFORMATIONAL COMAMNDS ==== | ==== INFORMATIONAL COMAMNDS ==== | ||
| - | Show Spanning Tree Information (port cost/hello interval/ | + | ===Show Spanning Tree Information (port cost/hello interval/ |
| < | < | ||
| Line 106: | Line 113: | ||
| ==== MAC ADDRESSES ==== | ==== MAC ADDRESSES ==== | ||
| - | Show Mac Address Table (Shows which Devices are Connected to which Port) | + | ===Show Mac Address Table (Shows which Devices are Connected to which Port)=== |
| < | < | ||
| </ | </ | ||
| - | Permanently Assign a Device MAC Address to a Port | + | ===Permanently Assign a Device MAC Address to a Port=== |
| < | < | ||
| Line 119: | Line 126: | ||
| </ | </ | ||
| - | Clear Mac Address Table | + | ===Clear Mac Address Table=== |
| < | < | ||
| Line 125: | Line 132: | ||
| </ | </ | ||
| - | Configure Port Security to “Sticky Learn” the MAC Address Connected and only Allow that Device to Connect | + | ===Configure Port Security to “Sticky Learn” the MAC Address Connected and only Allow that Device to Connect=== |
| - | === 1900 === | + | == 1900 == |
| < | < | ||
| Line 136: | Line 143: | ||
| </ | </ | ||
| - | === 2950 === | + | == 2950 == |
| < | < | ||
| Line 153: | Line 160: | ||
| </ | </ | ||
| - | Show Port VLAN Membership Information | + | ===Show Port VLAN Membership Information=== |
| < | < | ||
| </ | </ | ||
| - | Show VLAN Interface Information | + | ===Show VLAN Interface Information=== |
| < | < | ||
| </ | </ | ||
| - | Create VLANs | + | ===Create VLANs=== |
| < | < | ||
| Line 180: | Line 187: | ||
| </ | </ | ||
| - | Removing VLANs | + | ===Removing VLANs=== |
| < | < | ||
| Line 197: | Line 204: | ||
| </ | </ | ||
| - | Assigning a VLAN to a Single Port 1900 | + | ===Delete the VLAN information from Flash or NVRAM, and reload the switch=== |
| + | < | ||
| + | # delete flash: | ||
| + | < | ||
| + | |||
| + | # reload | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | ===Assigning a VLAN to a Single Port 1900=== | ||
| < | < | ||
| Line 205: | Line 221: | ||
| </ | </ | ||
| - | 2950 | + | ==2950== |
| < | < | ||
| Line 214: | Line 230: | ||
| </ | </ | ||
| - | Removing a Single Port VLAN Assignment (Defaults Back to VLAN 1) 1900 | + | ===Removing a Single Port VLAN Assignment (Defaults Back to VLAN 1) 1900=== |
| < | < | ||
| Line 222: | Line 238: | ||
| </ | </ | ||
| - | Assign a VLAN to a Range of Ports 1900 | + | ===Assign a VLAN to a Range of Ports 1900=== |
| < | < | ||
| Line 230: | Line 246: | ||
| </ | </ | ||
| - | Assign an IP to a VLAN 1900 | + | ===Assign an IP to a VLAN 1900=== |
| < | < | ||
| Line 240: | Line 256: | ||
| ==== VTP (Virtual Trunking Protocol) ==== | ==== VTP (Virtual Trunking Protocol) ==== | ||
| - | Show VTP Status | + | ===Show VTP Status=== |
| < | < | ||
| </ | </ | ||
| - | Show Trunk Information (1900) | + | ===Show Trunk Information (1900)=== |
| < | < | ||
| </ | </ | ||
| - | Set the VTP Domain | + | ===Set the VTP Domain=== |
| < | < | ||
| Line 259: | Line 275: | ||
| </ | </ | ||
| - | Set Switch as a VTP Server | + | ===Set Switch as a VTP Server=== |
| < | < | ||
| Line 268: | Line 284: | ||
| </ | </ | ||
| - | Set Switch as a VTP Client | + | ===Set Switch as a VTP Client=== |
| < | < | ||
| Line 277: | Line 293: | ||
| </ | </ | ||
| - | Trunk Link Create a Trunk Link that will Carry the VLAN Configurations | + | ===Trunk Link Create a Trunk Link that will Carry the VLAN Configurations=== |
| < | < | ||
| Line 289: | Line 305: | ||
| </ | </ | ||
| - | Dynamic Trunk Link Create a Dynamic Trunk Link that will Carry the VLAN Configurations | + | ===Dynamic Trunk Link Create a Dynamic Trunk Link that will Carry the VLAN Configurations=== |
| < | < | ||
networking/cisco/switch_command_reference.1455795269.txt.gz · Last modified: 2016/02/18 11:34 (external edit)
