Working Modes Of a Router
1. USER MODE
2. PRIVILEGE MODE
The “Clock” Command
The clock
command is used to set the clock of the Router.
Syntax.
Router#
clock set hh:mm: ss Day of week
Month Year
E.g.
Router# clock set 10:35:00 1 April 2023
Some of the important show commands in privileged mode
Router# Sh
clock
Sh int (interface name eg e0)
Sh history
Sh memory
Sh running-config
Sh startup-config
To save configuration from RAM TO NVRAM
Router# Copy
Running-config Startup-config
(or)
Router# Write Memory
3. Global Configuration Mode
As the name
indicates, it is a global configuration mode I,e. we can configure any
interface from this mode, just by entering into the interface mode.
To configure Hostname (or) Change of Router name over the network.
Router# conf
t
Router (config)
# Hostname Tosif {Press Enter Key}
Tosif (config)
# ^Z
To configure the Logging banner.
Router# conf
t
Router (config)#Banner Motd # {Press Enter Key}
=================================
UNAUTHORIZED
ACCESS IS PROHIBITED #
=================================
Router (config)#^Z
Router login/Password Configuration
- Previlege Password
- Virtual Terminal Password
- Console Password.
- Auxillary Password
1. PREVILEGE Password
Enable
Secret: - Here the password is in encrypted (MD5) form.
Router (config) #Enable secret Cisco
2. Virtual Terminal Password
Router (config)
# Line vty 0 4
Router (config-line)
# Login
Router (config-line)
# password Cisco
Router (config-line)
# ^Z
3. Console Password
Router #conf
t
Router (config)
#Line Console 0
Router (config-line)
#Login
Router (config-line)
#Password Cisco
Router (config-line)
#^Z
4. Auxiliary Password
Router# conf t {Press Enter Key}
Router (config)
#Line Aux 0
Router (config-line)
#Login
Router (config-line)
#Password Cisco
Router (config-line)
#^Z
How To Use Aliases Command on Cisco
How To Configure Interfaces
Router (config)
#Interface Ethernet 0
Router (config-if)
#ip Address 200.150.1.254 255.255.255.0
Router (config-if)
#description Link to Internet Router
Router (config-if)
#no shutdown
Router (config-if)
#^Z (Exit)
Router# Show
interface Ethernet0 / Int E0
Router (config-if) #Ip Address 150.10.1.1 255.255.0.0
Router (config-if) #description Link to HR Department Switch
Interpreting the Interface Status
Router#
show int s0
Serial0
is up, Line protocol is up. Is the message if the interface is operational.
Serial0
is up, Line protocol is down… This is if there is any connection problem.
Serial0
is down, Line protocol is down… This is if there is any interface problem.
Serial0
is administratively down, Line protocol is down….. This is if the interface is disabled.
Gigabitethernet0/1 is up, line protocol is up |
The “CDP”
(Cisco Discovery Protocol)
It is a
Cisco proprietary protocol called the Cisco Discovery Protocol that gives you
a summary of all the directly connected Cisco devices. CDP is an L2 protocol
that discovers neighbors regardless of which protocol suite they are running.
When a Cisco device boots up, the CDP is loaded by default but can be disabled
at the interface level.
* The
CDP is limited to the immediate neighbors only…
The summary
includes Device Identifier (e.g. Switch configured name or domain name), Port
Identifier (e.g. Ethernet 0 and serial 0.), Capabilities list (e.g. The device
can act as a source route bridge as well as a router), Platform (e.g. Cisco
2600).
Router# sh
cdp neighbor (shows neighboring devices)
Router# sh
cdp entry 192.168.10.1 (shows detailed information about this particular
neighbor.)
Router# sh
cdp interface (shows the details of the interface of the local deceive.)
Router# sh
cdp traffic (shows the packet sent, received, lost, etc.)
To Disable CDP…,
Router (config)
#no cdp run
Router (config)
#int s0
Router (config-if)
#no cdp enable
Cisco Discovery Protocol |
Connected Cisco Devices Using CDP Command |
Backup & Restoring Routers IOS Image
Using TFTP (Trivial File Transfer Protocol)
TFTP Server
allows you to take backup, upload and save your IOS Image and current
configuration on it. TFTP is a software
program of 1.3 MB. This should be installed on that TFTP server i.e., (Personnel
Computer).
C:\Program
files\cisco systems\cisco TFTP
Backup of IOS Image
===============================================
Steps-
Router#copy flash: tftp
Source filename []? { Name of IOS Image }
Address or name of remote host []? { IP Address of the TFTP server }
Destination filename { Where you want to save your IOS Image }
Done
=================================================
Router# sh flash:
System flash directory:
File Length
Name/status
3 33591768
c2900-universalk9-mz.SPA.151-4.M4.bin (IOS Image)
2 28282
sigdef-category.xml
1 227537
sigdef-default.xml
[33847587 bytes used, 221896413 available, 255744000 total]
249856K bytes of processor board System flash (Read/Write)
IOS Image Backup Lab
Backup of Configuration
Router# Copy
Startup-config Tftp
Address or
name of the remote host [ ]? (Ip address of tftp)
Destination
file name [ ]? (Give a name)
Upgrading IOS Image
Leased line WAN Setup
Requirements
Pair of G.703 Modem.
Case 2: The distance between the two locations is less than 5 km.
Requirements
Leased Line Setup(> 5K.M.)
Leased Line Setup(< 5K.M.) |
One of the best website i have visited related to Router &Switching basic(network). Nice information, keep updating us with this type of knowledge.
ReplyDelete