Cisco
Basic Cisco Commands
Nov 10th
Followings are the basic Cisco commands related to manage and configure the router.
Enter privileged mode
Enable
Return to user mode from privileged
disable
Exit Router
Logout or exit or quit
Recall last command
up arrow or <Ctrl-P>
Recall next command
down arrow or <Ctrl-N>
Suspend or abort
<Shift> and <Ctrl> and 6 then x
Refresh screen output
<Ctrl-R>
Complete Command
TAB
View version information
show version
View current configuration (DRAM)
show running-config
View startup configuration (NVRAM)
show startup-config
Show IOS file and flash space
show flash
Shows all logs that the router has in its memory
show log
View the interface status of interface e0
show interface e0
Overview all interfaces on the router
show ip interfaces brief
View type of serial cable on s0
show controllers 0 (note the space between the ’s’ and the ‘0′)
Display a summary of connected cdp devices
show cdp neighbor
Display detailed information on all devices
show cdp entry *
Display current routing protocols
show ip protocols
Display IP routing table
show ip route
Display access lists, this includes the number of displayed matches
show access-lists
Check the router can see the ISDN switch
show isdn status
Check a Frame Relay PVC connections
show frame-relay pvc
show lmi traffic stats
show frame-relay lmi
Display the frame inverse ARP table
show frame-relay map
Set a console password to cisco
Router(config)#line con 0
Router(config-line)#login
Router(config-line)#password cisco
Set a telnet password
Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password cisco
Stop console timing out
Router(config)#line con 0
Router(config-line)#exec-timeout 0 0
Set the enable password to cisco
Router(config)#enable password cisco
Set the enable secret password to wahid (This password overrides the enable password and is encypted within the config file)
Router(config)#enable secret peter
Enable an interface
Router(config-if)#no shutdown
To disable an interface
Router(config-if)#shutdown
Set the clock rate for a router with a DCE cable to 64K
Router(config-if)clock rate 64000
Set a logical bandwidth assignment of 64K to the serial interface
Router(config-if)bandwidth 64
(Note that the zeroes are not missing)
To add an IP address to a interface
Router(config-if)#ip addr 192.168.2.1 255.255.255.0
To enable RIP on all 10.1.x.y interfaces
Router(config)#router rip
Router(config-router)#network 10.1.0.0
Disable RIP
Router(config)#no router rip
To enable IRGP with a AS of 200, to all interfaces
Router(config)#router igrp 200
Router(config-router)#network 172.16.0.0
Disable IGRP
Router(config)#no router igrp 200
Static route of the remote network is 10.1.1.0, with a mask of 255.255.255.0, the next hop is 10.1.2.1, at a cost of 5 hops
Router(config)#ip route 10.1.1.0 255.255.255.0 10.1.2.1 5
Disable CDP for the whole router
Router(config)#no cdp run
Enable CDP for he whole router
Router(config)#cdp run
Disable CDP on an interface
Router(config-if)#no cdp enable
Cisco..a name in the Networking World
Nov 5th
Hi Everyone,
Hope you all are doing good. I know every network admin dream to grab the word Cisco to retain in the world of networking. I don’t think in today any organisation can think without Cisco in their IT infrastructure. Network means Cisco one or the other way.
So I have taken the initiative to help you in any Cisco matters that you may have. Please post your Cisco related questions and comment in this section. I would like to answer and provide as much assistant as possible to you.
Let us make one IT world.
Regards,
Wahid
Recent Comments