Passwords: cisco / class
Cisco Switch commands:
Command Description Notes
Enable Privilidged User/ Admin
Configure Terminal Enter Setupmode All commands are
immidiate, Global config
Hostname NAME Change switch name a-z, 0-9, -, _, .
Ctrl-shift-6 Abort Action
-No ip domain-lookup Removes domain lookup
of commands
-Enable secret Enables password Sets PASSWORD as
PASSWORD password to get global
config
-Banner motd MESSAGE Sets Message Of The All input between
Day delimiter incl new lines
until delimiter met
again. Delimiter is first
character.
Conf ENTER ENTER Same as configure
Conf t terminal
-Line console 0 Line=physical port
-Line con 0 Console= type of port
0=port number
--password PASSWORD Sets password on above
chosen
--login Login=require password
to enter
--exec-timeout XX Auto timeout/logout in
XX minutes
--logging synchronous Always create new
prompt on exit
Copy Running-config Copies changes from Wr is same command
startup-config ram to non-volatile shortened (Write)
wr ram(storage)
-Line vty X XX Select port(s) /range X Must be done after
XX enable and conf
commands. Allows
enabling password, login
etc on all ports for
remote access to switch
-interface vlan X Select vlan X
-Ip address Sets ip to
XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX and
yyy.yyy.yyy.yyy sub to yyy.yyy.yyy.yyy
-description ONE line of description
-no shutdown Set interface to UP Opens interface for use
-shutdown Set interfacve to DOWN Closes interface for use
Ip default-gateway Set gateway to Must be set to enable
XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX non-local remoting.
Gateway is for entire
switch. Not interface or
port.
Show running-config Shows RUNNING
configuration from RAM
Service password- Obscures plaintext
encryption passwords
Show startup-config Shows STORED/SAVED
config
Show ip interface brief Shgows interfaces and
their ips. Brief gives a
brief info
Erase startup-config Sets STORED/SAVED
config to factory default
Reload Restarts switch
Clock set 14:09:00 Sets date and time as
September 11 2024 specified