Vous êtes sur la page 1sur 14

Router> Router>enable Router# Router#configure ter Router#configure terminal Enter configuration commands, one per line.

End with CNTL/Z. Router(config)#interface serial 0/0/0 Router(config-if)# Router(config-if)#ip address 172.16.10.1 255.255.255.252 Router(config-if)# Router(config-if)# Router# %SYS-5-CONFIG_I: Configured from console by console

Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface serial 0/0/0 Router(config-if)#clock rate 64000 Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down Router(config-if)#exit

Router(config-if)#exit Router(config)#interface fas Router(config)#interface fastEthernet 0/0

Router(config-if)#ip address 10.10.10.254 255.255.255.0 Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)# Router(config-if)#exit Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console

Router#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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/24 is subnetted, 1 subnets C 10.10.10.0 is directly connected, FastEthernet0/0

Router#

ROUTER 3

Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface serial 0/0/0 Router(config-if)#ip address 172.16.10.2 255.255.255.252 Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

Router(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up exit Router(config)# Router(config)# Router(config)# Router(config)#interface fas Router(config)#interface fastEthernet 0/0 Router(config-if)#ip address 192.168.100.254 255.255.255.0 Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#end Router# %SYS-5-CONFIG_I: Configured from console by console

Router#show ip router ^ % Invalid input detected at '^' marker.

Router#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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

172.16.0.0/30 is subnetted, 1 subnets C 172.16.10.0 is directly connected, Serial0/0/0

C 192.168.100.0/24 is directly connected, FastEthernet0/0 Router#

Router# Router#configur eter Router#configure ter Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip route 10.10.10.0 255.255.255.0 172.16.10.1 Router(config)#

SWITCH 1

Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# Switch(config)#hostname Switch1 Switch1(config)#line console 0 Switch1(config-line)#password cisco Switch1(config-line)#login Switch1(config-line)# Switch1(config-line)#exit Switch1(config)#line vty 0 4 Switch1(config-line)#pass Switch1(config-line)#password cisco Switch1(config-line)#login

Switch1(config-line)# Switch1(config-line)#exit Switch1(config)# Switch1(config)#vlan 10 Switch1(config-vlan)#name Sistemas Switch1(config-vlan)#end Switch1# %SYS-5-CONFIG_I: Configured from console by console

Switch1#show vlan

VLAN Name

Status Ports

---- -------------------------------- --------- ------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 10 Sistemas 1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default active act/unsup act/unsup act/unsup act/unsup

VLAN Type SAID

MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001 10 enet 100010 1002 fddi 101002 1003 tr 101003 1004 fdnet 101004 1005 trnet 101005 1500 1500 1500 1500 1500 1500 - - - - ieee ibm 0 0 0 0 0 0 0 0 0 0 0 0

Remote SPAN VLANs ------------------------------------------------------------------------------

Primary Secondary Type

Ports

------- --------- ----------------- -----------------------------------------Switch1# Switch1# Switch1# Switch1# Switch1#configure ter Switch1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch1(config)#interface range fa0/1-2 Switch1(config-if-range)#switchport mode access Switch1(config-if-range)#switchport access vlan 10 Switch1(config-if-range)#do show vlan

VLAN Name

Status Ports

---- -------------------------------- --------- ------------------------------1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig1/1, Gig1/2 10 Sistemas 1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default active Fa0/1, Fa0/2 act/unsup act/unsup act/unsup act/unsup

VLAN Type SAID

MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001 10 enet 100010 1002 fddi 101002 1003 tr 101003 1004 fdnet 101004 1005 trnet 101005 1500 1500 1500 1500 1500 1500 - - - - ieee ibm 0 0 0 0 0 0 0 0 0 0 0 0

Remote SPAN VLANs ------------------------------------------------------------------------------

Primary Secondary Type

Ports

------- --------- ----------------- -----------------------------------------Switch1(config-if-range)# Switch1(config-if-range)#

Switch1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch1(config)#interface vlan 99 Switch1(config-if)#name Administracion ^ % Invalid input detected at '^' marker.

Switch1(config-if)#exit Switch1(config)#name Administracion ^ % Invalid input detected at '^' marker.

Switch1(config)#vlan 99

%LINK-5-CHANGED: Interface Vlan99, changed state to up Switch1(config-vlan)#name Administracion Switch1(config-vlan)#exit Switch1(config)#interface vlan 99 Switch1(config-if)#ip address 192.168.99.2 255.255.255.0

Switch1(config-if)#exit Switch1(config)#ip default gateway 192.168.99.1 ^ % Invalid input detected at '^' marker.

Switch1(config)#ip default-gateway 192.168.99.1 Switch1(config)#exit Switch1# %SYS-5-CONFIG_I: Configured from console by console

Switch1#wr Building configuration... [OK] Switch1#

SWITCH2

Switch>enable Switch#configure ter Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname Switch2 Switch2(config)#line console 0 Switch2(config-line)#pass Switch2(config-line)#password cisco Switch2(config-line)#login

Switch2(config-line)#exit Switch2(config)#line vty 0 4 Switch2(config-line)#pass Switch2(config-line)#password cisco Switch2(config-line)#login exit ^ % Invalid input detected at '^' marker.

Switch2(config-line)#login Switch2(config-line)#exit Switch2(config)#line vty 0 1 Switch2(config-line)#password cisco Switch2(config-line)#login Switch2(config-line)#exit Switch2(config)#vlan 100 Switch2(config-vlan)#name Servidores Switch2(config-vlan)#exit Switch2(config)# Switch2(config)#interface range fast0/1-4 Switch2(config)#interface range fast0/1-4 Switch2(config)#interface range fastEthernet 0/1-4 Switch2(config-if-range)#switchport mode access Switch2(config-if-range)#switchport access vlan 100 Switch2(config-if-range)#end Switch2# %SYS-5-CONFIG_I: Configured from console by console

Switch2#show vlan

VLAN Name

Status Ports

---- -------------------------------- --------- ------------------------------1 default active Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 100 Servidores 1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 act/unsup act/unsup act/unsup act/unsup

VLAN Type SAID

MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001 100 enet 100100 1002 fddi 101002 1003 tr 101003 1004 fdnet 101004 1005 trnet 101005 1500 1500 1500 1500 1500 1500 - - - - ieee ibm 0 0 0 0 0 0 0 0 0 0 0 0

Remote SPAN VLANs ------------------------------------------------------------------------------

Primary Secondary Type

Ports

------- --------- ----------------- -----------------------------------------Switch2# Switch2#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Switch2#

Switch2#conf Switch2#configure ter Switch2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch2(config)#vlan 99 Switch2(config-vlan)#name Administracion Switch2(config-vlan)#exit Switch2(config)#interface vlan 99

%LINK-5-CHANGED: Interface Vlan99, changed state to up Switch2(config-if)#ip address 192.168.99.3 255.255.255.0 Switch2(config-if)#exit Switch2(config)#ip default-gateway 192.168.99.1

Switch2(config)# Switch2(config)#exit Switch2# %SYS-5-CONFIG_I: Configured from console by console

Switch2#wr Building configuration... [OK] Switch2#

Vous aimerez peut-être aussi