Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts
| 0 comments ]

This section provides an example of the password recovery procedure. This example uses a Cisco 2500 Series Router.

Router>enable
Password:
Password:
Password:
% Bad secrets
Router>show version

Cisco Internetwork Operating System Software


IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)
RELEASE SOFTWARE (fc3)

Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade

Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.

Processor board ID 02315272, with hardware revision 00000000

Bridging software.

X.25 software, Version 3.0.0.

SuperLAT software (copyright 1990 by Meridian Technology Corp).

TN3270 Emulation software.

1 Ethernet/IEEE 802.3 interface(s)

1 Token Ring/IEEE 802.5 interface(s)

2 Serial network interface(s)

32K bytes of non-volatile configuration memory.

16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2102

!— This is the current value of the configuration register.

Router>

!— The router was just power cycled and during bootup
!— break sequence is sent to the router (CTRL+Break).


System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 16384 Kbytes of main memory

Abort at 0×10EA83C (PC)
>o
Configuration register = 0×2102 at last boot

!— You can also issue the o command at the ROMmon prompt
!— in order to view the configuration register settings value.

Bit# Configuration register option settings:
15 Diagnostic mode disabled
14 IP broadcasts do not have network numbers
13 Boot default ROM software if network boot fails
12-11 Console speed is 9600 baud
10 IP broadcasts with ones
08 Break disabled
07 OEM disabled
06 Ignore configuration disabled
03-00 Boot file is cisco2-2500 (or ‘boot system’ command)

>o/r 0×2142

!— Changes the value of config-register to 2142, so that
!— the router boots and ignores the NVRAM contents.

>i

!— Initializes or resets the router; the
!— router boots with the default configuration.

System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 8192 Kbytes of main memory
F3: 13626872+197596+780568 at 0×3000060
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000
cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
— System Configuration Dialog —
Would you like to enter the initial configuration dialog? [yes/no]:

!— Ctrl+C pressed.

!
Press RETURN to get started!
00:00:08: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
00:00:08: %LINK-3-UPDOWN: Interface Serial0, changed state to up
00:00:08: %LINK-3-UPDOWN: Interface Serial1, changed state to up
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to up
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up
00:01:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to up
00:01:29: %LINK-3-UPDOWN: Interface Ethernet0Translating “Router”…
domain server (255.255.255.255), changed state to up
00:01:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up
00:01:31: %SYS-5-RESTART: System restarted –
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
00:01:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to down
00:01:33: %LINK-5-CHANGED: Interface Ethernet0, changed state to

administratively down

00:01:33: %LINK-5-CHANGED: Interface Serial0, changed state to

administratively down
00:01:33: %LINK-5-CHANGED: Interface Serial1, changed state to
administratively down
00:01:33: %LINK-5-CHANGED: Interface TokenRing0, changed state to

administratively down

00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to down
00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to down
00:01:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface TokenRing0,
changed state to down
Router>enable
Router#copy startup-config running-config
Destination filename [running-config]?

!— Press ENTER.

1278 bytes copied in 10.448 secs (127 bytes/sec)

Note: After you copy the configuration file from NVRAM to RAM, based on how the password is last configured, you can either:

* perform a password recovery, if the enable password is configured (which is in plain text format)

or
* perform a password replacement, if the enable secret password is configured (which is in encrypted format)

In order to check the format in which the password is configured on the router, use the show running-config command, and look for enable password or enable secret password in the configuration.

Password Replacement
This output from the show running-config command shows that the enable secret password is configured. As a result, you can perform password replacement as shown in this example.

Router#show running-config

!— This command can be used to view the unencrypted password.

Building configuration…

Current configuration : 431 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable password XxXxXx

!— Here the password is plain clear text. We can either maintain
!— the same password or replace with a new password for security reasons.

!— Output Suppressed.

This output from the show running-config command shows that the enable secret password is configured. As a result, you can perform password replacement as shown in this example.

Router#show running-config
Building configuration…
Current configuration : 835 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$Oea234/6Ppi0PZYzAj/vX0
!— Password replacement has to be done as the password is in encrypted format.

!— Output suppressed.

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret xxxxxxx
Router(config)#
00:03:39: %SYS-5-CONFIG_I: Configured from console by console

When the password recovery or replacement is complete, the next steps are the same, as shown in this example output:

Router#show ip interface brief

Router(config)#interface ethernet 0
Router(config-if)#no shutdown
*Mar 1 00:04:12.863: %LINK-3-UPDOWN: Interface Ethernet0,
changed state to up
*Mar 1 00:04:13.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0,
changed state to up
Router(config-if)#interface serial 0
Router(config-if)#no shutdown
*Mar 1 00:04:18.107: %LINK-3-UPDOWN: Interface Serial0,
changed state to up
*Mar 1 00:04:19.167: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to up
Router(config-if)#interface serial 1
Router(config-if)#no shutdown
Router(config-if)#
*Mar 1 00:04:27.055: %LINK-3-UPDOWN: Interface Serial1,
changed state to up
*Mar 1 00:04:28.071: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to up #
Router(config-if)#^Z
Router#
00:02:35: %SYS-5-CONFIG_I: Configured from console by console
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]

After you recover or replace the password, you must reset the configuration register value to 0×2102, which was changed earlier in the procedure to 0×2142 in order to ignore the startup configuration and boot the router. In order to verify the configuration register value, issue the show version command.

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2142

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0×2102

!— The config-register is changed back to load the router
!— with NVRAM configuration.

Router(config)#^Z
00:03:20: %SYS-5-CONFIG_I: Configured from console by console

When you issue the config-reg 0×2102 command, the new configuration register value is not immediately applied. The new value is applied only after the router is reloaded. The show version command shows the current value (0×2142) and the value that will be applied after the next reload (0×2102).

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by power-on
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0×2142 (will be 0×2102 at next reload)
Router#

After you save the configuration, reload the router, and verify the configuration register value is 0×2102, as shown in this example:

Router#write memory
*Mar 1 00:05:09.035: %SYS-5-CONFIG_I: Configured from console by console
Building configuration…
[OK]
Router#
Router#reload
Proceed with reload? [confirm]

!— Press Enter to continue.

!— Starts to load the Cisco IOS from Flash and takes the configuration from the NVRAM.

00:17:36: %SYS-5-RELOAD: Reload requested by console.

System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 14336 Kbytes of main memory

F3: 15011856+968960+947120 at 0×3000060


!— Output suppressed.

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 2500 Software (C2500-JS-L), Version 12.2(24a)RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 28-May-04 19:30 by pwade
Image text-base: 0×0306C4E0, data-base: 0×00001000

ROM: System Bootstrap, Version 11.0(10c), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes
System returned to ROM by reload
System image file is “flash:/c2500-js-l.122-24a.bin”

cisco 2500 (68030) processor (revision D) with 14336K/2048K bytes of memory.
Processor board ID 02315272, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0×2102

Router#

Readmore »»
| 0 comments ]

Ketika kita lupa akan password console ataupun telnet dari cisco catalyst switch, kita dapat mereset password tersebut sehingga bisa berfungsi kembali. Perlu diperhatikan bahwa alangkah baiknya untuk selalu melakukan backup terhadap konfigurasi router ataupun catalyst, karena ketika kita mereset konfigurasi sebelumnya akan hilang. Hal yang bisa dilakukan adalah



Step 1 .

Sambungkan kabel console terminal PC dengn konfigurasi sbb:

9600 baud rate
No parity
8 data bits
1 stop bit
No flow control

Step 2 .
Matikan power switch

Tekan mode button pada sisi kiri catalyst hingga port 1x tidak berkelip.Akan muncul tampilan seperti ini :

The system has been interrupted prior to initializing the flash file system.The following commands will initialize the flash file system, and finish loading
the operating system software:

flash_init
load_helper
boot

Step 3 .

Lakukan secara berurutan :

Ketik flash_init

Ketik load_helper

Ketik dir flash:

Akan muncul tampilan :

Directory of flash:
2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA
4 drwx 3776 Mar 01 1993 01:23:24 html
66 -rwx 130 Jan 01 1970 00:01:19 env_vars
68 -rwx 1296 Mar 01 1993 06:55:51 config.text
1728000 bytes total (456704 bytes free)

