Вы находитесь на странице: 1из 35

RT2#conf t

Enter configuration commands, one per line. End with CNTL/Z.


RT2(config)#no ip nat inside source static 10.11.4.1 5.5.5.5
RT2(config)# ip nat inside source static 10.11.4.2 5.5.5.5
RT2(config)#
RT2(config)#exit
RT2#
Apr 17 09:03:19.487: %SYS-5-CONFIG_I: Configured from console by console
RT2#
RT2#sh ip nat tr
RT2#sh ip nat translations
Pro Inside global Inside local Outside local Outside global
--- 5.5.5.5 10.11.4.2 --- ---
RT2#sh rub
^
% Invalid input detected at '^' marker.

RT2#sh run
Building configuration...

Current configuration : 1935 bytes


!
! Last configuration change at 09:03:19 UTC Wed Apr 17 2019
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source static 10.11.4.2 5.5.5.5
!
!
!
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)# no ip nat inside source static 10.11.4.2 5.5.5.5
RT2(config)#
RT2(config)# ip nat inside source static 10.11.2.4 5.5.5.5
RT2(config)#exit
RT2#sh rub
Apr 17 09:06:46.827: %SYS-5-CONFIG_I: Configured from console by cconf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#exit
RT2#s
Apr 17 09:06:55.139: %SYS-5-CONFIG_I: Configured from console by consolehow
% Type "show ?" for a list of subcommands
RT2#show ip nat tra
RT2#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 5.5.5.5:1 10.11.2.4:1 11.11.16.11:1 11.11.16.11:1
icmp 5.5.5.5:2690 10.11.2.4:2690 11.11.16.11:2690 11.11.16.11:2690
udp 5.5.5.5:51575 10.11.2.4:51575 11.11.16.11:53 11.11.16.11:53
udp 5.5.5.5:55232 10.11.2.4:55232 11.11.16.11:53 11.11.16.11:53
udp 5.5.5.5:55921 10.11.2.4:55921 11.11.16.11:53 11.11.16.11:53
udp 5.5.5.5:58614 10.11.2.4:58614 11.11.16.11:53 11.11.16.11:53
udp 5.5.5.5:58735 10.11.2.4:58735 11.11.16.11:53 11.11.16.11:53
udp 5.5.5.5:60344 10.11.2.4:60344 11.11.16.11:53 11.11.16.11:53
--- 5.5.5.5 10.11.2.4 --- ---
RT2#sho
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#no ip nat inside source static 10.11.2.4 5.5.5.5

Static entry in use, do you want to delete child entries? [no]:


%: Error: static entry in use, cannot remove
RT2(config)#no ip nat inside source static 10.11.2.4 5.5.5.5

Static entry in use, do you want to delete child entries? [no]: yes
RT2(config)#
RT2(config)#access-list 1 permit 10.11.2.0 0.0.1.255
RT2(config)#ip nat inside source list 1 interface Serial0/0/0 overload
RT2(config)#ip nat inside source list 1 interface Serial0/0/1 overload
%Dynamic mapping in use, cannot change
RT2(config)#
RT2(config)#no ip nat inside source list 1 interface Serial0/0/0 overload

Dynamic mapping in use, do you want to delete all entries? [no]: yes
RT2(config)#no ip nat inside source list 1 interface Serial0/0/1 overload
%Dynamic mapping not found
RT2(config)#ip nat outside source list 1 interface Serial0/0/0 overload
RT2(config)#
RT2(config)#exit
RT2#
Apr 17 09:23:46.455: %SYS-5-CONFIG_I: Configured from console by consolesh
RT2#show ip
% Incomplete command.

