Professional Documents
Culture Documents
Project
Project
Project
Submitted by : Adithyan.K.Anil
1
SI.No TOPICS Pg.No
1 ABSTRACT 3
2 BASIC CONFIGURATION:
Username and Password 4
Time
Banner
3 RIP CONFIGURATION 5
4 DHCP 6-7
5 ETHER CHANNEL 8
6 VLAN 9
7 VTP 10
9 CONCLUSION 13
2
ABSTRACT
3
● Username & Password:
To setup a local username and password on a Cisco router in order to
authenticate when connecting to the device for management purposes. The same
principles apply also to other Cisco devices such as switches, firewalls etc.
Syntax:
Router>enable
Router# configure terminal
Router(config)#username networkz password admin
● Time:
System time configuration is of great importance in a network. Synchronized
system clocks provide a frame of reference between all devices on the network.
Network time synchronization is critical because every aspect of managing,
securing, planning, and debugging a network involves determining when events
occur. Without synchronized clocks, accurately correlating log files between
devices when tracking security breaches or network usage is impossible.
Syntax:
Router>enable
Router# configure terminal
Router(config)#clock set [hh:mm:ss] [month] [day] [year]
To view clock details use the command
Router(config)#do show clock detail
● Banner:
A banner is a message presented to a user who is using the Cisco switch. Based
on the type of banner you configured for use, the message will be shown to
users of Cisco switch.
Syntax:
Router>enable
Router# configure terminal
Router(config)#banner motd #Welcome to Networkz systems #
4
RIP CONFIGURATION
RIP is a very simple routing protocol and its configuration is pretty straight
forward. You just need to enable RIP on the router and define which network
to advertise. Here is how it is done: (config) router rip – enables RIP on the
device. (config-router) version 2 – specifies that the version 2 of the protocol
will be used.
ROUTER R0
Router>enable
Router#config t
Router(config)#int gig0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int gig0/1
Router(config-if)#ip add 10.1.1.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Router(config-if)#ex
Router(config)#int gig0/0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
5
● DHCP Servers
Router>enable
Router#config terminal
Router(config)#int gig0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
3. Configure DHCP server on the Router. In the server we will define a DHCP
pool of IP addresses to be assigned to hosts, a Default gateway for the LAN and
a DNS Server.
6
4. Now go to every PC and on their IP configuration tabs, enable DHCP. Every
PC should be able to obtain an IP address, default gateway and DNS server, as
defined in step 2.
For example, to enable DHCP on PC1:
Click PC1->Desktop->IP configuration. Then enable DHCP:
Do this for the other PCs.
You can test the configuration by pinging PC2 from PC1. Ping should succeed.
7
● ETHERCHANNEL
Ether Channel allows multiple physical Ethernet links to be combined into one
logical link. If a segment within an Ether Channel fails, traffic previously
carried over the failed link switches to the remaining segments within the Ether
Channel. Thus, Ether Channel provides automatic recovery for the loss of a link
by redistributing the load across the remaining links.
Topology:
Switch 1:
Switch(config)# interface range gigabit Ethernet 0/2-4
Switch(config-if)#switchport mode access
Switch(config-if)# channel-group 1 mode active
Switch(config-if)# end
Switch 2:
Switch(config)# interface range gigabit Ethernet 0/1-2
Switch(config-if)#switchport mode access
Switch(config-if)# channel-group 1 mode passive
Switch(config-if)# end
8
● VLAN:
A Virtual LAN (VLAN) is simply a logical LAN, just as its name suggests.
VLANs have similar characteristics with those of physical LANs, only that with
VLANs, you can logically group hosts even if they are physically located on
separate LAN segments.
Switch#config terminal
Switch(config)#vlan 10
Switch(config-vlan)#name abc
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name ad
Switch(config-vlan)#exit
Switch(config)#int fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config-if)#int g0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
9
VTP:
10
TELNET and SSH:
● SSH:
Secure Shell or SSH is a secure protocol and the replacement for Telnet and
other
insecure remote shell protocols. So for secure communication between network
devices.
Configure SSH on Cisco routers and switches:
Router>enable
Router>configure terminal
Router(config)#ip domain-name Networkz
11
Router(config)#username networkz Password admin
Router(config)#crypto key generate rsa
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable…[OK]
Router(config)#line vty 0 10
Router(config-line)#transport input ssh
Router(config-line)#login local
Router(config-line)#ip ssh version 2
Router(config-line)#exit
Router(config)#do wr
12
CONCLUSION
13