CCNA 1 Router & Switch Configuration Commands
CCNA 1 Router & Switch Configuration Commands
RTA (config)# end { goes back to the privilege EXEC mode; same as Ctrl-z or Ctrl-c }
CCNA Switch Commands
1) Delete an existing Switch configuration:
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] {Depress Enter key to confirm}
[OK] Erase of nvram: complete
Switch# delete vlan.dat
delete filename [vlan.dat] {Hit Enter to confirm}
delete flash:/ vlan.dat [confirm] {Hit Enter to confirm}
Switch#reload
System configuration has been modified. Save? [yes/no]:no
Proceed with reload? [confirm] {Hit Enter to confirm}
2) Name the Switch:
Switch> {User EXEC Mode}
Switch>enable {Responds with the password to enter the Privilege Mode, if one has been set}
Switch# {Privilege EXEC Mode}
Switch#configure terminal {Used to access global configuration mode}
Switch(config)#hostname SwA
SwA(config)#no ip domain lookup {Stops DNS look up interruptions while configuring the router}
3) Configure your user EXEC mode line passwords (Important: all line passwords are created in clear text) :
SwA(config)# line console 0 {Inbound Console access}
SwA(config-line)#password cisco {Sets the case sensitive password to cisco}
SwA(config-line)#login
SwA(config-line)#logging synchronous{Stops Console messages while configuring the router }
4) Configure your user EXEC mode line passwords (Important: all line passwords are created in clear text) :
SwA(config)# line vty 0 15 {Telnet access}
SwA(config-line)#password class {Sets the case sensitive password to class}
SwA(config-line)#login
SwA(config-line)#service password-encryption {Sets Cisco type 7 encryption on all type 0 passwords}
5) Set the Privilege EXEC mode passwords:
SwA (config)#enable password cisco {Password remains in clear text or type 0 encryption
SwA (config)#enable secret class {Type 5 encryption; overrides the enable password command}
6) Configure the Management VLAN interface for remote management:
SwA (config)# interface vlan 1
SwA (config-if)# ip address 192.168.1.2 255.255.255.248 Subnet Mask using 29 bit Mask
SwA (config-if)# no shutdown { enables the Switched Virtual Interface (SVI) }
7) Set a remote management Gateway:
SwA (config)#ip default-gateway 192.168.1.1 { Acts similar to a PC gateway for remote Mgmt }