Posts

Showing posts from June, 2019

Windows Server 2019: Network Load Balancing for Web server

Windows Server 2019: Network Load Balancing for Web server Configure Network Load Balancing for Web server in Windows Server 2019 1. Prepare - DC31 : Domain Controller (Yi.vn) | DC32, DC33 : Web Server (IP 10.0.0.32, 10.0.0.33) | WIN101, WIN102 : Client 2. Step by step : Configure Network Load Balancing for DC32, DC33 - DC31 : Create a new record DNS : www.Yi.vn 10.0.0.100 - DC32 : Install Web service and Network Load Balancing + Create a simple website with content "This is Website at DC32" + Server Manager - Manage - Add Roles and Features - Next to Server Roles : Select "Web Server (IIS)" - Add Features - Features : Select "Network Load Balancing" - Add Features - Next to Install + Server Manager - Tools - Internet Information Services (IIS) Manager - DC32 - Site - Right-Click Default Web Site    - remove - Yes - Right-Click Sites - Add Website... : Site name : WEB, Physical path : C:\WEB - OK - DC33 : Do the same D

Cisco Tips: Cisco Switch initial configuration

Cisco Tips: Cisco Switch initial configuration Step 1: // Erase existing config switch# erase startup-config // Reload switch switch# reload System configuration has been modified. Save ? [yes/no]: No .  --- System configuration dialogue. --- Would you like to enter the initial configuration dialogue? [yes/no]: No . Step 2: switch> enable switch# config t // Change host name to Switch1 switch<config># hostname Switch1 Step 3: // Go into interface vlan1 Switch1<config># int vlan1 // ip address [IP] [subnet mask] Switch1<config-if># ip address 192.168.100.10 255.255.255.0 // To exit terminal mode Switch1<config-if># ^Z // Show current running configuration Switch1# show run Step 4: Switch1# config t // Configure default gateway Switch1<config>#  ip default-gateway 192.168.1.1 Step 5: // Create user:  TestAdmin   | Password:   Cisco Switch1<config># username TestAdmin password cisco Swit

Cisco Tips: How to Reset Cisco Switch to Factory Settings & Delete Vlans

Cisco Tips: How to Reset Cisco Switch to Factory Settings & Delete Vlans // Note: Factory reset does not reset password to cisco (default password). switch> enable Password: switch# write erase // Erase nvram filesystem. [confirm] switch# delete flash:vlan.dat   // Reload switch switch# reload  System configuration has been modified. Save ? [yes/no]: n Proceed with reload ? [confirm] -- System configuration dialogue -- Would you like to enter the initial configuration dialogue ? [yes/no] : n Would you like to terminate autoinstall ? [yes] :  [ Press Enter ]

Cisco tips: Password Recovery Steps for Cisco Catalyst Switches

Image
Cisco tips: Password Recovery Steps for Cisco Catalyst Switches Ever turn on a switch or perform a reload just to find out that you’ve accidentally been locked out of your networking device?   Here is an easy way to physically perform a password recovery on a Cisco Catalyst Switch. Step 1: Connect your PC or terminal into the switch console port with the blue console cable. Step 2: Open up a Hyperterminal for emulation and set the speed to 9600 baud. Step 3: Unplug the power cable to the switch. Step 4:  Press and hold the MODE button on the front of the switch and plug the power cable back into the switch at the same. After the power cable has been plugged in, wait a couple of seconds and then release the MODE button. Step 5: Your display on your HyperTerminal should look like this… switch: Step 6: Enter these commands into the switch switch: flash _init switch: l oad_helper switch: dir flash: Directory of flash: 13 drwx   192 Mar 01 1993 22:30:48 c296

Cisco tips: Recover password for Cisco 2960

Cisco tips: Recover password for Cisco 2960 Step 1: Connect your PC or terminal into the switch console port with the blue console cable. Step 2:  Power off the switch first, then press and hold the mode button while you power on the switch again. Hold it for about 15 seconds until the SYS led is solid green, and then release it. The switch should then give you this prompt: switch: Step 3: To initialize the flash file system, run the command: switch: flash_init Initializing Flash... flashfs[0]: 5 files, 1 directories flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes: 32514048 flashfs[0]: Bytes used: 8059904 flashfs[0]: Bytes available: 24454144 flashfs[0]: flashfs fsck took 10 seconds. ...done Initializing Flash. The switch will now print a bunch of messages about the flash memory, hopefully one of them will be ‘done initializing flash’ as above shown Step 4: You can now list the contents of your flash by running switch: dir

Cisco Tips: Etherchannel

Cisco Tips: Etherchannel // Etherchannel is basically grouping 2 (SwitchB& SwitchC) or more physical // (data - network) // channels into 1 logical channel.                               // Channels ( ~~~) //    -------------------                                     ------------------- //    [  SwitchB ]    ~~~~~~~~~~       [  SwitchC ] //    -------------------    ~~~~~~~~~~      -------------------  ===================================== // SwitchB SwitchB> enable SwitchB# configure terminal Enter configuration commands, one per line. Ends with CNTL/Z. // select fastEthernet 0/1 & 0/2 SwitchB(config) # interface range fastEthernet 0/1 - 2 // Create Etherchannel 1 // This Ehterchannel number needs to be the same on local switch (SwitchB) // but can be different on the neighbour switch  (SwitchC) // LACP is the IEEE 802.3ad spec // PAgP is Cisco proprietary spec SwitchB(config-if-range)# channel-group 1 mode ? active         Enable LACP  unco