configuraciones iniciales de routers

  1. Configure the device name. Router(config)# hostname
  2. Secure privileged EXEC mode. Router(config)# enable secret password
  3. Secure user EXEC mode. Router(config)# line console 0
    Router(config-line)# password password
    Router(config-line)# login
  4. Secure remote Telnet / SSH access. Router(config-line)# line vty 0 4 Router(config-line)# password password Router(config-line)# login Router(config-line)# transport input {ssh | telnet}
  5. Secure all passwords in the config file. Router(config-line)# exit  Router(config)# service password-encryption
  6. Provide legal notification. Router(config)# banner motd delimiter message delimiter
  7. Save the configuration. Router(config)# end Router# copy running-config startup-config

(user EXEC) => enable (privileged EXEC) => configure terminal(global configuration)

practice

  • Configure the device name.
    • enable
    • configure terminal
    • hostname BenjaRouter
  • Secure the privileged EXEC mode.
    • enable secret passwordsecreta
  • Secure and enable remote SSH and Telnet access.
    • line vty 0 4
    • password cisco
    • login
    • transport input ssh telnet
    • exit
  • Secure all plaintext passwords.
    • service password-encryption
  • Provide legal notification.
    • banner motd #SOLO ACCESO AUTORIZADO#

configuracion de interfaces

Router(config)# interface type-and-number Router(config-if)# description description-text Router(config-if)# ip address ipv4-address subnet-mask Router(config-if)# ipv6 address ipv6-address/prefix-length Router(config-if)# no shutdown

el comando “description” no es requerido para habilitar una interfaz, pero es buena practica usarlo. usar el comando “no shutdow” activa la interfaz y es similar a encender la interfaz, ademas la interfaz debera estar conectada a otro dispositivo para estar activa.

mostrar configuracion de interfaces: R1# show ip interface brief R1# show ipv6 interface brief

Pasted image 20260513151421.png

para setear el default gateway, se usa el siguiente comando: S1#configure terminal S1(config)#ip default-gateway 192.168.10.1

lab

Use the following passwords: 1)    Privileged EXEC, unencrypted: cisco 2)    Privileged EXEC, encrypted: itsasecret 3)    Console: letmein

Router(config)# enable password cisco
Router(config)# enable secret itsasecret
Router(config)# line console 0
Router(config-line)# password letmein
Router(config-line)# login
Router(config-line)# exit
Router(config)# end

Although you will be learning more about managing the flash storage in a router in later chapters, you may be interested to know that, as an added backup procedure, you can save your startup configuration file to flash. By default, the router still loads the startup configuration from NVRAM, but if NVRAM becomes corrupt, you can restore the startup configuration by copying it over from flash.

R1# copy startup-config flash

ModoPrompt que aparece
User EXEC modeR1>
Privileged EXEC modeR1#
Global configuration modeR1(config)#
Interface configuration modeR1(config-if)#
Line configuration modeR1(config-line)#
Which destination address is used in an ARP request frame?
Kysymys 20Vastaus
a. the physical address of the destination host
b. AAAA.AAAA.AAAA
c. FFFF.FFFF.FFFF
d. 255.255.255.255
e. 0.0.0.0

Where are IPv4 address to Layer 2 Ethernet address mappings maintained on a host computer? Kysymys 26Vastaus a. MAC address table b. neighbor table c. routing table d. ARP cache

Where are IPv4 address to Layer 2 Ethernet address mappings maintained on a host computer? Kysymys 26Vastaus a. MAC address table b. neighbor table c. routing table d. ARP cache

What are two functions of NVRAM? (Choose two.) Kysymys 30Vastaus a. to store the ARP table b. to store the routing table c. to contain the running configuration file d. to retain contents when power is removed e. to store the startup configuration file

The global configuration command ip default-gateway 172.16.100.1 is applied to a switch. What is the effect of this command? Kysymys 32Vastaus a. The switch can communicate with other hosts on the 172.16.100.0 network b. The switch will have a management interface with the address 172.16.100.1 c. The switch can be remotely managed from a host on another network d. The switch is limited to sending and receiving frames to and from the gateway 172.16.100.1

What property of ARP causes cached IP-to-MAC mappings to remain in memory longer? Kysymys 51Vastaus a. The port-to-MAC address table on a switch has the same entries as the ARP table on the switch b. The type field 0x806 appears in the header of the Ethernet frame c. Entries in an ARP table are time-stamped and are purged after the timeout expires d. A static IP-to-MAC address entry can be entered manually into an ARP table

Kysymysteksti

Which parameter does the router use to choose the path to the destination when there are multiple routes available? Kysymys 61Vastaus a. the higher gateway IP address to get to the destination network b. the lower gateway IP address to get to the destination network c. the higher metric value that is associated with the destination network d. the lower metric value that is associated with the destination network