Sei sulla pagina 1di 5

Router>ENABLE

Router#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#HOSTNAME CURITIBA-DCE
CURITIBA-DCE(config)#^Z
CURITIBA-DCE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
CURITIBA-DCE#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
CURITIBA-DCE(config)#INT FA 0/0
CURITIBA-DCE(config-if)#IP ADD 192.168.5.1 255.255.255.0
CURITIBA-DCE(config-if)#NO SHUT
CURITIBA-DCE(config-if)#NO SHUTdown

CURITIBA-DCE(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

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


up
^Z
CURITIBA-DCE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
CURITIBA-DCE#PING 192.168.5.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.5.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/0 ms

DHCP REMOTO

conf term
Enter configuration commands, one per line. End with CNTL/Z.
PORTO-ALEGRE(config)#int fa 0/0.1
PORTO-ALEGRE(config-subif)#ip help
PORTO-ALEGRE(config-subif)#ip helper-address 200.200.200.1
PORTO-ALEGRE(config-subif)#int fa 0/0.2
PORTO-ALEGRE(config-subif)#ip helper-address 200.200.200.1
PORTO-ALEGRE(config-subif)#int fa 0/0.3
PORTO-ALEGRE(config-subif)#ip helper-address 200.200.200.1
PORTO-ALEGRE(config-subif)#no shutdown
PORTO-ALEGRE(config-subif)#^Z
PORTO-ALEGRE#

CURITIBA-DCE#PING 192.168.5.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.5.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
CURITIBA-DCE#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
CURITIBA-DCE(config)#INT SE 2/0
CURITIBA-DCE(config-if)#IP ADD 200.200.200.1 255.255.255.0
CURITIBA-DCE(config-if)#ENCAP PPP
CURITIBA-DCE(config-if)#CLOCK RATE 2000000
CURITIBA-DCE(config-if)#NO SHUT
CURITIBA-DCE(config-if)#NO SHUTdown

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


CURITIBA-DCE(config-if)#^Z
CURITIBA-DCE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
CURITIBA-DCE#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
CURITIBA-DCE(config)#ROUTE RIP
CURITIBA-DCE(config-router)#VERSION 2
CURITIBA-DCE(config-router)#NET
CURITIBA-DCE(config-router)#NETwork 192.168.5.0
CURITIBA-DCE(config-router)#NETwork 200.200.200.0
CURITIBA-DCE(config-router)#^Z
CURITIBA-DCE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
CURITIBA-DCE#

Router>ENA
Router>ENAble
Router#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#HOSTNAME PORTO-ALEGRE
PORTO-ALEGRE(config)#^Z
PORTO-ALEGRE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
PORTO-ALEGRE#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
PORTO-ALEGRE(config)#INT FA 0/0
PORTO-ALEGRE(config-if)#NO SHUTDOWN

PORTO-ALEGRE(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

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


up

PORTO-ALEGRE(config-if)#INT FA 0/0.1
PORTO-ALEGRE(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up

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


up
PORTO-ALEGRE(config-subif)#ENCAP DO
PORTO-ALEGRE(config-subif)#ENCAP DOt1Q 10
PORTO-ALEGRE(config-subif)#IP ADD 10.0.0.1 255.0.0.0
PORTO-ALEGRE(config-subif)#INT FA 0/0.2
PORTO-ALEGRE(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up

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


up

PORTO-ALEGRE(config-subif)#ENCAP
PORTO-ALEGRE(config-subif)#ENCAP dot1Q 20
PORTO-ALEGRE(config-subif)#IP ADD 20.0.0.1 255.0.0.0
PORTO-ALEGRE(config-subif)#INT FA 0/0.3
PORTO-ALEGRE(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up

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


up

PORTO-ALEGRE(config-subif)#ENCAP
PORTO-ALEGRE(config-subif)#ENCAP dot1Q 30
PORTO-ALEGRE(config-subif)#IP ADD 30.0.0.1 255.0.0.0
PORTO-ALEGRE(config-subif)#^Z
PORTO-ALEGRE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
PORTO-ALEGRE#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
PORTO-ALEGRE(config)#INT SE 2/0
PORTO-ALEGRE(config-if)#IP ADD 200.200.200.2 255.255.255.0
PORTO-ALEGRE(config-if)#ENCAP PPP
PORTO-ALEGRE(config-if)#NO SHU
PORTO-ALEGRE(config-if)#NO SHUtdown

PORTO-ALEGRE(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

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

PORTO-ALEGRE(config-if)#^Z
PORTO-ALEGRE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
PORTO-ALEGRE#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
PORTO-ALEGRE(config)#ROUTER RIP
PORTO-ALEGRE(config-router)#VERSION 2
PORTO-ALEGRE(config-router)#NET
PORTO-ALEGRE(config-router)#NETwork 10.0.0.0
PORTO-ALEGRE(config-router)#NETWO
PORTO-ALEGRE(config-router)#NETWOrk 20.0.0.0
PORTO-ALEGRE(config-router)#NET
PORTO-ALEGRE(config-router)#NETwork 30.0.0.0
PORTO-ALEGRE(config-router)#NET
PORTO-ALEGRE(config-router)#NETwork 200.200.200.0
PORTO-ALEGRE(config-router)#^Z
PORTO-ALEGRE#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
PORTO-ALEGRE#

Switch>ENABLE
Switch#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#VLAN 10
Switch(config-vlan)#NAME ELETRONICA
Switch(config-vlan)#VLAN 20
Switch(config-vlan)#NAME MECANICA
Switch(config-vlan)#VLAN 30
Switch(config-vlan)#NAME INFORMATICA
Switch(config-vlan)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
Switch#CONF TERM
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#INT FA 0/1
Switch(config-if)#SWI
Switch(config-if)#SWItchport MOD
Switch(config-if)#SWItchport MODe AC
Switch(config-if)#SWItchport MODe ACcess
Switch(config-if)#SWI
Switch(config-if)#SWItchport AC
Switch(config-if)#SWItchport ACcess VLAN 30
Switch(config-if)#INT FA 1/1
Switch(config-if)#SW
Switch(config-if)#SWitchport MO
Switch(config-if)#SWitchport MOde AC
Switch(config-if)#SWitchport MOde ACcess
Switch(config-if)#SWI
Switch(config-if)#SWItchport ACE
Switch(config-if)#SWItchport ACC
Switch(config-if)#SWItchport ACCess VLAN 20
Switch(config-if)#INT FA 2/1
Switch(config-if)#SWI
Switch(config-if)#SWItchport MOD
Switch(config-if)#SWItchport MODe AC
Switch(config-if)#SWItchport MODe ACcess
Switch(config-if)#SWI
Switch(config-if)#SWItchport AC
Switch(config-if)#SWItchport ACcess VLAN 10
Switch(config-if)#INT FA 3/1
Switch(config-if)#SW
Switch(config-if)#SWitchport MODE T
Switch(config-if)#SWitchport MODE Trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3/1, changed state to
down

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


up
SW
Switch(config-if)#SWitchport TRU
Switch(config-if)#SWitchport TRUnk ALL
Switch(config-if)#SWitchport TRUnk ALLowed VLAN 10,20,30
Switch(config-if)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
WR
Building configuration...
[OK]
Switch#

Potrebbero piacerti anche