Professional Documents
Culture Documents
27 16:23:57 =~=~=~=~=~=~=~=~=~=~=~=
R1(config)#line con 0
R1(config-line)#loggi
R1(config-line)#logging syn
R1(config-line)#logging synchronous
R1(config-line)#exit
R1(config)#line con 0
R1(config-line)#login local
R1(config-line)#exec-timeout 5 0
R1(config-line)#exit
R1(config)#security passwords min-length 10
R1(config)#username crypto key generate rsa general-keys md ody ulus 1024
% Please define a domain-name first.
R1(config)#ip domain-name ccnasecurity.com
R1(config)#ip domain-name ccnasecurity.comcrypto key generate rsa general-keys
modulus 1024
The name for the keys will be: R1.ccnasecurity.com
R1(config)#
*Apr 27 15:38:45.686: %LINK-3-UPDOWN: Interface Serial0/1/0, changed state to down
*Apr 27 15:38:46.688: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0,
changed state to down
R1(config)#username admin01 alhorithm-type scrypt secret cisco12345lghorithm-type
scrypt secret cisco12345horithm-type scrypt secret cisco12345
R1(config)#ssh version 2
^
% Invalid input detected at '^' marker.
R1(config)#line vty 0 4
R1(config-line)#login local
R1(config-line)#transport
*Apr 27 15:40:27.686: %LINK-3-UPDOWN: Interface Serial0/1/0, changed state to up
*Apr 27 15:40:28.689: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0,
changed state to up
R1(config-line)#transport input ssh
R1(config-line)#exec-timeout 5 0
R1(config-line)#
*Apr 27 15:43:08.273: %OSPF-5-ADJCHG: Process 101, Nbr 10.2.2.2 on Serial0/1/0 from
LOADING to FULL, Loading Done
R1(config-line)#
Username: admin01
Password:
R1>en
R1#ping 192.168.33.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.33.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#ping 192.168.33.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 43/43/44 ms
R1#ping 192.168.3.1 10 10.2.2.21
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.21, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#ping 10.2.2.21 1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 43/43/44 ms
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#do showw ospf neigh
R1(config)#do show ospf neighbor
R1(config)#end
R1#
*Apr 27 15:53:57.896: %SYS-5-CONFIG_I: Configured from console by admin01 on
console
R1#sh ospf neigh
R1#sh ospf neighbor s
^
% Invalid input detected at '^' marker.
R1#show ip protocols
*** IP Routing is NSF aware ***
R1(config-isakmp)#exit
R1(config)#crypto isakmp policy 10
R1(config-isakmp)#hash sha
R1(config-isakmp)#authen
R1(config-isakmp)#authentication pre-share
R1(config-isakmp)#group 14
R1(config-isakmp)#life ti time 3600
R1(config-isakmp)#encryption aes 256
R1(config-isakmp)#end
R1#
*Apr 27 15:57:53.986: %SYS-5-CONFIG_I: Configured from console by admin01 on
console
R1#show crypto isakmp policy
interface: Serial0/1/0
Crypto map tag: CMAP, local addr 10.1.1.1
R1#ping
Protocol [ip]: 192.168.3.1
% Unknown protocol - "192.168.3.1", type "ping ?" for help
R1#ping
Protocol [ip]: 192.168.3.1
% Unknown protocol - "192.168.3.1", type "ping ?" for help
R1#ping ?
WORD Ping destination address or hostname
ancp ANCP echo
clns CLNS echo
ethernet Ethernet echo
ip IP echo
ipv6 IPv6 echo
srb srb echo
tag Tag encapsulated IP echo
vrf Select VPN routing instance
<cr>
R1#ping
Protocol [ip]:
Target IP address: 192.168.3.1
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Ingress ping [n]: 192.168.1.1
Source address or interface:
DSCP Value [0]:
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0x0000ABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 43/43/44 ms
R1#show crypto isakmp sa
IPv4 Crypto ISAKMP SA
dst src state conn-id status
interface: Serial0/1/0
Crypto map tag: CMAP, local addr 10.1.1.1
R1#ping 192.168.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 43/44/45 ms
R1#
Username: admin01
Password:
R1>cisco12345
% Bad IP address or host name% Unknown command or computer name, or unable to find
computer address
R1>en
R1#wr er
Erasing the nvram filesystem will remove all configuration files! Continue?
[confirm]
[OK]
Erase of nvram: complete
R1#
*Apr 27 16:37:54.450: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
R1#reload
[OK]
Proceed with reload? [confirm]
*Apr 27 16:38:08.639: %SYS-2-PRIVCFG_ENCRYPT: Successfully encrypted private config
file
[confirm]
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
Username:
Username:
Username:
Username:
Username:
Username: admin01
Password:
R1>en
R1#write erase
Erasing the nvram filesystem will remove all configuration files! Continue?
[confirm]
[OK]
Erase of nvram: complete
R1#
*Apr 27 16:45:56.505: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
R1#reload
Proceed with reload? [confirm]
........
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R! 1-A
R1-A(config)#no ip domain-lookup
R1-A(config)#int s0/1/0
R1-A(config-if)#ip add 10.1.1.1 255.255.255.252
R1-A(config-if)#clock rate 125000
R1-A(config-if)#int g0/0/1
R1-A(config-if)#ip ad dd 18 72.16.1.1 255.255.255.0
R1-A(config-if)#no shut
R1-A(config-if)#int s
*Apr 27 16:57:37.658: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/1, changed state
to down0/0 1/
*Apr 27 16:57:40.726: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/1, changed state
to up
*Apr 27 16:57:41.725: %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0/1, changed state to up0
R1-A(config-if)#no shut
R1-A(config-if)#end
R1-A#
*Apr 27 16:57:47.863: %SYS-5-CONFIG_I: Configured from console by consoleconf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-A(config)#line con 0
R1-A(config-line)#loggi
R1-A(config-line)#logging syn
R1-A(config-line)#logging synchronous
R1-A(config-line)#exit
R1-A(config)#enable sec password cisco lass
R1-A(config)#serive
R1-A(config)#serive vice pass
R1-A(config)#service password-encryption
R1-A(config)#line con 0
R1-A(config-line)#password cisco
R1-A(config-line)#login
R1-A(config-line)#exit
R1-A(config)#line vty 0 4
R1-A(config-line)#password cisco cisco
R1-A(config-line)#login
R1-A(config-line)#end
R1-A#
*Apr 27 16:59:21.364: %SYS-5-CONFIG_I: Configured from console by console
R1-A#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-A(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.2
R1-A(config)#int tunnel 0
R1-A(config-if)#ip add
*Apr 27 17:01:55.166: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0,
changed state to down
R1-A(config-if)#ip add 172.16.12.1 255.255.255.252
R1-A(config-if)#tunnel source s0/1/0
R1-A(config-if)#tunnel destination 10.2.2.1
R1-A(config-if)#
*Apr 27 17:02:26.427: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0,
changed state to up
R1-A(config-if)#do show ip interface brief
Any interface listed with OK? value "NO" does not have a valid configuration
R1-A(config-if)#end
R1-A#ping
*Apr 27 17:03:30.254: %SYS-5-CONFIG_I: Configured from console by console
R1-A#ping 172.16.122 .2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/37 ms
R1-A#en
R1-A#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-A(config)#router ospf 1
R1-A(config-router)#netwo
*Apr 27 17:03:56.955: %OSPF-6-DFT_OPT: Protocol timers for fast convergence are
Enabled.
R1-A(config-router)#network 172.16.1.0 0.0.0.0.2 255 area 0
R1-A(config-router)#network 172.16.12.0 0.0.0.3 area 0
R1-A(config-router)#
*Apr 27 17:04:26.559: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.12.2 on Tunnel0 from
LOADING to FULL, Loading Done
R1-A(config-router)#do show 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, p - overrides from PfR