Home   ::  Login   ::  Register   ::  Post

:: Computers & Technology

common cisco switch commands

SpiderTip
SpiderTip
Posted: 2010-11-28

These are some common Cisco Switch Commands: show mac address-table or show mac-address - shows the MAC address table of the switch, shows both static and dynamic addresses. show mac address-table dynamic - shows only dynamic MAC addresses. show mac-address-table agin-time - Sets the MAC address expiration time in seconds. show arp - is used to display arp cache on cisco router. conf t - Puts the switch or router into configuration mode. conf t - is used to put the switch or router to global configuration mode. configure terminal will do the same thing. show vlan - Will show all the VLANs on the switch. show vlan breif - Short list of VLan items. interface vlan1 - used to select specified vlan interface. banner - used to display prompt messages on the router or switch. exec-timeout 0 0 - used to setup the timeout for the router/switch. First digit is minutes, second digit is seconds and 0 0 will disable it. ip address 0.0.0.0 255.255.255.0 - used to assign IP Address and correct subnet mask for switch management port. ip default-gateway 0.0.0.0 - used to manually assign default gateway to the switch. switchport port-security - is used to setup security for specific port on the switch. int fast 0/# - is used to select specific interface or port on the switch. interface range 0/1 - 24 - is used to select range of switch ports to apply to spcific command. show ip route - is used to display the routing table. ip route 192.168.1.1 255.255.255.0 ethernet0 - is used to setup static route. switchport mode access - sets teh port as access port. switchport port-security - is used to set the port security for specific MAC address. show config - is used to show cisco switch or router configuration. show config - is used to show cisco switch or router configuration. password password - is used to enable password for cisco switch/router. Use logon after password comand. no password password - is used to remove existing password. enable - is used to change from user exec mode to privileged exec mode. enable password - is used to enable privileged exec clear text password. enable secret - is used to enable privileged exec secret or encripted password. privilege level 15 - is used to set privilege exec mode on remote logon via telnet or ssh. username name privilege level 15 password password - is used to set privilege exec mode for specific user. reload - is used to reboot a cisco switch or router. wr er - is used to erase the start configuration file. setup - is used to enter cisco router/switch configuration mode. copy start run - is used to save the configuration, w can also be used to do the samething. show run - is used to display running configuration file. copy [source] [destination] - is used to copy a file. (common use; running-config and start-config). show version - is used to display router IOS information.

© Copyright 2019-2020 SpiderTip.Com