All about Router

FREQUENT

Home | Explaination | Cisco Router Hardware | Router Configuration | Router Working | IOS - A | IOS-B | IOS-C | STP | VLAN | Layer 2 Switching | Last Minute Revision - CCNA IOS | ISDN | IPX | IP Addressing | FREQUENT | Subnet | Router Configuration | LMR-CCNA | Cisco Secret | Cisco IOS Basic Commands | Glossary | Working | Switch Working | OSI | VPN | Firewalls | NAT

Router commands

Usermode Commands

Sl. No.

Command

Comments, if any.

1

disconnect

 Terminates the suspended telnet session and then logout it.

2

enable

 

3

ping <host-name>

 Used to tests the connectivity.It uses ICMP to initiate the connection.

4

ping <ip-address>

 

5

traceroute <hostname>

 Lists all routers along path to destination and finds the routing problems if any.

6

traceroute <ip-address>

 

 

Privilegemode Commands

Sl. No.

Command

Comments, if any.

1

clear arp-cache

 

2

configure terminal

 Allows to execute commands that change the router's configuration.

3

copy running-config startup-config

 It saves the active configuration of the router.

4

copy startup-config running-config

 

5

debug ip packet 

 

6

disable 

 Returns to the UserEXEC mode from Privilege mode.

7

disconnect <TELNET_ID>

 

8

erase startup-config

 Deletes all the configuration files present on a router.

9

logout 

 It exits router from the user or privilege mode.

10

ping <host-name>

 Used to tests the connectivity.It uses ICMP to initiate the connection.

11

ping <ip-address>

 

12

reload

 

13

resume <TELNET_ID>

 

14

show access-list 

 Displays all accesslists from all protocols present in a specified router.

15

show banner 

 

16

show cdp  

 Shows the status of CDP such as holdtime value,no.of packets for every 60sec.

17

show cdp interface  

 It tells the CDP configuration on an interface-by-interface basis.

18

show cdp neighbor 

 

19

show cdp traffic 

 

20

show clock 

 

21

show flash 

 Used to view all IOS images and file stored in flash(Default location of IOS images is in flash).

22

show frame-relay lmi 

 Shows the detailed statistics regarding LMI.

23

show frame-relay map 

 

24

show frame-relay pvc <dlci_num> 

 Shows all the frame relay PVC's terminated and their statistics at a specified router.

25

show history

 Shows the previously executed commands.IOS device stores the last ten commands that are executed.

26

show hosts

 

27

show interfaces

 To view interfaces,status,and statistics for an interface.If u don't lists a specific interface,all of the interfaces on the router are listed.

28

show interfaces ethernet 0

 

29

show interfaces loopback 0

 

30

show interfaces serial 0

 displays the lmi type that is being used and also sme LMI statisstics.

31

show ip arp

 

32

show ip eigrp neighbors

 Shows the list of eigrp neighbors that a specified router has.

33

show ip eigrp neighbors detail

 

34

show ip eigrp topology

 Displays the list of successor and feasible successors,as well as other types of routes.

35

show ip eigrp traffic

 It shows the information about trafiic statistics for eigrp

36

show ip interface

 

37

show ip interface brief

 Verifies the IP configuration.

38

show ip ospf database

 

39

show ip ospf interface

 

40

show ip ospf neighbor detail 

 

41

show ip route

 Verifies the configurationof static and default routes on a router.

42

show protocols

 Displays the routing protocols that have been configured and running on a specified router.

43

show running-config

 

44

show sessions

 shows the telnet sessions that are currently suspended.

45

show startup-config 

 

46

show version 

 Display version information for the hardware and firmware.

47

telnet <host-name>

 

48

telnet <IP-address>

 

49

traceroute <hostname>

 

50

traceroute <ip-address>

 Lists all routers along path to destination and finds the routing problems if any.

51

vlan database

 Used to access all VLAN and VTP configuration.

52

write erase

 

53

write memory

 

54

write terminal

 

 

 

Global configuration mode Commands

Sl. No.

Command

Comments, if any.

1

access-list <list-num> {permit | deny} <source-ip-address> 

Only standard access list of the format given is supported.

2

access-list <list-num> {permit | deny} <any>

 

3

access-list <list-num> {permit | deny} <ip-address> <ip-address>

 

4

access-list <list-num> {permit | deny} <host-name> <ip-addre

-------Jagdeep Yadav