Configuracion con comandos

9

Click here to load reader

description

Redes Avanzadas

Transcript of Configuracion con comandos

Page 1: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

Universidad de Navojoa Ingeniería en Sistemas Computacionales.

RESUMEN DE CADA VIDEO Video CCNA MODULO 4 – CONFIGURACION ROUTER CISCO ¼ Tratará de dejar la Práctica y empezar a Usar y configurar dispositivos reales. Habla sobre las interfaces de un router los puertos Ethernet serial y el de consola Sistema operativo que maneja el equipo. NVRAM. Se guarda el configuration register Ram. Se maneja el cash tabla de enrutamiento, bufer , memoria del router Flash. Memoria donde se guarda el sistema operativo Rom. Sirve para hacer pruevas Interfaces. Configure Register: su hibicacion en NVRAM Programa de 16 bits y le dice el outer de donde cargar el sistema y otras muchas otras cosas, Habla los procesos desde que se prende. El post cuando carga el bootstrap se encarga de encontrar el sistema operativo y lo lleva ala memoria El ios se encarga el sistema de configuración, runing configuration Video CCNA MODULO 4 – CONFIGURACION ROUTER CISCO 1,2,3,4/4 Building configuration... Current configuration : 502 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Router ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description MI INTERFASE DE INTERNET ip address 192.168.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown !

interface FastEthernet0/0 description MI INTERFASE DE INTERNET ip address 192.168.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Vlan1 no ip address shutdown ! ip classless ! ! ! ! ! banner motd ^C ESTE ES MI EQUIPO FAVOR SALIR ^C ! ! ! ! line con 0 password cisco login line vty 0 password cisco login line vty 1 4 login ! ! !

Page 2: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

interface Vlan1 no ip address shutdown ! ip classless ! ! ! ! ! ! ! ! ! line con 0 line vty 0 4 login ! ! ! end Router(config)# Router(config)# Router(config)# Router(config)# Router(config)# Router(config)#sh Router(config)#sho Router(config)#sho ^ % Invalid input detected at '^' marker. Router(config)# Router(config)#ecit ^ % Invalid input detected at '^' marker. Router(config)#sh Router(config)#sho Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console Router#sh Router#show % Incomplete command. Router#sh Router#show ip inte Router#show ip interface FastEthernet0/0 is up, line protocol is up (connected) Internet address is 192.168.10.1/24 Broadcast address is 255.255.255.255 Address determined by setup command MTU is 1500 Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is disabled

end Florida# Florida# Florida#con Florida#conf Florida#configure ter Florida#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#li Florida(config)#line vt Florida(config)#line vty 1 4 Florida(config-line)#pas Florida(config-line)#password cisco Florida(config-line)#log Florida(config-line)#logi Florida(config-line)#login Florida(config-line)# Florida(config)#en Florida(config)#ena Florida(config)#enable ? password Assign the privileged level password secret Assign the privileged level secret Florida(config)#enable pass Florida(config)#enable password ? 7 Specifies a HIDDEN password will follow LINE The UNENCRYPTED (cleartext) 'enable' password level Set exec level password Florida(config)#enable password cisc Florida(config)#enable password cisco Florida(config)#enable password cisco Florida(config)#enale Florida(config)#ena Florida(config)#enable se Florida(config)#enable secret ? 0 Specifies an UNENCRYPTED password will follow 5 Specifies an ENCRYPTED secret will follow LINE The UNENCRYPTED (cleartext) 'enable' secret level Set exec level password Florida(config)#enable secret cisco Florida(config)#logi Florida(config)#login % Incomplete command. Florida(config)#lo Florida(config)#log Florida(config)#logi Florida(config)#login ? block-for Set quiet-mode active time period on-failure Set options for failed login attempt on-success Set options for successful login attempt Florida(config)#login on Florida(config)#login on-su Florida(config)#login on-success Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#sh Florida#show % Incomplete command. Florida#sh Florida#show ? aaa Show AAA values access-lists List access lists arp Arp table cdp CDP information

Page 3: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

