config gns3

32

Upload: w3lm2r2949

Post on 14-Oct-2014

314 views

Category:

Documents


11 download

TRANSCRIPT

Page 1: CONFIG GNS3
Page 2: CONFIG GNS3

QUEMU QUEDA TAL COMO ESTA

Arrastramos las imagens que requerimos routers y switch

Seleccionamos los 2 routers y click derecho sobre uno de ellos y elegimos “configure”

Page 3: CONFIG GNS3

Y nos sale el siguiente menu

Vamos a “slot” y cambiamos donde dice “wic 0” y elegimos WIC-2T

Page 4: CONFIG GNS3

Apply y OK

Luego damos click en “add link”

Page 5: CONFIG GNS3

Damos click sobre alguno de los objetos y nos muestra las interfaces para seleccionar , elegimos y apare automáticamente el cable para conectar a otro objeto a alguna de sus interfaces

Una vez realizados las conexiones damos click en el icono que tiene la forma de un triangulo verde

Page 6: CONFIG GNS3

Al aparecer todos los puntos en verde significa que la estructura esta trabajando con normalidad.

Luego damos click en le botón “console to all device”

Y aparece las siguientes ventanas

Page 7: CONFIG GNS3

Nos percatamos que el rendimiento es pésimo del S.O. por lo cual, primero damos click en el botón “add link” para que vuelva a su icono original, luego selecionamos una de los routers y damos click en “Idle PC” , aparece un cuadro y damos “YES”

Page 8: CONFIG GNS3

Aparece un cuadro como el de la imagen

Damos click en la pestaña y seleccionamos alguno de los números que empiezan con “*” damos aply y luego OK y con esto se reduce el consumo del CPU.

Page 9: CONFIG GNS3

Username: cisco

Password:cisco

R1>enable

Password:class

R1#configure terminal

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

R1(config)#interface f0/0

R1(config-if)#

R1 con0 is now available

Press RETURN to get started.

ACCESO RESTRINGIDO - SOLO PERSONAL AUTORIZADO - TODAS LAS CONEXIONES SON REGISTRADAS

banner motd

User Access Verification

Page 10: CONFIG GNS3

Username: cisco1

Password:

R1>R1>

% Unknown command or computer name, or unable to find computer address

R1>R1>Password:

% Unknown command or computer name, or unable to find computer address

R1>% Unknown command or computer name, or unable to find computer address

^

% Invalid input detected at '^' marker.

R1>R1>Password:

% Unknown command or computer name, or unable to find computer address

R1>% Unknown command or computer name, or unable to find computer address

^

% Invalid input detected at '^' marker.

R1>R1>R1>enable

% Unknown command or computer name, or unable to find computer address

R1>% Unknown command or computer name, or unable to find computer address

^

% Invalid input detected at '^' marker.

R1>R1>Password:

% Unknown command or computer name, or unable to find computer address

R1>% Unknown command or computer name, or unable to find computer address

^

% Invalid input detected at '^' marker.

R1>R1>R1#conf term

^

Page 11: CONFIG GNS3

% Invalid input detected at '^' marker.

R1> ^

% Unknown command or computer name, or unable to find computer address

R1>% Invalid input detected at '^' marker.

^

% Invalid input detected at '^' marker.

R1>

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

^

% Invalid input detected at '^' marker.

R1> ^

% Unknown command or computer name, or unable to find computer address

R1>% Invalid input detected at '^' marker.

^

% Invalid input detected at '^' marker.

R1>

R1>R1>R1(config)#username cisco password cisco

^

% Invalid input detected at '^' marker.

R1> ^

% Unknown command or computer name, or unable to find computer address

R1>% Invalid input detected at '^' marker.

^

% Invalid input detected at '^' marker.

R1>

Page 12: CONFIG GNS3

R1>R1>R1(config)#username cisco1 password cisco1

^

% Invalid input detected at '^' marker.

R1> ^

% Unknown command or computer name, or unable to find computer address

R1>% Invalid input detected at '^' marker.

^

% Invalid input detected at '^' marker.

R1>

R1>

R1>enable

Password:

Password:

R1#disable

R1>

Page 13: CONFIG GNS3

R1 con0 is now available

Press RETURN to get started.

Page 14: CONFIG GNS3

ACCESO RESTRINGIDO - SOLO PERSONAL AUTORIZADO - TODAS LAS CONEXIONES SON REGISTRADAS

banner motd

User Access Verification

Username: cisco

Password:

R1>enable

Password:

R1#configure terminal

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

R1(config)#interface f0/0

R1(config-if)#

R1#

*Mar 1 00:40:09.047: %SYS-5-CONFIG_I: Configured from console by cisco on console

R1#

R1#ip address 192.168.1.1 255.255.255.0

^

% Invalid input detected at '^' marker.

R1#enable

R1#configure terminal

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

R1(config)#interface f0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.0

R1(config-if)#no shut

R1(config-if)#

*Mar 1 00:43:13.567: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

Page 15: CONFIG GNS3

*Mar 1 00:43:14.567: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1(config-if)#exit

R1(config)#line console 0

R1(config-line)#logg

% Incomplete command.

R1(config-line)#logging syn

R1(config-line)#logging synchronous

R1(config-line)#interface s0

% Incomplete command.

R1(config)#interface s0/0

R1(config-if)#ip address 192.168.2.1 255.255.255.0

R1(config-if)#no shutdown

R1(config-if)#

*Mar 1 00:46:02.807: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up

R1(config-if)#

*Mar 1 00:46:03.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R1(config-if)#

*Mar 1 00:46:26.199: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

R1(config-if)#

*Mar 1 00:49:56.199: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R1(config-if)#

Page 16: CONFIG GNS3

R1 con0 is now available

Page 17: CONFIG GNS3

Press RETURN to get started.

*Mar 1 00:56:01.255: %SYS-5-CONFIG_I: Configured from console by cisco on console

Page 18: CONFIG GNS3

Connected to Dynamips VM "R2" (ID 1, type c2691) - Console port

Press ENTER to get the prompt.

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]:

% Please answer 'yes' or 'no'.

Would you like to enter the initial configuration dialog? [yes/no]:

% Please answer 'yes' or 'no'.

Would you like to enter the initial configuration dialog? [yes/no]: n

Would you like to terminate autoinstall? [yes]:

Press RETURN to get started!

*Mar 1 00:00:04.347: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0 , changed state to up

*Mar 1 00:00:04.347: %LINEPROTO-5-UPDOWN: Line protocol on Interface IPv6-mpls, changed state to up

*Mar 1 00:00:04.351: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up

*Mar 1 00:00:04.355: %LINK-3-UPDOWN: Interface Serial0/1, changed state to up

*Mar 1 00:00:04.359: %LINK-3-UPDOWN: Interface Serial0/2, changed state to up

*Mar 1 00:00:04.363: %LINK-3-UPDOWN: Interface Serial0/3, changed state to up

*Mar 1 00:00:05.351: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

*Mar 1 00:00:05.355: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

*Mar 1 00:00:05.359: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2, changed state to up

Page 19: CONFIG GNS3

*Mar 1 00:00:05.363: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3, changed state to up

*Mar 1 00:00:33.107: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to down

*Mar 1 00:00:33.131: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2, changed state to down

*Mar 1 00:00:33.139: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3, changed state to down

*Mar 1 00:01:14.883: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

*Mar 1 00:01:15.139: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down

*Mar 1 00:01:15.703: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

*Mar 1 00:01:15.883: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/1, changed state to down

*Mar 1 00:01:16.139: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/0, changed state to down

*Mar 1 00:01:16.703: %LINK-5-CHANGED: Interface Serial0/0, changed state to adm inistratively down

*Mar 1 00:01:16.735: %LINK-5-CHANGED: Interface Serial0/1, changed state to adm inistratively down

*Mar 1 00:01:16.739: %LINK-5-CHANGED: Interface Serial0/2, changed state to adm inistratively down

*Mar 1 00:01:16.743: %LINK-5-CHANGED: Interface Serial0/3, changed state to adm inistratively down

*Mar 1 00:01:19.339: %IP-5-WEBINST_KILL: Terminating DNS process

*Mar 1 00:01:20.627: %SYS-5-RESTART: System restarted --

Cisco IOS Software, 2600 Software (C2691-ADVENTERPRISEK9-M), Version 12.4(25), R ELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2009 by Cisco Systems, Inc.

Compiled Tue 21-Apr-09 10:48 by prod_rel_team

*Mar 1 00:01:20.639: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start

Router>y

Translating "y"...domain server (255.255.255.255)

Page 20: CONFIG GNS3

(255.255.255.255)

Translating "y"...domain server (255.255.255.255)

% Unknown command or computer name, or unable to find computer address

Router>

Router>ena

Router#hostname R2

^

% Invalid input detected at '^' marker.

Router#configure terminal

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

Router(config)#hostname R2

R2(config)#

Page 21: CONFIG GNS3

R2 con0 is now available

Press RETURN to get started.

