0% found this document useful (0 votes)
9 views3 pages

Script Class LAB (19-4-2024)

The document describes the configuration of two routers, Router-A and Router-B. It configures IP addresses, routes, SSH, passwords, and interfaces on each router and connects them via a serial interface. Banners are also configured on each router.

Uploaded by

Tamoor Baig
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Script Class LAB (19-4-2024)

The document describes the configuration of two routers, Router-A and Router-B. It configures IP addresses, routes, SSH, passwords, and interfaces on each router and connects them via a serial interface. Banners are also configured on each router.

Uploaded by

Tamoor Baig
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

----------------------- 2-Router ---------------------------

-------------------------------- Router-A Config ----------------------------------

en
conf t
hostname Router-A
clock timezone PST 5

banner motd #
----------------------------- Hello! Wellcome-To Router-A Topology
----------------------
==>>> Just Below User Access the Network.
1) admin
-----------------------------------------------------------------------------------
-#

banner login #
===>>> Just Valid User Login Now! ---
#

!----------------->>>>>>>>>> User-Configuration.

username admin privilege 15 password cisco

enable secret cisco

!------------------------- Line Console 0- Configuration.

line cons 0
password cisco
login local
do wr
exit

!------------------------ Line VTY Configuration.

line vty 0 4
password cisco
login local
transport input ssh
do wr
exit

!-------------------------- >>> Interface FastEthernet0/0

int fa0/0
no shutdown
desc ====>>>> Router-A LAN Network.
ip address 192.168.1.1 255.255.255.0
ipv6 enable
ipv6 address fd01::1/64
do wr
exit

!---------------------------- >>> Interface Serial 0/0/0

int ser0/0/0
no shutdown
keepalive 10
encap hdlc
clock rate 4000000
desc ====>>>Router-B Connected Port.
ip address 1.1.1.1 255.0.0.0
ipv6 enable
ipv6 address 2001::1/64
do wr
exit

!---------------------------- >>> IP-Route on Router-A

ip route 192.168.2.0 255.255.255.0 ser0/0/0


do wr

!----------------->>>>>>>>>> Configuring SSH of Router-A

ip domain-name corvit.com
cry key gen rsa

-------------------------------- Router-B Config ----------------------------------

en
conf t
hostname Router-B
clock timezone PST 5

banner motd #
----------------------------- Hello! Wellcome-To Router-B Topology
----------------------
==>>> Just Below User Access the Network.
1) admin
-----------------------------------------------------------------------------------
-#

banner login #
===>>> Just Valid User Login Now! ---
#

!----------------->>>>>>>>>> User-Configuration.

username admin privilege 15 password cisco

enable secret cisco

!------------------------- Line Console 0- Configuration.

line cons 0
password cisco
login local
do wr
exit
s
!------------------------ Line VTY Configuration.

line vty 0 4
password cisco
transport input ssh
login local
do wr
exit

!-------------------------- >>> Interface FastEthernet0/0

int fa0/0
no shutdown
desc ====>>>> Router-B LAN Network.
ip address 192.168.2.1 255.255.255.0
ipv6 enable
ipv6 address fd02::1/64
do wr
exit

!---------------------------- >>> Interface Serial 0/0/0

int ser0/0/0
no shutdown
keepalive 10
encap hdlc
clock rate 4000000
desc ====>>>> Router-C Connected Port.
ip address 1.1.1.2 255.0.0.0
ipv6 enable
ipv6 address 2002::1/64
do wr
exit

!---------------------------- >>> IP-Route on Router-B

ip route 192.168.1.0 255.255.255.0 ser0/0/0


do wr

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy