Advertisement
Guest User

PIXA

a guest
May 14th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. Switch>
  2. Switch>en
  3. Switch#conf t
  4. Enter configuration commands, one per line. End with CNTL/Z.
  5. Switch(config)#hostname
  6. % Incomplete command.
  7. Switch(config)#hostname sw
  8. sw(config)#username admin pa
  9. sw(config)#username admin password cisco
  10. sw(config)#service
  11. sw(config)#service pa
  12. sw(config)#service password-encryption
  13. sw(config)#en
  14. sw(config)#ena
  15. sw(config)#enable sec
  16. sw(config)#enable secret
  17. % Incomplete command.
  18. sw(config)#enable secret cisco
  19. sw(config)#line console 0
  20. sw(config-line)#login local
  21. sw(config-line)#lillolline vty 0 15
  22. ^
  23. % Invalid input detected at '^' marker.
  24.  
  25. sw(config-line)#line vty 0 15
  26. sw(config-line)#login local
  27. sw(config-line)#ex
  28. % Ambiguous command: "ex"
  29. sw(config-line)#
  30. sw#
  31. %SYS-5-CONFIG_I: Configured from console by console
  32.  
  33. sw#
  34. sw#exit
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. sw con0 is now available
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51. Press RETURN to get started.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. User Access Verification
  66.  
  67. Username: admin
  68. Password:
  69.  
  70. sw>en
  71. Password:
  72. sw#banner
  73. sw#babconf t
  74. Enter configuration commands, one per line. End with CNTL/Z.
  75. sw(config)#banne
  76. sw(config)#banner motd " ACesso Negado"
  77. sw(config)#ex
  78. sw#
  79. %SYS-5-CONFIG_I: Configured from console by console
  80.  
  81. sw#conf t
  82. Enter configuration commands, one per line. End with CNTL/Z.
  83. sw(config)#
  84. sw(config)#ex
  85. sw#
  86. %SYS-5-CONFIG_I: Configured from console by console
  87. ex
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97. sw con0 is now available
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104. Press RETURN to get started.
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116. ACesso Negado
  117.  
  118. User Access Verification
  119.  
  120. Username: admin
  121. Password:
  122. % Login invalid
  123.  
  124. Username:
  125. Username:
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142. Press RETURN to get started!
  143.  
  144. ACesso Negado
  145.  
  146. User Access Verification
  147.  
  148. Username:
  149. Username:
  150. Username:
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167. Press RETURN to get started!
  168.  
  169. ACesso Negado
  170.  
  171. User Access Verification
  172.  
  173. Username: admin
  174. Password:
  175.  
  176. sw>conf t
  177. ^
  178. % Invalid input detected at '^' marker.
  179.  
  180. sw>en
  181. Password:
  182. Password:
  183. sw#conf t
  184. Enter configuration commands, one per line. End with CNTL/Z.
  185. sw(config)#int vlan 1
  186. sw(config-if)#ip add 192.168.10.254 255.255.255.0
  187. sw(config-if)#no shut
  188.  
  189. sw(config-if)#
  190. %LINK-5-CHANGED: Interface Vlan1, changed state to up
  191.  
  192. %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
  193.  
  194. sw(config-if)#
  195. sw(config-if)#ex
  196. sw(config)#
  197. %SYS-5-CONFIG_I: Configured from console by console
  198.  
  199. ///////////////////////////////////////////////////////////////////////
  200. PC TELNET
  201. Packet Tracer PC Command Line 1.0
  202. C:\>~telnet 192.168.10.254
  203. Invalid Command.
  204.  
  205. C:\>telnet 192.168.10.254
  206. Trying 192.168.10.254 ...Open ACesso Negado
  207.  
  208.  
  209. User Access Verification
  210.  
  211. Username: admin
  212.  
  213. Password:
  214. sw>en
  215. Password:
  216. sw#conf t
  217. Enter configuration commands, one per line. End with CNTL/Z.
  218. sw(config)#ip domain
  219. sw(config)#ip domain?
  220. domain domain-lookup domain-name
  221. sw(config)#ip domain
  222. % Incomplete command.
  223. sw(config)#ip domain-name atec.cisco
  224. sw(config)#crypt
  225. sw(config)#crypto k
  226. sw(config)#crypto key g
  227. sw(config)#crypto key generate r
  228. sw(config)#crypto key generate rsa
  229. The name for the keys will be: sw.atec.cisco
  230. Choose the size of the key modulus in the range of 360 to 2048 for your
  231. General Purpose Keys. Choosing a key modulus greater than 512 may take
  232. a few minutes.
  233.  
  234. How many bits in the modulus [512]: 1024
  235. % Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
  236.  
  237. sw(config)#line vty 0 15
  238. *mar 1 0:11:15.477: %SSH-5-ENABLED: SSH 1.99 has been enabled
  239. sw(config-line)#transport
  240. sw(config-line)#transport ss
  241. sw(config-line)#transport ssh
  242. sw(config-line)#transport i
  243. sw(config-line)#transport input ss
  244. sw(config-line)#transport input ssh
  245. sw(config-line)#cop r s
  246. ^
  247. % Invalid input detected at '^' marker.
  248.  
  249. sw(config-line)#
  250. sw(config-line)#exit
  251. sw(config)#cop r s
  252. ^
  253. % Invalid input detected at '^' marker.
  254.  
  255. sw(config)#copy
  256. sw(config)#copy r
  257. sw(config)#copy run
  258. sw(config)#copy run
  259. sw(config)#exit
  260. sw#cop r s
  261. Destination filename [startup-config]?
  262. Building configuration...
  263. [OK]
  264. sw#
  265. sw#
  266. sw#exot
  267. Translating "exot"...domain server (255.255.255.255) % Name lookup aborted
  268. sw#
  269. sw#ex
  270.  
  271. [Connection to 192.168.10.254 closed by foreign host]
  272. C:\>telnet 192.168.10.254
  273. Trying 192.168.10.254 ...Open
  274.  
  275. [Connection to 192.168.10.254 closed by foreign host]
  276. C:\>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement