Hapus Config Router Dan Switch Lewat Rommon

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Cara Reset router di rommon.

Attempt to break into ROM Monitor (ROMmon) by issuing the break sequence
(usually Ctrl and break from the Hyperterminal) from a console connection.

1. You should see this ROMmon prompt:

rommon 1>

2. Change the configure register value to ignore the startup configuration by issuing
the confreg command, as shown in this example:

rommon 2> confreg 0x2142

3. To reload the router, issue the reset command, as shown in this example:

rommon 3> reset

4. After the router boots, issue the enable command at the Router > prompt. The prompt
changes to Router#, indicating that the router is now in privileged mode.
5. To enter config mode, issue the config terminal command. You should now see
a Router(config)# prompt.
6. Ketik Write erase. Enter.. setelah itu langsung matikan routernya.(power off)
Cara menghapus config di Switch:

1. Tekan tombol didepan switch mode button (sebelah kiri) kemudian masukan Kabel power ke
switch.. tunggu sampai keluar di Console screen

Step 1.

Connect up your console cable and power on the switch, whilst holding down the “mode”
button:

This interrupts the boot process before the Flash file system can initialize, and after a short
while (continue holding the “mode” button) you will see the following prompt:

Using driver version 1 for media type 1

Base ethernet MAC Address: 4c:30:2d:81:ef:80

Xmodem file system is available.

The password-recovery mechanism is enabled.

The system has been interrupted prior to initializing the

flash filesystem. The following commands will initialize

the flash filesystem, and finish loading the operating

system software:

flash_init

boot
switch:

Step 2.

Initialize the flash file system with the command: flash_init

switch: flash_init

Initializing Flash...

mifs[2]: 10 files, 1 directories

mifs[2]: Total bytes : 1806336

mifs[2]: Bytes used : 612352

mifs[2]: Bytes available : 1193984

mifs[2]: mifs fsck took 1 seconds.

mifs[3]: 0 files, 1 directories

mifs[3]: Total bytes : 3870720

mifs[3]: Bytes used : 1024

mifs[3]: Bytes available : 3869696

mifs[3]: mifs fsck took 0 seconds.

mifs[4]: 5 files, 1 directories

mifs[4]: Total bytes : 258048

mifs[4]: Bytes used : 9216

mifs[4]: Bytes available : 248832

mifs[4]: mifs fsck took 0 seconds.


mifs[5]: 5 files, 1 directories

mifs[5]: Total bytes : 258048

mifs[5]: Bytes used : 9216

mifs[5]: Bytes available : 248832

mifs[5]: mifs fsck took 1 seconds.

-- MORE --

mifs[6]: 566 files, 19 directories

mifs[6]: Total bytes : 57931776

mifs[6]: Bytes used : 28429312

mifs[6]: Bytes available : 29502464

mifs[6]: mifs fsck took 21 seconds.

...done Initializing Flash.

Step 3.

Delete the config.text file from the flash directory:

switch: del flash:config.text

Are you sure you want to delete "flash:config.text" (y/n)?y

File "flash:config.text" deleted

Setelah Itu power off switch.

You might also like