Router>enable Router#write erase Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK] Erase of nvram: complete %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram Router#reload Proceed with reload? [confirm]
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname NombreRouter NombreRouter(config)#exit NombreRouter# %SYS-5-CONFIG_I: Configured from console by console NombreRouter#exit
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface g0/0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shutdown Router(config-if)# %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up Router(config-if)#exit Router(config)#ip dhcp pool vlan1 Router(dhcp-config)#network 192.168.1.0 255.255.255.0 Router(dhcp-config)#default-router 192.168.1.1 Router(dhcp-config)#dns-server 8.8.8.8 Router(dhcp-config)#exit Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip dhcp excluded-address 192.168.1.1 Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console Router#exit
Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router#
Click en el pc Pestaña Desktop IP Configuration DHCP Esperar un poco y aparecerá la ip 192.168.1.x