IP fast switching on the same interface is disabled IP Flow switching is disabled IP Fast switching turbo vector IP multicast fast switching is disabled IP multicast distributed fast switching is disabled Router Discovery is disabled IP output packet accounting is disabled IP access violation accounting is disabled TCP/IP header compression is disabled RTP/IP header compression is disabled Probe proxy name replies are disabled Policy routing is disabled Network address translation is disabled WCCP Redirect outbound is disabled WCCP Redirect exclude is disabled BGP Policy Mapping is disabled FastEthernet0/1 is administratively down, line protocol is down (disabled) Internet protocol processing disabled Vlan1 is administratively down, line protocol is down Internet protocol processing disabled Router# Router# Router# Router# Router# Router# Router# Router# Router# Router#sh Router#show ip inte Router#show ip interface br Router#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.10.1 YES manual up up FastEthernet0/1 unassigned YES manual administratively down down Vlan1 unassigned YES manual administratively down down Router#con Router#conF Router#conFigure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#EXIT Router# %SYS-5-CONFIG_I: Configured from console by console Router#CONF Router#CONFigure te Router#CONFigure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ho Router(config)#hostname Florida Florida(config)# banner ? login Set login banner motd Set Message of the Day banner Florida(config)# banner mo Florida(config)# banner motd ? LINE c banner-text c, where 'c' is a delimiting character Florida(config)# banner motd x ESTE ES MI EQUIPO FAVOR SALIR x

class-map Show QoS Class Map clock Display the system clock controllers Interface controllers status crypto Encryption module debugging State of each debugging option dhcp Dynamic Host Configuration Protocol status file Show filesystem information flash: display information about flash: file system frame-relay Frame-Relay information history Display the session command history hosts IP domain-name, lookup style, nameservers, and host table interfaces Interface status and configuration ip IP information ipv6 IPv6 information logging Show the contents of logging buffers login Display Secure Login Configurations and State mac-address-table MAC forwarding table ntp Network time protocol parser Show parser commands policy-map Show QoS Policy Map privilege Show current privilege level processes Active process statistics protocols Active network routing protocols queue Show queue contents queueing Show queueing configuration running-config Current operating configuration secure Show secure image and configuration archive sessions Information about Telnet connections snmp snmp statistics spanning-tree Spanning tree topology ssh Status of SSH server connections startup-config Contents of startup configuration storm-control Show storm control configuration tcp Status of TCP connections tech-support Show system information for Tech-Support terminal Display terminal configuration parameters users Display information about terminal lines version System hardware and software status vlan-switch VTP VLAN status vtp Configure VLAN database Florida#show % Incomplete command. Florida# Florida#sh Florida#show ru Florida#show running-config Building configuration... Current configuration : 695 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Florida ! login on-success ! ! enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 enable password cisco ! ! !

Page 4: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#exi Florida con0 is now available Press RETURN to get started. ESTE ES MI EQUIPO FAVOR SALIR Florida> Florida> Florida> Florida>en Florida>enable Florida#con Florida#conf Florida#configure ter Florida#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#en Florida(config)#ena Florida(config)#enable ? password Assign the privileged level password secret Assign the privileged level secret Florida(config)#enable pas Florida(config)#enable password cisco Florida(config)#con Florida(config)#consol Florida(config)#exit Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#cons Florida#cons Florida#consol Florida#consol Florida#run Florida#ru Florida#runn Florida#running console ^

! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description MI INTERFASE DE INTERNET ip address 192.168.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Vlan1 no ip address shutdown ! ip classless ! ! ! ! ! banner motd ^C ESTE ES MI EQUIPO FAVOR SALIR ^C ! ! ! ! line con 0 password cisco login line vty 0 password cisco login line vty 1 4 login ! ! ! end Florida# Florida# Florida#con Florida#conf Florida#configure ter Florida#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#li Florida(config)#line vt Florida(config)#line vty 1 4 Florida(config-line)#pas Florida(config-line)#password cisco Florida(config-line)#log Florida(config-line)#logi

Page 5: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

% Invalid input detected at '^' marker. Florida#con Florida#conf Florida#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#te Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by consolecon % Ambiguous command: "con" Florida#con Florida#conf Florida#configure ter Florida#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#en Florida(config)#ena Florida(config)#enable ? password Assign the privileged level password secret Assign the privileged level secret Florida(config)#enable pass Florida(config)#enable password ? 7 Specifies a HIDDEN password will follow LINE The UNENCRYPTED (cleartext) 'enable' password level Set exec level password Florida(config)#enable password cisc Florida(config)#enable password cisco Florida(config)#enable password cisco Florida(config)#enale Florida(config)#ena Florida(config)#enable se Florida(config)#enable secret ? 0 Specifies an UNENCRYPTED password will follow 5 Specifies an ENCRYPTED secret will follow LINE The UNENCRYPTED (cleartext) 'enable' secret level Set exec level password Florida(config)#enable secret cisco Florida(config)#logi Florida(config)#login % Incomplete command. Florida(config)#lo Florida(config)#log Florida(config)#logi Florida(config)#login ? block-for Set quiet-mode active time period on-failure Set options for failed login attempt on-success Set options for successful login attempt Florida(config)#login on Florida(config)#login on-su Florida(config)#login on-success Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#sh Florida#show % Incomplete command. Florida#sh Florida#show ? aaa Show AAA values access-lists List access lists arp Arp table cdp CDP information class-map Show QoS Class Map clock Display the system clock

Florida(config-line)#login Florida(config-line)# Florida(config-line)#exit Florida(config)#li Florida(config)#line vt Florida(config)#line vty 0? <0-15> Florida(config)#line vty 0 15 Florida(config-line)#pas Florida(config-line)#password cisco Florida(config-line)#los Florida(config-line)#log Florida(config-line)#logi Florida(config-line)#login Florida(config-line)# Florida(config-line)#exit Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#sh Florida#show r Florida#show running-config Building configuration... Current configuration : 714 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Florida ! login on-success ! ! enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 enable password cisco ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description MI INTERFASE DE INTERNET ip address 192.168.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Vlan1 no ip address

Page 6: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

controllers Interface controllers status crypto Encryption module debugging State of each debugging option dhcp Dynamic Host Configuration Protocol status file Show filesystem information flash: display information about flash: file system frame-relay Frame-Relay information history Display the session command history hosts IP domain-name, lookup style, nameservers, and host table interfaces Interface status and configuration ip IP information ipv6 IPv6 information logging Show the contents of logging buffers login Display Secure Login Configurations and State mac-address-table MAC forwarding table ntp Network time protocol parser Show parser commands policy-map Show QoS Policy Map privilege Show current privilege level processes Active process statistics protocols Active network routing protocols queue Show queue contents queueing Show queueing configuration running-config Current operating configuration secure Show secure image and configuration archive sessions Information about Telnet connections snmp snmp statistics spanning-tree Spanning tree topology ssh Status of SSH server connections startup-config Contents of startup configuration storm-control Show storm control configuration tcp Status of TCP connections tech-support Show system information for Tech-Support terminal Display terminal configuration parameters users Display information about terminal lines version System hardware and software status vlan-switch VTP VLAN status vtp Configure VLAN database Florida#show % Incomplete command. Florida# Florida#sh Florida#show ru Florida#show running-config Building configuration... Current configuration : 695 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Florida ! login on-success ! ! enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 enable password cisco ! ! ! ! !

shutdown ! ip classless ! ! ! ! ! banner motd ^C ESTE ES MI EQUIPO FAVOR SALIR ^C ! ! ! ! line con 0 password cisco login line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! ! end Florida#show running-config Building configuration... Current configuration : 747 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec service password-encryption ! hostname Florida ! login on-success ! ! enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 enable password 7 0822455D0A16 ! ! ! ! ESTE ES MI EQUIPO FAVOR SALIR User Access Verification Password: Florida>%SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: ] [Source: 0.0.0.0] [localport: 0] at 11:38:42 UTC sáb feb 2 2013 Florida>enable Password: Florida#192.168.10.1 Trying 192.168.10.1 ...Open ESTE ES MI EQUIPO FAVOR SALIR User Access Verification Servidor ftp? Tftpd32

Page 7: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

! ! ! ! ! ! ! ! !

ESTE ES MI EQUIPO FAVOR SALIR User Access Verification Password: Florida>%SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: ] [Source: 0.0.0.0] [localport: 0] at 11:38:42 UTC sáb feb 2 2013 Florida>enable Password: Florida#192.168.10.1 Trying 192.168.10.1 ...Open ESTE ES MI EQUIPO FAVOR SALIR User Access Verification Password: % Password: timeout expired! [Connection to 192.168.10.1 closed by foreign host] Florida#conf Florida#configure ter Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by consolecone Translating "cone"...domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address Florida#con Florida#conf Florida#configure ter Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#sh Florida(config)#sho Florida(config)#exi Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#sh Florida#show se Florida#show ses Florida#show sessions % No connections open Florida#192.168.10.1 Trying 192.168.10.1 ...Open ESTE ES MI EQUIPO FAVOR SALIR User Access Verification Password: Florida>%SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: ] [Source: 0.0.0.0] [localport: 0] at 11:41:52 UTC sáb feb 2 2013 Florida>sh Florida>show se Florida>show sessions % No connections open Florida>in Florida>cons Florida>conf

Page 8: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

Florida>conf Florida>en Florida>enable Password: Password: Password: % Bad secrets Florida>EN Florida>ENable Password: Florida#co Florida#con Florida#conf Florida#configure ter Florida#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#in Florida(config)#interface fas Florida(config)#interface fastEthernet 0/0 Florida(config-if)#EXIT Florida(config)#sh Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#so Florida#sh Florida#show se Florida#show ses Florida#show sessions % No connections open Florida#1 % 1 is not an open connection Florida# sh Florida# show us Florida# show users Line User Host(s) Idle Location 0 con 0 192.168.10.1 00:00:00 * 67 vty 0 idle 00:00:00 192.168.10.1 Interface User Mode Idle Peer Address Florida#conf Florida#configure te Florida#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#ip h Florida(config)#ip host RFLORIDA 192.168.10.1 Florida(config)#EXIT Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#SH Florida#SHow H Florida#SHow HO Florida#SHow HOsts Default Domain is not set Name/address lookup uses domain service Name servers are 255.255.255.255 Codes: UN - unknown, EX - expired, OK - OK, ?? - revalidate temp - temporary, perm - permanent NA - Not Applicable None - Not defined Host Port Flags Age Type Address(es) RFLORIDA None (perm, OK) 0 IP 192.168.10.1 Florida#con Florida#conf

Page 9: Configuracion con comandos

POR: RICARDO DANIEL CARRADA PEÑA Correo: [email protected]

Florida#configure ter Florida#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Florida(config)#i Florida(config)#ip Florida(config)#ip h Florida(config)#ip host R1 192.168.10.1 Florida(config)#exit Florida# %SYS-5-CONFIG_I: Configured from console by console Florida#ch Florida#sh Florida#show u Florida#show ho Florida#show hosts Default Domain is not set Name/address lookup uses domain service Name servers are 255.255.255.255 Codes: UN - unknown, EX - expired, OK - OK, ?? - revalidate temp - temporary, perm - permanent NA - Not Applicable None - Not defined Host Port Flags Age Type Address(es) R1 None (perm, OK) 0 IP 192.168.10.1 RFLORIDA None (perm, OK) 0 IP 192.168.10.1 Florida#co Florida#cop Florida#copy fl Florida#copy flash: C: Florida#sh Florida#show fl Florida#show flash: ? <cr> Florida#show flash: System flash directory: File Length Name/status 3 33591768 c1841-advipservicesk9-mz.124-15.T1.bin 2 28282 sigdef-category.xml 1 227537 sigdef-default.xml [33847587 bytes used, 30168797 available, 64016384 total] 63488K bytes of processor board System flash (Read/Write) Florida# Florida#show flash: C: ^ % Invalid input detected at '^' marker. Florida#co Florida#cop Florida#copy ru Florida#copy running-config tftp Address or name of remote host []? ESTE ES MI EQUIPO FAVOR SALIR User Acce Destination filename [Florida-confg]? Translating "ESTE ES MI EQUIPO FAVOR SALIR"... %Error opening tftp://ESTE ES MI EQUIPO FAVOR SALIR/Florida-confg (Cannot resolve domain name) Florida#