RT2#sh
RT2#show ip
RT2#show ip na
RT2#show ip nat tra
RT2#show ip nat translations
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#no ip nat outside source list 1 interface Serial0/0/0 overload
RT2(config)# ip nat inside source list 1 interface Serial0/0/0 overload
RT2(config)#
RT2(config)#exit
RT2#
Apr 17 09:25:07.839: %SYS-5-CONFIG_I: Configured from console by console
RT2#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 11.11.51.38:1 10.11.2.4:1 11.11.16.11:1 11.11.16.11:1
tcp 11.11.51.38:1652 10.11.2.4:1652 11.11.16.11:80 11.11.16.11:80
tcp 11.11.51.38:1653 10.11.2.4:1653 11.11.16.11:80 11.11.16.11:80
udp 11.11.51.38:50785 10.11.2.4:50785 11.11.16.11:53 11.11.16.11:53
udp 11.11.51.38:53162 10.11.2.4:53162 11.11.16.11:53 11.11.16.11:53
udp 11.11.51.38:54501 10.11.2.4:54501 11.11.16.11:53 11.11.16.11:53
udp 11.11.51.38:55433 10.11.2.4:55433 11.11.16.11:53 11.11.16.11:53
udp 11.11.51.38:62293 10.11.2.4:62293 11.11.16.11:53 11.11.16.11:53
RT2#ssh -l ssh 10.11.2.1
Password:
Solo Personal Autorizado!!
SW2>en
Password:
SW2#sh
SW2#show
SW2#show in
SW2#show int
SW2#show interfaces bri
SW2#show interfaces bri
SW2#show interfaces bri
SW2#show ip interfaces bri
SW2#show ip interfaces bri
SW2#show ip interfaces bri
SW2#show ip interfaces bri
^
% Invalid input detected at '^' marker.

SW2#show ip int
SW2#show ip interface br
SW2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset up down
Vlan10 10.11.2.1 YES manual up up
FastEthernet0/1 10.11.4.2 YES manual up up
FastEthernet0/2 unassigned YES unset up up
FastEthernet0/3 unassigned YES unset down down
FastEthernet0/4 unassigned YES unset down down
FastEthernet0/5 unassigned YES unset down down
FastEthernet0/6 unassigned YES unset down down
FastEthernet0/7 unassigned YES unset down down
FastEthernet0/8 unassigned YES unset down down
FastEthernet0/9 unassigned YES unset down down
FastEthernet0/10 unassigned YES unset down down
FastEthernet0/11 unassigned YES unset down down
FastEthernet0/12 unassigned YES unset down down
FastEthernet0/13 unassigned YES unset down down
FastEthernet0/14 unassigned YES unset down down
FastEthernet0/15 unassigned YES unset down down
FastEthernet0/16 unassigned YES unset down down
FastEthernet0/17 unassigned YES unset down down
FastEthernet0/18 unassigned YES unset down down
FastEthernet0/19 unassigned YES unset down down
FastEthernet0/20 unassigned YES unset down down
FastEthernet0/21 unassigned YES unset down down
FastEthernet0/22 unassigned YES unset down down
FastEthernet0/23 unassigned YES unset down down
FastEthernet0/24 unassigned YES unset down down
GigabitEthernet0/1 unassigned YES unset down down
GigabitEthernet0/2 unassigned YES unset down down
Loopback5 10.11.0.1 YES manual up up
SW2#ssh -l ssh 10.11.4.1
Password:
Solo Personal Autorizado!!RT2>
RT2>en
Password:
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#
RT2(config)#
RT2(config)#
RT2(config)#
RT2(config)#
RT2(config)#^Z
RT2#
Apr 17 09:41:55.883: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)s
% Type "show ?" for a list of subcommands
RT2#show run
Building configuration...

Current configuration : 1996 bytes


!
! Last configuration change at 09:41:55 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface Serial0/0/0 overload
!
!
!
access-list 1 permit 10.11.2.0 0.0.1.255
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#
RT2#
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#ip nat pool redes 5.5.5.5
% Incomplete command.

RT2(config)#ip nat pool redes 5.5.5.5 ?


A.B.C.D End IP address

RT2(config)#ip nat pool redes 5.5.5.5 5.5.5.5


% Incomplete command.
RT2(config)#ip nat pool redes 5.5.5.5 5.5.5.5 ?
netmask Specify the network mask
prefix-length Specify the prefix length

RT2(config)#ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252


RT2(config)# no
% Incomplete command.

RT2(config)#access-list 1 permit 10.11.2.0 0.0.1.255


RT2(config)#no access-list 1 permit 10.11.2.0 0.0.1.255
RT2(config)#
RT2(config)#
RT2#
Apr 17 09:49:16.859: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#no ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252
RT2(config)#
RT2(config)#
RT2(config)#ip acc
RT2(config)#ip acces
RT2(config)#ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252
RT2(config)#ip acc
RT2(config)#ip acces
RT2(config)#ip access-list ext
RT2(config)#ip access-list extended ?
<100-199> Extended IP access-list number
<2000-2699> Extended IP access-list number (expanded range)
WORD Access-list name

RT2(config)#ip access-list extended NAT


