Examen Práctico: Configuración Básica
Examen Práctico: Configuración Básica
End with CNTL/Z. Router(config)#hostname HQ HQ(config)#enable secret class HQ(config)#line console 0 HQ(config-line)#password cisco HQ(config-line)#login HQ(config-line)#exit HQ(config)#line vty 0 4 HQ(config-line)#password cisco HQ(config-line)#login HQ(config-line)#exit HQ(config)#banner motd #Unauthorized access is prohibited.# HQ(config)#interface fastEthernet 0/0 HQ(config-if)#ip address 10.10.10.1 255.255.255.192 HQ(config-if)#description LAN1 HQ(config-if)#no shutdown HQ(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 HQ(config-if)#exit HQ(config)#interface fastEthernet 0/1 HQ(config-if)#ip address 10.10.10.65 255.255.255.248 HQ(config-if)#description LAN2 HQ(config-if)#no shutdown HQ(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up HQ(config)#
Step 3: Configure S2 and Verify Connectivity. Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname S2 S2(config)#enable secret class S2(config)#line console 0 S2(config-line)#password cisco S2(config-line)#login S2(config-line)#exit S2(config)#line vty 0 4 S2(config-line)#password cisco S2(config-line)#login S2(config-line)#exit S2(config)#banner motd #Unauthorized access is prohibited.# S2(config)#interface vlan 1 S2(config-if)#ip address 10.10.10.2 255.255.255.192 S2(config-if)#no shutdown S2(config-if)# %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up S2(config-if)#exit S2(config)#ip default-gateway 10.10.10.1 S2(config)#exit S2# %SYS-5-CONFIG_I: Configured from console by console S2#ping 10.10.10.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 31/34/47 ms S2#write Building configuration... [OK] S2#