config.text adalah file configurasi sebelumnya yang tersimpan dalam flash dan akan diload oleh switch ketika startup.

Step 4 .

Ketik rename flash:config.text flash:config.old untuk merubah nama file configurasi yang ada sekarang menjadi config.old

Ketik boot untuk mem-booting system

Step 5 .

Switch kemudian akan memunculkan :

Continue with the configuration dialog? [yes/no] : N <—- isi dengan No

Step 6 .

Pada switch prompt ketik en untuk masuk ke enable mode.

Ketik rename flash:config.old flash:config.text untuk merubah file konfigurasi dengan nama yang asli (yaitu config.text)

Copy file konfigurasi ke memory:

Switch# copy flash:config.text system:running-config
Source filename [config.text]? (press Return)
Destination filename [running-config]? (press Return)

Step 7 .

myswitch#configure terminal
myswitch(config)#no enable secret
!– This step is necessary if the switch had an enable secret password
myswitch(config)#enable password Cisco
myswitch#(config)#^Z
!–Control/Z

Hapus semua password telnet .

Step 8 .

Simpan dimemory konfigurasi yang ada

switch#write memory

Source : http://restama.com/ebook/reset-password-cisco/

Readmore »»
| 0 comments ]

This document describes the procedure for recovering enable password or enable secret passwords. These passwords are used to protect access to privileged EXEC and configuration modes. The enable password password can be recovered, but the enable secret password is encrypted and can only be replaced with a new password using the procedure below.

This password recovery procedure can also be used for the following products:


* Cisco 806
* Cisco 827
* Cisco uBR900
* Cisco 1003
* Cisco 1004
* Cisco 1005
* Cisco 1400
* Cisco 1600
* Cisco 1700
* Cisco 2600
* Cisco 3600
* Cisco 4500
* Cisco 4700
* Cisco AS5×00
* Cisco 6×00
* Cisco 7000 (RSP7000)
* Cisco 7100
* Cisco 7200
* Cisco 7500
* Cisco uBR7100
* Cisco uBR7200
* Cisco uBR10000
* Cisco 12000
* Cisco LS1010
* Catalyst 2948G-L3
* Catalyst 4840G
* Catalyst 4908G-L3
* Catalyst 5500 (RSM)
* Catalyst 8510-CSR
* Catalyst 8510-MSR
* Catalyst 8540-CSR
* Catalyst 8540-MSR
* Cisco MC3810
* Cisco NI-2
* Cisco VG200 Analog Gateway
* Route Processor Module

Step-by-Step Procedure

Follow this procedure to recover the enable password or enable secret passwords.

1. Attach a terminal or PC with terminal emulation to the console port of the router. Use the following terminal settings:

9600 baud rate
No parity
8 data bits
1 stop bit
No flow control

2. If you still have access to the router, type show version and record the setting of the configuration register; it is usually 0×2102 or 0×102. Click here to see the output of a show version command.

3. If you don’t have access to the router (because of a lost login or tacacs password), you can safely consider that your configuration register is set to 0×2102.

4. Using the power switch, turn off the router and then turn it back on.
Important: To simulate step 4 on a Cisco 6400, pull out and then replace the Node Route Processor (NRP) or Node Switch Processor (NSP) card.
To simulate step 4 on a Cisco 6×00 using NI-2, pull out and then replace the NI-2 card.

5. Press Break on the terminal keyboard within 60 seconds of the power-up to put the router into ROMMON.
If the break sequence doesn’t work, see Standard Break Key Sequence Combinations During Password Recovery for other key combinations.

6. Type confreg 0×2142 at the rommon 1> prompt to boot from Flash without loading the startup configuration from the nonvolatile RAM (NVRAM).

7. Type reset at the rommon 2> prompt.
The router reboots but ignores its saved configuration.

8. Type no after each setup question or press Ctrl-C to skip the initial setup procedure.

9. Type enable at the Router> prompt.
This puts you in enable mode where you can see the Router# prompt.