RT2(config-ext-nacl)#permit ip 10.11.2.0 any
^
% Invalid input detected at '^' marker.

RT2(config-ext-nacl)#permit ip 10.11.2.0 0.0.1.255


% Incomplete command.

RT2(config-ext-nacl)#permit ip 10.11.2.0 0.0.1.255 any


RT2(config-ext-nacl)#permit ip 10.11.0.0 0.0.1.255 any
RT2(config-ext-nacl)#permit ip 10.11.4.0 0.0.0.3 any
RT2(config-ext-nacl)#exit
RT2(config)#ip n
RT2(config)#ip nat in
RT2(config)#ip nat inside sou
RT2(config)#ip nat inside source lis
RT2(config)#ip nat inside source list NAT
RT2(config)#ip nat inside source list NAT POOL redes
RT2(config)#^Z
RT2#
Apr 17 09:54:03.459: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)sh
% Type "show ?" for a list of subcommands
RT2#sh
RT2#show run
RT2#show running-config
Building configuration...
Current configuration : 2187 bytes
!
! Last configuration change at 09:54:03 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252
ip nat inside source list 1 interface Serial0/0/0 overload
ip nat inside source list NAT pool redes
!
ip access-list extended NAT
permit ip 10.11.2.0 0.0.1.255 any
permit ip 10.11.0.0 0.0.1.255 any
permit ip 10.11.4.0 0.0.0.3 any
!
!
!
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#
RT2#
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#no ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252
%Pool redes in use, cannot destroy
RT2(config)#
RT2(config)#no ip nat pool redes
%Pool redes in use, cannot destroy
RT2(config)#no ip nat inside source list NAT pool redes

Dynamic mapping in use, do you want to delete all entries? [no]: yes
RT2(config)#no ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252
RT2(config)#
RT2(config)#
RT2#
Apr 17 10:06:00.879: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)
RT2#ip access-list extended NAT
^
% Invalid input detected at '^' marker.

RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#ip access-list extended NAT
RT2(config-ext-nacl)#exit
RT2(config)#no ip access-list extended NAT
RT2(config)#
RT2(config)#ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252
RT2(config)#no ip nat pool redes 5.5.5.5 5.5.5.5 netmask 255.255.255.252
RT2(config)#
RT2(config)#ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.252
%Pool redes mask 255.255.255.252 too small; should be at least 255.255.255.248
%Start and end addresses on different subnets
RT2(config)#
RT2(config)#ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.252
%Pool redes mask 255.255.255.252 too small; should be at least 255.255.255.248
%Start and end addresses on different subnets
RT2(config)#ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
RT2(config)#
RT2(config)#no ip nat inside source list 1 interface Serial0/0/0 overload
RT2(config)#
RT2(config)#ip acces
RT2(config)#ip access-list LISTA ?
% Unrecognized command
RT2(config)#ip access-list LISTA
^
% Invalid input detected at '^' marker.

RT2(config)#ip access-list 7 ?
% Unrecognized command
RT2(config)#ip access-list 7
^
% Invalid input detected at '^' marker.

RT2(config)#ip access-list ?
extended Extended Access List
helper Access List acts on helper-address
log-update Control access list log updates
logging Control access list logging
resequence Resequence Access List
standard Standard Access List

RT2(config)#access-list permit 10.11.0.0 255.255.254.0


^
% Invalid input detected at '^' marker.

RT2(config)#access-list 7 permit 10.11.0.0 255.255.254.0


RT2(config)#ip nat in
RT2(config)#ip nat inside so
RT2(config)#ip nat inside source li
RT2(config)#ip nat inside source list 7 pool LISTA
RT2(config)#
RT2(config)#EXIT
RT2#
Apr 17 10:14:27.983: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)copy
RT2#copy ru
RT2#copy running-config st
RT2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
RT2#
RT2#sh
RT2#show run
RT2#show running-config
Building configuration...

Current configuration : 2103 bytes


