User Tools

Site Tools


networking:cisco:switch_command_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
networking:cisco:switch_command_reference [2016/02/18 09:14] rpleckonetworking: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===
  
 <code> <code>
Line 7: Line 7:
 </code> </code>
  
-Show Startup Configuration File (NVRAM)+===Show Startup Configuration File (NVRAM)===
  
 <code> <code>
Line 13: Line 13:
 </code> </code>
  
-Copy Changes from Running Config to the Startup Config+===Copy Changes from Running Config to the Startup Config===
  
 <code> <code>
Line 19: Line 19:
 </code> </code>
  
-Show Version (Platform Type / OS Revision / Last Boot / Memory / Interfaces / Conf Register)+===Show Version (Platform Type / OS Revision / Last Boot / Memory / Interfaces / Conf Register)===
  
 <code> <code>
Line 27: Line 27:
 ==== BASIC SETINGS ==== ==== BASIC SETINGS ====
  
-Set a Warning Banner for Login Prompt+===Set a Warning Banner for Login Prompt===
  
 <code>>enable <code>>enable
Line 37: Line 37:
 </code> </code>
  
-Change BAUD rate +===Change BAUD rate=== 
 +<code>
 switch#configure terminal switch#configure terminal
- 
 switch(config)#line con 0 switch(config)#line con 0
- 
 switch(config-line)#speed 9600 switch(config-line)#speed 9600
- 
 switch(config-line)#end switch(config-line)#end
- 
 switch#wr switch#wr
 +</code>
  
-Set hostname+===Set hostname===
  
 <code>>enable <code>>enable
Line 59: 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===
  
 <code> <code>
Line 66: Line 63:
 </code> </code>
  
-Set Level and Secret Password Access (recommended method)+===Set Level and Secret Password Access (recommended method)===
  
 <code>>enable <code>>enable
Line 74: Line 71:
 </code> </code>
  
-==== SAVING AND RESTORING CONFIGURATIONS ====+==== SAVING RESTORING AND DELETING CONFIGURATIONS ====
  
-Save Running Config to Startup Config+=== Save Running Config to Startup Config ===
  
 <code> <code>
Line 82: Line 79:
 </code> </code>
  
-​Save Running Config to a Remote TFTP Server+=== ​Save Running Config to a Remote TFTP Server ===
  
 <code> <code>
Line 89: Line 86:
 ​<enter filename> ​<enter filename>
 </code> </code>
- + 
-​Save Config From Remote TFTP Server to the Running Config+=== Save Config From Remote TFTP Server to the Running Config ===
  
 <code> <code>
Line 100: Line 97:
 </code> </code>
  
 +===Delete Current configuration===
 +
 +<code>
 +#write erase
 +<confirm>
 +#reload
 +</code>
 ==== INFORMATIONAL COMAMNDS ==== ==== INFORMATIONAL COMAMNDS ====
  
-Show Spanning Tree Information (port cost/hello interval/root bridge address)+===Show Spanning Tree Information (port cost/hello interval/root bridge address)===
  
 <code>>show spantree <code>>show spantree
Line 109: 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)===
  
 <code>>show mac-address-table <code>>show mac-address-table
 </code> </code>
  
-Permanently Assign a Device MAC Address to a Port+===Permanently Assign a Device MAC Address to a Port===
  
 <code> <code>
Line 122: Line 126:
 </code> </code>
  
-Clear Mac Address Table+===Clear Mac Address Table===
  
 <code> <code>
Line 128: Line 132:
 </code> </code>
  
-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 ==
  
 <code> <code>
Line 139: Line 143:
 </code> </code>
  
-=== 2950 ===+== 2950 ==
  
 <code> <code>
Line 156: Line 160:
 </code> </code>
  
-Show Port VLAN Membership Information+===Show Port VLAN Membership Information===
  
 <code>>show vlan-membership <code>>show vlan-membership
 </code> </code>
  
-Show VLAN Interface Information+===Show VLAN Interface Information===
  
 <code>>show interface vlan 1 <code>>show interface vlan 1
 </code> </code>
  
-Create VLANs+===Create VLANs===
  
 <code> <code>
Line 183: Line 187:
 </code> </code>
  
-Removing VLANs+===Removing VLANs===
  
 <code> <code>
Line 200: Line 204:
 </code> </code>
  
-Assigning a VLAN to a Single Port 1900+===Delete the VLAN information from Flash or NVRAM, and reload the switch=== 
 +<code> 
 +# delete flash:vlan.dat 
 +<confirm> 
 + 
 +# reload 
 +<confirm> 
 +</code> 
 + 
 +===Assigning a VLAN to a Single Port 1900===
  
 <code> <code>
Line 208: Line 221:
 </code> </code>
  
-2950+==2950==
  
 <code> <code>
Line 217: Line 230:
 </code> </code>
  
-Removing a Single Port VLAN Assignment (Defaults Back to VLAN 1) 1900+===Removing a Single Port VLAN Assignment (Defaults Back to VLAN 1) 1900===
  
 <code> <code>
Line 225: Line 238:
 </code> </code>
  
-Assign a VLAN to a Range of Ports 1900+===Assign a VLAN to a Range of Ports 1900===
  
 <code> <code>
Line 233: Line 246:
 </code> </code>
  
-Assign an IP to a VLAN 1900+===Assign an IP to a VLAN 1900===
  
 <code> <code>
Line 243: Line 256:
 ==== VTP (Virtual Trunking Protocol) ==== ==== VTP (Virtual Trunking Protocol) ====
  
-Show VTP Status+===Show VTP Status===
  
 <code>>show vtp status <code>>show vtp status
 </code> </code>
  
-Show Trunk Information (1900)+===Show Trunk Information (1900)===
  
 <code>>show trunk a>show trunk b <code>>show trunk a>show trunk b
 </code> </code>
  
-Set the VTP Domain+===Set the VTP Domain===
  
 <code> <code>
Line 262: Line 275:
 </code> </code>
  
-Set Switch as a VTP Server+===Set Switch as a VTP Server===
  
 <code> <code>
Line 271: Line 284:
 </code> </code>
  
-Set Switch as a VTP Client+===Set Switch as a VTP Client===
  
 <code> <code>
Line 280: Line 293:
 </code> </code>
  
-Trunk Link Create a Trunk Link that will Carry the VLAN Configurations+===Trunk Link Create a Trunk Link that will Carry the VLAN Configurations===
  
 <code> <code>
Line 292: Line 305:
 </code> </code>
  
-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===
  
 <code> <code>
networking/cisco/switch_command_reference.1455786842.txt.gz · Last modified: 2016/02/18 09:14 (external edit)