10. Important: Type configure memory or copy startup-config running-config to copy the NVRAM into memory. Do not type configure terminal or copy running-config startup-config or write memory. This erases the router configuration stored in the NVRAM.

11. Type write terminal or show running-config.
The show running-config and write terminal commands show the configuration of the router. In this configuration, you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. Also, you can see the passwords (enable password, enable secret, vty, console passwords, and so on) either in encrypted or unencrypted format. The unencrypted passwords can be re-used; the encrypted ones have to be replaced with new passwords.

12. Type configure terminal and make the changes.
The prompt is now hostname(config)#.

13. Type enable secret < password > to change the enable secret password, for example.

14. Issue the no shutdown command on every interface that is used. If you issue a show ip interface brief command, once you exit the configuration mode (Ctrl-z), every interface that you want to use should be “up up”.

15. Type config-register 0×2102, or the value you recorded in step 2. This makes the router load the startup configuration from the NVRAM during the next reload.

16. Press Ctrl-z or End to leave the configuration mode.
The prompt is now hostname#.

17. Type write memory or copy running-config startup-config to commit the changes.

Sample Output
The sample output shown here is the result of the password recovery procedure on a Cisco 4700 Series Router. Even if you are not using a 4700 router, this example should be almost exactly what you experience on your device.

Router>enable

Password:

Password:

Password:

% Bad secrets

Router>show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000

ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)

BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10),
RELEASE SOFTWARE (fc1)

Router uptime is 0 minutes

System returned to ROMby reload at 17:34:58 UTC Tue Aug 1 1995

System image file is “flash:c4500-is-mz.122-10b.bin”

cisco 4700 (R4K) processor (revision B) with 32768K/16384K bytes of memory.

Processor board ID 02169303

R4600 CPU at 133Mhz, Implementation 32, Rev 2.0, 512KB L2 Cache

G.703/E1 software, Version 1.0.

Bridging software.

X.25 software, Version 3.0.0.

6 Ethernet/IEEE 802.3 interface(s)

8 Serial network interface(s)

128K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash (Read/Write)

4096K bytes of processor board Boot flash (Read/Write)

Configuration register is 0×2102

Router>

!— The router was just powercycled and during bootup a
!—break sequence was sent to the router.

!

monitor: command “cisco2-C4500″ aborted due to user interrupt

>

>confreg 0×2142

You must reset or power cycle for new config to take effect

>reset

System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)

Copyright (c) 1995 by cisco Systems, Inc.

C4500 processor with 32768 Kbytes of main memory

Self decompressing the image : ##################################

#######################################################

################################# [OK]

program load complete, entrypt: 0×80008000, size: 0×6a6b30

Self decompressing the image : ################################

#################################### [OK]

Restricted Rights Legend

…….

< ...snip>

……

— System Configuration Dialog —

Would you like to enter the initial configuration dialog?[yes/no]:n

Press RETURN to get started!

00:00:05: %LINK-3-UPDOWN: Interface Serial0, changed state to down
…… < ..snip>

00:01:29: %LINK-5-CHANGED: Interface Ethernet5, changed state to
administratively down

Router>

Router>enable
Router#copy startup-config running-config
Destination filename [running-config]?

1012 bytes copied in 0.276 secs (3667 bytes/sec)

Router#show running-config
Building configuration…
Current configuration : 1084 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$uQ7K$rfZtMRsWsFagqsW4/9K0b1

!— Since the password is encrypted, we need to replace
!— the password with the new one.

!
ip subnet-zero
!
!
!
!
interface Ethernet0
ip address 10.10.10.1 255.0.0.0
media-type 10BaseT
!
interface Ethernet1
no ip address
shutdown
media-type 10BaseT
!
Ouput Omitted
!
interface Serial0
ip address 172.16.1.1 255.255.0.0
!
Ouput Omitted
!
ip classless
no ip http server
ip pim bidir-enable
!
!
line con 0
line aux 0
line vty 0 4
login
!
end

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#enable secret < password > [Choose a strong password with at least one capital letter, one number, and one special character.]

Router(config)#^Z

00:05:23: %SYS-5-CONFIG_I: Configured from console by console

