Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 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