BASIC ROUTER CLI
telnet to router by rollover cable / rollover cable with Telnet/Putty
>en
#conf t
(confg)#banner motd #xxxxxxx#
==============================================================================
(confg)#enable secret class
(confg)#line con 0
(confg-line)#password cisco
(confg-line)#login
(confg-line)#exit
===============================================================
(confg)#line vty 0 4
(confg)#privilege level 15====enable telnet direct to privilege mode
(confg-line)#password cisco
(confg-line)#login
(confg-line)#exit
================================================================
(confg)#int fa
0/0 ====shortcut for interface fastethernet or int serial.
(confg-if)#ip address [Link] [Link]
(confg-if)#desp xxxxxxxxxxxxxxx ====must describe the int
(confg-if)#no shut
================================================================
(confg-if)#exit
(confg)#exit
Or ctrl z or end
#copy ru con =========or ===== wr or wri
#sh ru confg ====or =======sh ru
Switch VLAN setup
en
Switch>
conf t
Switch#
int vlan 1
Switch(confg)#
ip add [Link]
Switch(confg-if)#
Switch(config-if)#
no shut
exit x2 or ctrl z
Switch(config-if)#
ip default gateway [Link] ===same as host / router fa0/0
Switch(config)#
Switch(config)#ext x2 or
wr====save
Switch#
ctrl z