Sei sulla pagina 1di 16

Switch>enable

Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name GERENCIA
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name VENTAS
Switch(config-vlan)#EXIT
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#inter
Switch(config)#interface ran
Switch(config)#interface range fa0/2-fa0/9
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switc
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface range fa0/10-fa0/20
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch con0 is now available


Press RETURN to get started.

Switch>enable
Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#inter
Switch(config)#interface g0/1
Switch(config-if)#swi
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed


state to up

Switch con0 is now available

Press RETURN to get started.


ROUTER 1

Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#interface Serial0/1/0
Router1(config-if)#ip address 172.27.155.193 255.255.0.0
Router1(config-if)#ip address 172.27.155.193 255.255.255.252
Router1(config-if)#no shutdown
Router1(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

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


up

Router1 con0 is now available

Press RETURN to get started.

Router1>enable
Router1#enable
Router1#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#inter
Router1(config)#interface g0/0.10
Router1(config-subif)#enca
Router1(config-subif)#encapsulation dot
Router1(config-subif)#encapsulation dot1Q 10
Router1(config-subif)#ip add 172.27.154.129 255.255.255.128
Router1(config-subif)#interface g0/0.20
Router1(config-subif)#encapsulation dot1Q 20
Router1(config-subif)#ip add 172.27.154.130 255.255.255.128
% 172.27.154.128 overlaps with GigabitEthernet0/0.10
Router1(config-subif)#ip add 172.27.155.1 255.255.255.128
Router1(config-subif)#^Z
Router1#
%SYS-5-CONFIG_I: Configured from console by console

Router1#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#interface g0/0
Router1(config-if)#no shut

Router1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed


state to up

%LINK-5-CHANGED: Interface GigabitEthernet0/0.10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.10,


changed state to up

%LINK-5-CHANGED: Interface GigabitEthernet0/0.20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.20,


changed state to up

Router1#
%SYS-5-CONFIG_I: Configured from console by console
^Z
Router1#
Router1#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#router rip
Router1(config-router)#version 2
Router1(config-router)#net
Router1(config-router)#network 172.27.154.128
Router1(config-router)#network 172.27.155.0
Router1(config-router)#network 172.27.155.192
Router1(config-router)#^Z
Router1#
%SYS-5-CONFIG_I: Configured from console by console
RELAY
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#interface g0/0.10
Router1(config-subif)#ip helper-address 172.27.155.198
Router1(config-subif)#interface g0/0.20
Router1(config-subif)#ip helper-address 172.27.155.198
Router1(config-subif)#^Z
Router1#
ROUTER 2

Router2>enable
Router2#
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router2(config)#interface Serial0/1/0
Router2(config-if)#ip address 172.27.155.194 255.255.0.0
Router2(config-if)#ip address 172.27.155.194 255.255.255.252
Router2(config-if)#no shutdown
Router2(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

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


up

Router2(config-if)#exit
Router2(config)#interface Serial0/1/1
Router2(config-if)#ip address 172.27.155.197 255.255.255.252
Router2(config-if)#ip address 172.27.155.197 255.255.255.252
Router2(config-if)#no shutdown
Router2(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/1, changed state to


up

Router2 con0 is now available


Press RETURN to get started.

Router2>enable
Router2#
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router2(config)#interface GigabitEthernet0/0
Router2(config-if)#ip address 172.27.154.1 255.255.255.252
Router2(config-if)#ip address 172.27.154.1 255.255.255.128
Router2(config-if)#no shutdown
Router2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed


state to up

Router2 con0 is now available

Press RETURN to get started.


Router2>enable
Router2#con fig ter
% Ambiguous command: "con fig ter"
Router2#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router2(config)#router rip
Router2(config-router)#version 2
Router2(config-router)#net
Router2(config-router)#network 172.27.155.196
Router2(config-router)#network 172.27.154.0
Router2(config-router)#^Z
Router2#
%SYS-5-CONFIG_I: Configured from console by console
ROUTER 3

Router3>enable
Router3#
Router3#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router3(config)#interface Serial0/1/1
Router3(config-if)#ip address 172.27.155.198 255.255.0.0
Router3(config-if)#ip address 172.27.155.198 255.255.255.252
Router3(config-if)#no shutdown
Router3(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/1, changed state to


up

Router3(config-if)#exit
Router3(config)#interface Serial0/1/1
Router3(config-if)#
Router3(config-if)#exit
Router3(config)#interface Serial0/1/0
Router3(config-if)#ip address 172.27.155.201 255.255.255.252
Router3(config-if)#ip address 172.27.155.201 255.255.255.252
Router3(config-if)#no shutdown
Router3(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to
up

Router3 con0 is now available

Press RETURN to get started.

Router3>enable
Router3#
Router3#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router3(config)#interface GigabitEthernet0/0
Router3(config-if)#ip address 172.27.155.129 255.255.255.252
Router3(config-if)#ip address 172.27.155.129 255.255.255.252
Router3(config-if)#ip address 172.27.155.129 255.255.255.192
Router3(config-if)#no shutdown
Router3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed


state to up
ip address 172.27.155.129 255.255.255.192
Router3(config-if)#ip address 172.27.155.129 255.255.255.192
Router3(config-if)#
Router3 con0 is now available

Press RETURN to get started.

Router3>enable
Router3#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router3(config)#router rip
Router3(config-router)#version 2
Router3(config-router)#net
Router3(config-router)#network 172.27.155.200
Router3(config-router)#network 172.27.155.128
Router3(config-router)#^Z
Router3#
%SYS-5-CONFIG_I: Configured from console by console
ROUTER 4

SERVIDOR DHCP

Router3(config)#ip dhc
Router3(config)#ip dhcp ex
Router3(config)#ip dhcp excluded-address 172.27.154.129
Router3(config)#ip dhcp excluded-address 172.27.155.1
Router3(config)#ip dhcp
Router3(config)#ip dhcp pool VLAN10
Router3(dhcp-config)#172.27.154.128 255.255.255.128
^
% Invalid input detected at '^' marker.
Router3(dhcp-config)#NETWORK 172.27.154.128 255.255.255.128
Router3(dhcp-config)#defau
Router3(dhcp-config)#default-router 172.27.154.129
Router3(dhcp-config)#dns server 8.8.8.8
^
% Invalid input detected at '^' marker.
Router3(dhcp-config)#dns
Router3(dhcp-config)#dns-server 8.8.8.8
Router3(dhcp-config)#^Z
Router3#
%SYS-5-CONFIG_I: Configured from console by console

Router3#CONFIG TER
Enter configuration commands, one per line. End with CNTL/Z.
Router3(config)#ip dhcp pool VLAN20
Router3(dhcp-config)#NETWORK 172.27.155.0 255.255.255.128
Router3(dhcp-config)#defa
Router3(dhcp-config)#default-router 172.27.155.1
Router3(dhcp-config)#dn
Router3(dhcp-config)#dns-server 8.8.8.8
Router3(dhcp-config)#end
Router3#
%SYS-5-CONFIG_I: Configured from console by console

Router3 con0 is now available

Press RETURN to get started.


Router4>enable
Router4#
Router4#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router4(config)#interface Serial0/1/0
Router4(config-if)#
Router4(config-if)#exit
Router4(config)#interface Serial0/1/0
Router4(config-if)#ip address 172.27.155.202 255.255.0.0
Router4(config-if)#ip address 172.27.155.202 255.255.255.252
Router4(config-if)#no shutdown
Router4(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

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


up

Router4(config-if)#exit
Router4(config)#interface GigabitEthernet0/0
Router4(config-if)#ip address 172.27.155.192 255.255.255.252
Bad mask /30 for address 172.27.155.192
Router4(config-if)#no ip address
Router4(config-if)#ip address 172.27.155.205 255.255.255.252
Router4(config-if)#ip address 172.27.155.205 255.255.255.252
Router4(config-if)#no shutdown
Router4(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed


state to up

Router4 con0 is now available

Press RETURN to get started.


Router4>enbale
Translating "enbale"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address

Router4>enable
Router4#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router4(config)#router rip
Router4(config-router)#versi
Router4(config-router)#version 2
Router4(config-router)#net
Router4(config-router)#network 172.27.155.204^Z
Router4#
%SYS-5-CONFIG_I: Configured from console by console
SWITCH 4

Switch>enable
Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 30
Switch(config-vlan)#name TI
Switch(config-vlan)#EXIT
Switch(cvlan 30vlan 40
Switch(config-vlan)#name RRHH
Switch(config-vlan)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interfac
Switch(config)#interface ran
Switch(config)#interface range fa0/2-fa0/9
Switch(config-if-range)#swi
Switch(config-if-range)#switchport mode
Switch(config-if-range)#switchport mode cc
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switch
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#config ter
Enter configuration commands, one per line. End winterface range fa0/2-fa0/9interface
range fa0/10-fa0/20
Swswswitchport mode access switchport mode accinteswitchport access vlan
30switchport access vlan 40
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch con0 is now available

Press RETURN to get started.

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Switch2
Switch2(config)#
Switch2(config)#hostname Switch4
Switch4(config)#

SWITCH 5

Switch>ENABLE
Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 30
Switch(config-vlan)#name TI
Switch(config-vlan)#EXIT
Switch(cvlan 30vlan 40
Switch(config-vlan)#name RRHH
Switch(config-vlan)#exit
Switch(config)#
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed


state to down

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed


state to up

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed


state to down

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed


state to up

Switch(config)#INTERF
Switch(config)#INTERFace RANGE FA0/3-FA0/9
Switch(config-if-range)#SWI
Switch(config-if-range)#SWItchport MODE ACC
Switch(config-if-range)#SWItchport MODE ACCess
Switch(config-if-range)#sw
Switch(config-if-range)#switchport acc
Switch(config-if-ranINTERFace RANGE FA0/3-FA0/9INTERFace RANGE FA0/2-
FA0/9
Switch(config-if-range)#swit
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#swi
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by consolconfig terconfig ter
Enter configuration commands, one per line. End wINTERFace RANGE FA0/2-
FA0/9INTERFace RANGE FA0/10-FA0/20swswitchport mode access switchport mode
accINTEswitchport access vlan 30switchport access vlan 40
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
^Z
Switch#
Switch#sh vlan
Switch#sh vlan

VLAN Name Status Ports


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

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
40 enet 100040 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
--More--

Switch con0 is now available


Press RETURN to get started.

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Switch3
Switch3(config)#
Switch3(config)#
Switch3(config)#hostname Switch5
Switch5(config)#

Potrebbero piacerti anche