*Mar 1 00:12:29.755: %SYS-5-CONFIG_I: Configured from console by console

R2>

R2>

R2>

R2>

R2>

Page 22: CONFIG GNS3

R2>

Page 23: CONFIG GNS3

R2 con0 is now available

Press RETURN to get started.

R2>enable

R2#configure terminal

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

R2(config)#line console 0

R2(config-line)#loggin synchronous

R2(config-line)#interface f0/0

R2(config-if)#ip address 192.168.3.1 255.255.255.0

R2(config-if)#no shutdown

R2(config-if)#

*Mar 1 00:47:51.399: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state t o up

*Mar 1 00:47:52.399: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/0, changed state to up

R2(config-if)#interface s0/0

R2(config-if)#ip address 192.168.2.2 255.255.255.0

R2(config-if)#no shutdown

Page 24: CONFIG GNS3

R2(config-if)#

*Mar 1 00:49:05.603: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up

R2(config-if)#

*Mar 1 00:49:06.607: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R2(config-if)#end

R2#

*Mar 1 00:49:16.295: %SYS-5-CONFIG_I: Configured from console by console

R2#show ip interface brief

Interface IP-Address OK? Method Status Prot ocol

FastEthernet0/0 192.168.3.1 YES manual up up

Serial0/0 192.168.2.2 YES manual up up

FastEthernet0/1 unassigned YES unset administratively down down

Serial0/1 unassigned YES unset administratively down down

Serial0/2 unassigned YES unset administratively down down

Serial0/3 unassigned YES unset administratively down down

R2#ping 192.168.2.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/13/32 ms

R2#

R2#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

Page 25: CONFIG GNS3

Gateway of last resort is not set

C 192.168.2.0/24 is directly connected, Serial0/0

C 192.168.3.0/24 is directly connected, FastEthernet0/0

R2#

R2#telnet 192.168.2.1

Trying 192.168.2.1 ... Open

ACCESO RESTRINGIDO - SOLO PERSONAL AUTORIZADO - TODAS LAS CONEXIONES SON REGISTRADAS

banner motd

User Access Verification

Password:

R1>enable

Password:

R1#show ip interface

FastEthernet0/0 is up, line protocol is up

Internet address is 192.168.1.1/24

Broadcast address is 255.255.255.255

Address determined by setup command

MTU is 1500 bytes

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

Local Proxy ARP is disabled

Security level is default

Split horizon is enabled

Page 26: CONFIG GNS3

ICMP redirects are always sent

ICMP unreachables are always sent

ICMP mask replies are never sent

IP fast switching is enabled

IP fast switching on the same interface is disabled

IP Flow switching is disabled

IP CEF switching is enabled

IP CEF Fast switching turbo vector

IP multicast fast switching is enabled

IP multicast distributed fast switching is disabled

IP route-cache flags are Fast, CEF

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

Policy routing is disabled

Network address translation is disabled

BGP Policy Mapping is disabled

WCCP Redirect outbound is disabled

WCCP Redirect inbound is disabled

WCCP Redirect exclude is disabled

Serial0/0 is up, line protocol is up

Internet address is 192.168.2.1/24

Broadcast address is 255.255.255.255

Address determined by setup command

MTU is 1500 bytes

Helper address is not set

Directed broadcast forwarding is disabled

Outgoing access list is not set

Inbound access list is not set

Page 27: CONFIG GNS3

Proxy ARP is enabled

Local Proxy ARP is disabled

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 enabled

IP fast switching on the same interface is enabled

IP Flow switching is disabled

IP CEF switching is enabled

IP CEF Fast switching turbo vector

IP multicast fast switching is enabled

IP multicast distributed fast switching is disabled

IP route-cache flags are Fast, CEF

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

Policy routing is disabled

Network address translation is disabled

BGP Policy Mapping is disabled

WCCP Redirect outbound is disabled

WCCP Redirect inbound is disabled

WCCP Redirect exclude is disabled

FastEthernet0/1 is administratively down, line protocol is down

Internet protocol processing disabled

Serial0/1 is administratively down, line protocol is down

Internet protocol processing disabled

Serial0/2 is administratively down, line protocol is down

Page 28: CONFIG GNS3

Internet protocol processing disabled

Serial0/3 is administratively down, line protocol is down

Internet protocol processing disabled

R1#

R1#

R1#

R1#

R1#

R1#

R1#

R1#

R1#

R1#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

C 192.168.1.0/24 is directly connected, FastEthernet0/0

C 192.168.2.0/24 is directly connected, Serial0/0

R1#

Page 29: CONFIG GNS3