You are on page 1of 6

Router

Basic User Mode


>
en
ping
traceroute

ROMMON

Boot User Mode

CDP,LLDP,Telnet,sUser Mode
cdp

Page 1
Router

lldp

telnet

Name Resolution

DNS Server

ssh

IP Routing User Mode

RIP and IGRP Config router


RIP config-router
network 192.168.1.0
version 2

IGRP network 192.168.1.0

EIGRP Config router


network 192.168.1.0
variance 2

OSPF Config router


network IP_Address Wildcard_Mask Area_ID

Network 192.168.0.0 0.0.0.255 area 0


Router-id 3.3.3.3

Page 2
Router
Privilege Mode Config Mode
# (config)
config config-line,config-int
ping en password cisco@123
traceroute en secret cisco@12334
sh ip int brief hostname andheri
line console0
sh int gigabiteth0/0
sh int serial0/0 line aux0
sh int fa0/0
sh running-config
sh startup-config
copy running -config tftp
copy startup-config tftp
copy running-config startup-config
erase startup-config
reload
service password-encyption
no service password-encyption
clock set hh:mm:ss dd dec yyyy
sh clock
sh run
sh start
copy run start
copy run tftp
copy tftp run
sh flash
copy flash tftp
copy tftp flash

IP_Address
IP_subnet_mask
Default_gateway
TFTP Server
TFTP file
TFTP checksum
tftpdnld

Privilege Mode Config Mode


sh ver config-register 0x2101
boot system flash filename
boot system tftp filename
boot system rom
do show run | include boot system

Privilege Mode Config Mode


sh cdp cdp run
sh cdp entry router cdp timer 90
sh cdp neighbours detail cdp holdtime 240
sh cdp traffic

Page 3
Router
sh cdp int0/0

sh lldp lldp run


sh lldp neighbours detail

192.168.1.1 line vty 0 1180


Use Cntrl+shift+6 press X
sh users
sh session
disconnect connection number

sh hosts ip host Router1 23 192.168.1.1


Name servers—255.255.255.255

ip domain-lookup
ip name-server 192.168.1.20
ip domain-name cms.com
ip no domain-lookup

crypto key generate rsa


ip ssh time-out 60
ip ssh authentication-retries 2

Privilege Mode Config Mode


sh ip route ip route 192.168.1.1 255.255.255.0 192.168.1.2
ip route 192.168.1.1 255.255.255.0 serial0/0
ip route 192.168.1.1 255.255.255.0 exampleroute 1 254

Privilege Mode Config Mode

debug ip rip router rip


sh ip route

sh ip route router igrp AS

Privilege Mode Config Mode


sh ip eigrp topology 192.168.0.1 255.255.255.0 router eigrp ASN
sh ip eigrp neighbours
sh ip route
sh ip route eigrp
debug eigrp packets
debug ip eigrp notification

Privilege Mode Config Mode


router ospf <process-id>
router ospf 1
sh ip ospf neighbour
sh ip route

Page 4
Router
Line Mode Interface Mode
(config-line) (config-interface)
int ip address 192.168.1.1 255.255.255.0
clock rate 64000
sh controllers serial0/0
no shutdown
password cisco0 shutdown
login
password aux0
login

Line Mode Interface Mode

Line Mode Interface Mode


no cdp enable

Page 5
Router

lldp transmit
lldp recieve
no lldp transmit
no lldp recieve

password tel@123
login

transport input ssh telnet

Line Mode Interface Mode

exampleroute 1 254

Line Mode Interface Mode

Line Mode Interface Mode

Line Mode Interface Mode

Page 6

You might also like