!
! Last configuration change at 10:14:27 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:14:39 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug�&c{;Ks�
�kF
�{�V#��sf�&6�Ck
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#show running-config
Building configuration...

Current configuration : 2103 bytes


!
! Last configuration change at 10:14:27 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:14:39 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
ip nat inside source list 7 pool LISTA
!
!
!
access-list 7 permit 0.0.0.0 255.255.254.0
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#sh
RT2#show ru
% Ambiguous command: "show ru"
RT2#show run
Building configuration...

Current configuration : 2103 bytes


!
! Last configuration change at 10:14:27 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:14:39 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
ip nat inside source list 7 pool LISTA
!
!
!
access-list 7 permit 0.0.0.0 255.255.254.0
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#no access-list 7 permit 0.0.0.0 255.255.254.0
RT2(config)#no access-list 7 permit 0.0.0.0 255.255.254.0
RT2(config)#acc
RT2(config)#access-list 7 permi
RT2(config)#access-list 7 permit 10.11.0.0 255.255.248.0
RT2(config)#^Z
RT2#
Apr 17 10:19:08.611: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)
RT2#sh run
Building configuration...

Current configuration : 2103 bytes


!
! Last configuration change at 10:19:08 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:14:39 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
ip nat inside source list 7 pool LISTA
!
!
!
access-list 7 permit 0.0.0.0 255.255.248.0
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#sh
RT2#show ip nat
RT2#show ip nat t
RT2#show ip nat translations
RT2#show ip nat translations
RT2#show ip nat translations
RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#access-list 7 permit 0.0.0.0 255.255.248.0
RT2(config)#
RT2(config)#
RT2(config)#
RT2(config)#access-list 7 permit 10.11.0.0 0.0.7.255
RT2(config)#^Z
RT2#c
Apr 17 10:25:17.359: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)op
RT2#copy ru
RT2#copy running-config s
RT2#copy running-config st
RT2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
RT2#
RT2#
RT2#
RT2#sh ip nat tr
RT2#sh ip nat translations
RT2#sh ip nat translations
RT2#sh ip nat translations
RT2#sh ip nat translations
RT2#
RT2#sh run
Building configuration...

Current configuration : 2144 bytes


!
! Last configuration change at 10:25:17 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:25:27 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
ip nat inside source list 7 pool LISTA
!
!
!
access-list 7 permit 0.0.0.0 255.255.248.0
access-list 7 permit 10.11.0.0 0.0.7.255
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#no access-list 7 permit 0.0.0.0 255.255.248.0
RT2(config)#
RT2(config)#^Z
RT2#conf t
Apr 17 10:26:46.511: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.1sh run
Building configuration...

Current configuration : 2060 bytes


!
! Last configuration change at 10:26:46 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:25:27 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
ip nat inside source list 7 pool LISTA
!
!
!
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT2(config)#acc
RT2(config)#access-list 7 per
RT2(config)#access-list 7 permit 10.11.2.0 0.0.1.255
RT2(config)#access-list 7 permit 10.11.0.0 0.0.1.255
RT2(config)#access-list 7 permit 10.11.4.0 0.0.0.3
RT2(config)#exit
RT2#
Apr 17 10:28:56.763: %SYS-5-CONFIG_I: Configured from console by ssh on vty0
(10.11.4.2)
RT2#sh ip nat tra
RT2#sh ip nat translations
RT2#sh ip nat translations
RT2#sh ip nat translations
RT2#ping
Protocol [ip]:
Target IP address: 11.11.16.11
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 10.11.0.1
% Invalid source. Must use same-VRF IP address or full interface name without
spaces (e.g. Serial0/1)
Source address or interface:
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.11.16.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
RT2#sho ip nat tra
RT2#sho ip nat translations
RT2#sh run
Building configuration...

Current configuration : 2181 bytes


!
! Last configuration change at 10:28:56 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:25:27 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
ip nat inside source list 7 pool LISTA
!
!
!
access-list 7 permit 10.11.2.0 0.0.1.255
access-list 7 permit 10.11.0.0 0.0.1.255
access-list 7 permit 10.11.4.0 0.0.0.3
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end

RT2# sho ip rou


RT2# sho ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks


