ACL-TELNET-BLOCK
ROUTER-R0
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#conf
Configuring from terminal, memory, or network [terminal]?
Router(config)#int f0/0
Router(config-if)#ip add 192.168.0.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int s1/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to down
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.0.0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
ROUTER-R1
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf
Configuring from terminal, memory, or network [terminal]?
Router(config)#int f0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config)# exit
Router(config)#int s1/0
Router(config-if)#ip add 10.0.0.2 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to down
Router(config-if)#exit
Router(config)#int s1/1
Router(config-if)#ip add 20.0.0.2 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#EXIT
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.1.0
Router(config-router)#network 20.0.0.0
Router(config-router)#exit
Router(config)#access-list 10 permit 192.168.2.2
Router(config)#line vty 0 4
Router(config-line)#password telnet
Router(config-line)#login
Router(config-line)#access-class 10 in
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
ROUTER-2
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf
Configuring from terminal, memory, or network [terminal]?
Router(config)#int f0/0
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int s1/0
Router(config-if)#ip add 20.0.0.2 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config)#exit
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#network 192.168.2.0
Router(config-router)#network 20.0.0.0
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Add a comment