Cisco IOS configure router for DHCP VIA CLI - newbie help

Hello,

I am still a newbie and would like to know if anyone has an example of how to

1.) How can I enable/set DHCP on a Cisco 831 VIA the CLI? 2.) How can I set the L2 interfaces so I can upload the SDM? 3.) How can I set the username, password, and community string so I can

access the router VIA a TFTP/SNMP host?

I lost the IOS (newbie mistake) and when I use tftpdnld to upload my IOS, it doesn't let me access SDM. Any help would be appreciated!

THANK YOU in advance...

Daniel

Note - I posted this in another group, but it may not have been the right area. Thanks!

Reply to
indydano
Loading thread data ...

So did you reinstall IOS? If so, you need to add the SDM files in to the flash to make SDM work again.

formatting link
Explains the whole process

When in enable mode

conf t interface ethernet 0 ip address x.x.x.x 255.255.255.0

or

ip address dhcp

to set an address to start communication at the console. After that you can telnet to the box and install SDM per the instruction above.

Reply to
Phillip Remaker

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.