O 10.11.2.0/23 [110/2] via 10.11.4.2, 03:15:30, GigabitEthernet0/0
C 10.11.4.0/30 is directly connected, GigabitEthernet0/0
L 10.11.4.1/32 is directly connected, GigabitEthernet0/0
11.0.0.0/8 is variably subnetted, 12 subnets, 4 masks
O 11.11.16.0/21 [110/66] via 11.11.51.37, 02:38:02, Serial0/0/0
O E2 11.11.24.0/21 [110/15] via 11.11.51.41, 01:40:26, Serial0/0/1
O E2 11.11.40.0/22 [110/15] via 11.11.51.41, 01:40:26, Serial0/0/1
O E2 11.11.44.0/22 [110/15] via 11.11.51.41, 01:40:26, Serial0/0/1
O 11.11.50.129/32 [110/66] via 11.11.51.37, 02:52:35, Serial0/0/0
O 11.11.51.32/30 [110/65] via 11.11.51.37, 02:52:35, Serial0/0/0
C 11.11.51.36/30 is directly connected, Serial0/0/0
L 11.11.51.38/32 is directly connected, Serial0/0/0
C 11.11.51.40/30 is directly connected, Serial0/0/1
L 11.11.51.42/32 is directly connected, Serial0/0/1
O E2 11.11.51.44/30 [110/15] via 11.11.51.41, 01:40:26, Serial0/0/1
O 11.11.51.48/30 [110/128] via 11.11.51.37, 02:39:27, Serial0/0/0
RT2#Solo Personal Autorizado!!

User Access Verification

Password:
Password:
SW2>en
Password:
SW2#show ip ro
SW2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks


C 10.11.0.0/23 is directly connected, Loopback5
C 10.11.2.0/23 is directly connected, Vlan10
C 10.11.4.0/30 is directly connected, FastEthernet0/1
11.0.0.0/8 is variably subnetted, 10 subnets, 4 masks
O 11.11.51.48/30 [110/129] via 10.11.4.1, 01:41:28, FastEthernet0/1
O 11.11.16.0/21 [110/67] via 10.11.4.1, 01:41:28, FastEthernet0/1
O 11.11.51.32/30 [110/66] via 10.11.4.1, 01:41:28, FastEthernet0/1
O 11.11.51.36/30 [110/65] via 10.11.4.1, 01:41:28, FastEthernet0/1
O E2 11.11.24.0/21 [110/15] via 10.11.4.1, 01:41:28, FastEthernet0/1
O 11.11.51.40/30 [110/65] via 10.11.4.1, 01:41:28, FastEthernet0/1
O E2 11.11.51.44/30 [110/15] via 10.11.4.1, 01:41:28, FastEthernet0/1
O E2 11.11.40.0/22 [110/15] via 10.11.4.1, 01:41:28, FastEthernet0/1
O E2 11.11.44.0/22 [110/15] via 10.11.4.1, 01:41:29, FastEthernet0/1
O 11.11.50.129/32 [110/67] via 10.11.4.1, 01:41:29, FastEthernet0/1
SW2#
RT2#
RT2#sh run
Building configuration...

Current configuration : 2181 bytes


!
! Last configuration change at 10:28:56 UTC Wed Apr 17 2019 by ssh
! NVRAM config last updated at 10:25:27 UTC Wed Apr 17 2019 by ssh
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RT2
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$/kct$rrvjB3vASVm4WqwhACytQ/
enable password 7 14141B180F0B7B
!
no aaa new-model
memory-size iomem 5
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip domain name redes3.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
cts logging verbose
!
!
license udi pid CISCO1941/K9 sn FJC2024L14W
license boot module c1900 technology-package datak9
!
!
username ssh secret 5 $1$hpmN$RuCBKOb9lyztAGFLwr6CA0
!
redundancy
!
!
!
!
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description CX-RT2-SW2
ip address 10.11.4.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 11.11.51.38 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
interface Serial0/0/1
ip address 11.11.51.42 255.255.255.252
ip nat outside
ip virtual-reassembly in
!
router ospf 3
redistribute rip metric 15 subnets
network 10.11.4.0 0.0.0.3 area 1
network 11.11.51.36 0.0.0.3 area 1
network 11.11.51.40 0.0.0.3 area 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool redes 5.5.5.0 5.5.5.4 netmask 255.255.255.248
ip nat inside source list 7 pool LISTA
!
!
!
access-list 7 permit 10.11.2.0 0.0.1.255
access-list 7 permit 10.11.0.0 0.0.1.255
access-list 7 permit 10.11.4.0 0.0.0.3
!
control-plane
!
!
banner motd ^CSolo Personal Autorizado!!^C
!
line con 0
password 7 0307540515002D4D
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end
RT2#
SW2#ping 11.11.16.11

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 11.11.16.11, timeout is 2 seconds:
U.U..
Success rate is 0 percent (0/5)
SW2#traceroute 11.11.16.11

Type escape sequence to abort.


Tracing the route to 11.11.16.11

1 10.11.4.1 8 msec 0 msec 0 msec


2 10.11.4.1 !H * !H
SW2#
SW2#

Вам также может понравиться