Untuk menghapus semua configurasi pada cisco switch.
Switch>en
Switch#write erase --------> menghapus semua configurasi
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
Switch#write --------> save configurasi
Switch#reload --------> restart switch
Friday, September 14, 2012
Cisco Switch Password Reset
1. Turn off the switch and Plug in your console cable from your computer to the switch
2. Turn on the switch and hold the "MODE" button (should on the front panel of the switch)
3. On the screen you should see this text : "switch :"
4. Here we go for the code :
switch:init_flash -----------------> to initialize your Cisco Flash.
Initializing Flash...
The flash is already initialized.
switch:load_helper ----------------> To run boot helper image
switch:dir flash: --------------------> To see the files on the flash directory
Directory of flash:/
2 -rwx 5 private-config.text
3 -rwx 110 info
4 -rwx 976 vlan.dat
6 -rwx 286 env_vars
26 -rwx 1592 config.text
8 drwx 1088 html
4393472 bytes available (3347968 bytes used)
switch:rename flash:config.text flash:config.old----------------> (So that the it will boot a new config without password).
switch: boot ------------> Reboot the switch
Note : The switch will create a new config file without a passport. The below config is to create a new password and set back the old config file.
switch:en
switch#sh flash:
Directory of flash:/
2 -rwx 2995584 Jan 01 1970 00:24:14 c3550-i9q3l2-mz.121-11.EA1.bin
3 -rwx 0 Jan 01 1970 00:24:36 system_env_vars
4 -rwx 1036 Mar 08 1993 14:03:45 vlan.dat
5 -rwx 0 Jan 01 1970 00:24:36 env_vars
6 -rwx 5 Mar 01 1993 01:07:50 private-config.text
8 -rwx 4715 Mar 01 1993 01:07:50 config.old
switch#rename flash:config.old flash:config.text -------> Set back the config file.
switch#copy running-config flash: ----->To set the boot loader.
switch#write -------------> Save all your configuration.
switch#boot
2. Turn on the switch and hold the "MODE" button (should on the front panel of the switch)
3. On the screen you should see this text : "switch :"
4. Here we go for the code :
switch:init_flash -----------------> to initialize your Cisco Flash.
Initializing Flash...
The flash is already initialized.
switch:load_helper ----------------> To run boot helper image
switch:dir flash: --------------------> To see the files on the flash directory
Directory of flash:/
2 -rwx 5
3 -rwx 110
4 -rwx 976
6 -rwx 286
26 -rwx 1592
8 drwx 1088
4393472 bytes available (3347968 bytes used)
switch:rename flash:config.text flash:config.old----------------> (So that the it will boot a new config without password).
switch: boot ------------> Reboot the switch
Note : The switch will create a new config file without a passport. The below config is to create a new password and set back the old config file.
switch:en
switch#sh flash:
Directory of flash:/
2 -rwx 2995584 Jan 01 1970 00:24:14 c3550-i9q3l2-mz.121-11.EA1.bin
3 -rwx 0 Jan 01 1970 00:24:36 system_env_vars
4 -rwx 1036 Mar 08 1993 14:03:45 vlan.dat
5 -rwx 0 Jan 01 1970 00:24:36 env_vars
6 -rwx 5 Mar 01 1993 01:07:50 private-config.text
8 -rwx 4715 Mar 01 1993 01:07:50 config.old
switch#rename flash:config.old flash:config.text -------> Set back the config file.
switch#copy running-config flash: ----->To set the boot loader.
switch#write -------------> Save all your configuration.
switch#boot
Thursday, September 13, 2012
Cisco VLAN Important Notes
Setelah VLAN di assign ke client perhatikan hal-hal di bawah ini :
1. Firewall setting harus di rubah karena gateway yang digunakan di client menggunakan gateway VLAN seperti ip forwarding, dll.
2. Network Browse, service Computer Browse harus di start pada DHCP server agar client bisa saling explore computer lain walaupun berada di vlan yang berbeda..
VLAN Cisco
Contoh settingan Cisco VLAN :
Switch#Vlan database
Switch(vlan)#vlan 8 name Office -----> angka "8" dan "office" bisa di ganti sesuai keinginan dan kebutuhan
Switch(vlan)#exit
Switch#write -----> save config
Switch#conf t -----> untuk masuk ke mode configurasi
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface FastEthernet0/7 ---> Interface pada switch
Switch(config-if)#switchport access vlan 8 ---> assign port ini ke VLAN8
SSwitch(config-if)#switchport mode access ---> mode port nya sebagai Access
Switch(config-if)#switchport voice vlan 100 ---> untuk IP Phone otomatis masuk ke vlan100
Switch(config-if)#spanning-tree portfast
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Building configuration...
[OK]
Switch#
Kemudian setting Gateway di setiap vlan yang ada untuk di jadikan sebagai gateway pada computer client :
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface vlan8 ----> masuk ke interface vlan yang di inginkan
Switch(config-if)#ip address 192.168.1.254 255.255.255.0 ----> masukkan IP Address yang di inginkan
Switch(config-if)#ip helper-address 192.168.1.1 -----> mengarahkan ke DHCP Server
Switch(config-if)#no shutdown -----> agar interface selalu ON.
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Building configuration...
[OK]
Switch#
Switch#Vlan database
Switch(vlan)#vlan 8 name Office -----> angka "8" dan "office" bisa di ganti sesuai keinginan dan kebutuhan
Switch(vlan)#exit
Switch#write -----> save config
Switch#conf t -----> untuk masuk ke mode configurasi
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface FastEthernet0/7 ---> Interface pada switch
Switch(config-if)#switchport access vlan 8 ---> assign port ini ke VLAN8
SSwitch(config-if)#switchport mode access ---> mode port nya sebagai Access
Switch(config-if)#switchport voice vlan 100 ---> untuk IP Phone otomatis masuk ke vlan100
Switch(config-if)#spanning-tree portfast
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Building configuration...
[OK]
Switch#
Kemudian setting Gateway di setiap vlan yang ada untuk di jadikan sebagai gateway pada computer client :
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface vlan8 ----> masuk ke interface vlan yang di inginkan
Switch(config-if)#ip address 192.168.1.254 255.255.255.0 ----> masukkan IP Address yang di inginkan
Switch(config-if)#ip helper-address 192.168.1.1 -----> mengarahkan ke DHCP Server
Switch(config-if)#no shutdown -----> agar interface selalu ON.
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Building configuration...
[OK]
Switch#
Wednesday, September 12, 2012
Cisco Aironet 1130AG dan Cisco WLC
Cisco LWAP and Autonomous Access Point.
There are two type of cisco wireless, Autonomous Access Point and Lightweight Access Point (LWAP) .Wireless Autonomous Access Point is the same like common Access Point on the other hand Lightweight Access Point only must be pair with Cisco Wireless Controller (WLC).
Cisco Wireless Controller (WLC) can be called the server dan Lightweight AP is the client.
Below are some tips before you start to use Cisco Wireless Controller (WLC) :
1. Make sure the image OS of the AP that you want to syncron to WLC is LWAP not Autonomous.
2. AP and WLC must be in subnet or in the same VLAN.
To update the IOS from Autonomous to LWAP we can go through Web GUI Access Pointnya.
There are two type of cisco wireless, Autonomous Access Point and Lightweight Access Point (LWAP) .Wireless Autonomous Access Point is the same like common Access Point on the other hand Lightweight Access Point only must be pair with Cisco Wireless Controller (WLC).
Cisco Wireless Controller (WLC) can be called the server dan Lightweight AP is the client.
Below are some tips before you start to use Cisco Wireless Controller (WLC) :
1. Make sure the image OS of the AP that you want to syncron to WLC is LWAP not Autonomous.
2. AP and WLC must be in subnet or in the same VLAN.
To update the IOS from Autonomous to LWAP we can go through Web GUI Access Pointnya.
Subscribe to:
Posts (Atom)