Router#show ip interface brief

…< ...output omitted>

Router#

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#interface ethernet 0

Router(config-if)#no shutdown

Router(config-if)#

00:08:06: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up

Router(config-if)#^Z

Router#

00:09:21: %SYS-5-CONFIG_I: Configured from console by console

Router#

Router#

Router#copy running-config startup-config

Destination filename [startup-config]?

Building configuration…

[OK]

Router#show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000

ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)

BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10), RELEASE SOFTWARE(fc1)
Router uptime is 10 minutes

……< ..snip>

……

8192K bytes of processor board System flash (Read/Write)

4096K bytes of processor board Boot flash (Read/Write)

Configuration register is 0×2142

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0×2102
Router(config)#^Z
Router#show version
Cisco Internetwork Operating System Software
IOS ™ 4500 Software (C4500-IS-M), Version 12.2(10b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 17:29 by pwade
Image text-base: 0×60008948, data-base: 0×60C74000

ROM: System Bootstrap, Version 5.2(7b) [mkamson 7b], RELEASE SOFTWARE (fc1)

BOOTLDR: 4500 Software (C4500-BOOT-M), Version 11.3(10), RELEASE SOFTWARE (fc1)

Router uptime is 11 minutes

…….< ..snip>

……

00:11:02: %SYS-5-CONFIG_I: Configured from console 4096K bytes of processor board
Boot flash (Read/Write)

Configuration register is 0×2142 (will be 0×2102 at next reload)

Source: cisco.com

Readmore »»
| 1 comments ]

Setiap jaringan komputer membutuhkan yang namanya konsentrator baik HUB maupun Switch. Ada dua macam switch, yaitu Manageable dan UnManageable. Switch manageable jauh lebih smart dibandingkan switch unmanageable. Switch Manageable dapat kita konfigurasi sesuai dengan design jaringan kita agar lebih efesien dan maksimal, karena switch ini memiliki sistem operasi sendiri layaknya komputer.

Kemampuan Switch Manageable antara lain:
- Penyempitan broadcast jaringan dengan VLAN sehingga akses dapat lebih cepat.
- Pengaturan akses user dengan access-list untuk menjaga keamanan jaringan.
- Pengaturan port
- Mempermudah monitoring traffic dan maintanance network

Beberapa merk swicth manageable antara lain : Cisco, 3COM, Dlink.
Berikut contoh implementasi penggunaan Cisco Switch :

Cara konfigurasinya sebagai berikut:
  • Pasang kabel consele cisco ke port serial (com) Komputer
  • Nyalakan Switch, setelah proses booting selesai akan muncul prompt "Switch>", ketik "enable", prompt akan berubah menjadi "Switch#"
  • Konfigurasi Ciscco Switch :
    • Setting nama perangkat (hostname)
      • ketik : config terminal (enter) , prompt akan berubah menjadi Swtich(config)#
      • ketik : hostname SWTICH_01, prompt akan berubah menjadi SWITCH_01(config)#
    • Setting banner, user dan password untuk proteksi switch pada saat user akan masuk ke switch via console dan telnet
      • masih pada prompt SWITCH_01(config)# , ketik : banner "Latihan Cisco Switch" (enter)
      • Untuk setting user dan priveledge password:
        • SWITCH_01(config)#username cisco pasword latihan
        • SWITCH_01(config)#enable password latihan
        • SWITCH_01(config)#line console 0
        • SWITCH_01(config-line)#login local
        • SWITCH_01(config-line)#exit
        • SWITCH_01(config)#line vty 0 4
        • SWITCH_01(config-line)#login local
        • SWITCH_01(config-line)#exit
        • SWITCH_01(config)exit
        • SWITCH_01#write memory
      • Konfigurasi VLAN
        • VLAN 100 : SERVER
        • VLAN 200 : DIREKSI
        • VLAN 300 : ACCOUNTING
        • VLAN 400 : TEKNIK
        • VLAN 500 : STAFF
        • Untuk melakukan konfigurasi VLAN, ikuti langkah-langkah berikut :
          • SWITCH_01#vlan database
          • SWITCH_01(vlan)#vlan 100 name SERVER
          • SWITCH_01(vlan)#vlan 200 name DIREKSI
          • SWITCH_01(vlan)#vlan 300 name ACCOUNTING
          • SWITCH_01(vlan)#vlan 400 name STAFF
          • SWITCH_01(vlan)#exit
          • SWITCH_01#config terminal
          • SWITCH_01(config)#interface vlan 1
          • SWITCH_01(config-if)#no management
          • SWITCH_01(config-if)#no shutdown
          • SWITCH_01(config-if)#exit
          • SWITCH_01(config)#interface vlan 100
          • SWITCH_01(config-subif)#descreption VLAN SERVER
          • SWITCH_01(config-subif)#ip address 192.168.0.1 255.255.255.0
          • SWITCH_01(config-subif)#no shutdown
          • SWITCH_01(config-subid)#exit
          • SWITCH_01(config)interface vlan 200
          • SWITCH_01(config-subif)#descreption VLAN DIREKTUR
          • SWITCH_01(config-subif)#no shutdown
          • SWITCH_01(config-subid)#exit
          • SWITCH_01(config)interface vlan 300
          • SWITCH_01(config-subif)#descreption VLAN ACCOUNTING
          • SWITCH_01(config-subif)#no shutdown
          • SWITCH_01(config-subid)#exit
          • SWITCH_01(config)interface vlan 400
          • SWITCH_01(config-subif)#descreption VLAN TEKNIK
          • SWITCH_01(config-subif)#ip address 192.168.0.100 255.255.255.0
          • SWITCH_01(config-subif)#no shutdown
          • SWITCH_01(config-subid)#exit
          • SWITCH_01(config)interface vlan 500
          • SWITCH_01(config-subif)#descreption VLAN STAFF
          • SWITCH_01(config-subif)#no shutdown
          • SWITCH_01(config-subid)#exit
      • Setting mode interface swtich sebagai access atau trunk
        • Interface FastEthernet 0/1 : Access VLAN 100
        • Interface FastEthernet 0/2 : Access VLAN 200
        • Interface FastEthernet 0/3 : Access VLAN 300
        • Interface FastEthernet 0/4 : Access VLAN 400
        • Interface FastEthernet 0/5 : Access VLAN 500
        • Interface FastEthernet 0/24 : Trunk
        • Untuk settingnya sebagai berikut :
          • SWITCH_01#config terminal
          • SWITCH_01(config)#interface fastethernet 0/1
          • SWITCH_01(config-if)#switchport mode access
          • SWITCH_01(config-if)#switchport access vlan 100
          • SWITCH_01(config-if)#no shutdown
          • SWITCH_01(config-if)#exit
          • SWITCH_01(config)#interface fastethernet 0/2
          • SWITCH_01(config-if)#switchport mode access
          • SWITCH_01(config-if)switchport access vlan 200
          • SWITCH_01(config-if)#no shutdown
          • SWITCH_01(config-if)exit
          • SWITCH_01(config)#interface fastethernet 0/3
          • SWITCH_01(config-if)#switchport mode access
          • SWITCH_01(config-if)#switchport access vlan 300
          • SWITCH_01(config-if)#no shutdown
          • SWITCH_01(config-if)#exit
          • SWITCH_01(config)#interface fastethernet 0/4
          • SWITCH_01(config-if)#swtichport mode access
          • SWITCH_01(config-if)#switchport mode vlan 400
          • SWITCH_01(config-if)#no shutdown
          • SWITCH_01(config-if)exit
          • SWITCH_01(config)#interface fastethernet 0/24
          • SWITCH_01(config-if)#switchport mode trunk
          • SWITCH_01(config-if)#switchport trunk encapsulation dot1q
          • SWITCH_01(config-if)#switchport trunk allowed vlan all
          • SWITCH_01(config-if)#no shutdown
          • SWITCH_01(config-if)#exit
          • SWITCH_01(config)#exit
          • SWITCH_01#write memory
        • Untuk melihat hasil konfigurasi vlan, ketik : show vlan
met otak-atik cisco switch, semoga bermanfaat...

Readmore »»