Sunday, June 14, 2009

Cisco Rotuers commands

show running-config : View current configuration (DRAM)
show startup-config : View startup configuration (NVRAM)
copy running-config startup-config or Write : Save the current configuration from DRAM to NVRAM

copy runing-config tftp : Copy DRAM configuration to a TFTP server (To take backup)
(need to give TFTP server IP address)


show logging : Shows all logs that the router has in its memory

show version : View version information & uptime …


# Configure-terminal: - By issuing this command we can enter into the configuration mode.
Show process cpu: displays the Cpu utilization of the router



Interface.

(Config)#interface :- By issuing this command we can enter into the interface configuration mode and can configure the specified interface.

(Config-if)#ip address :- We can assign an ip address to the specified interface from this command.
(Config-if)#description :- By entering this command we can add the description on the interface.
(Config-if)#shutdown: - This command will shut the selected interface.
(Config-if)#no shutdown: - This command will un shut the selected interface.

show ip interfaces brief : Overview all interfaces on the router

show interface e0 : View the interface status of interface e0



Routing

(Config)#ip route :- By this command we can add a static route

show ip route : Display IP routing table

Ex: show ip route 1.1.1.1(IP): Display route from IP routing table for 1.1.1.1

traceroute ip : show the all hops(routing) between source 7 destination IP




Multilink

show ppp multilink : displays all the multilinks in the router & participating interfaces

show interface multilink 1(multilink no.): displays the multilink traffic & counters


Extended ping

ping ip source repeat


Ex: ping ip 202.144.8.11 source 192.192.16.5 repeat 100

Access lists

show access-lists : Display access lists, this includes the number of displayed matches

EX:show ip access-lists 100 : Display access list 100 including the number of displayed matches










IP Accouting

router(config-if)# ip accounting output-packets : enables IP Accounting (Layer 3) for output traffic on the
interface.
show ip accounting [checkpoint] output-packets : displays the active accounting or checkpoint database


router# clear ip accounting : copies the content of the active database to the checkpoint database and clears the
active database afterward.

0 comments: