Tuesday, February 15, 2011

Quality of Service (QoS)

Finally I am going to say something about Quality of Service (QoS). QoS is becoming the need of every network now a days and one should be aware of this technology and one have to implement this in his network in order to have smooth communication. In this part of QoS I will be talking about the following few concept and slowly we will be going in dept of QoS.

 Brief History
 QoS Requirement
 QoS Deploying Methods
 QoS Toolbelt

History

Best-Effort Model was based on first come and get, means whoever comes in so they will be assigned the bandwidth, then Integrated Services comes in and that was the first QoS application which uses RSVP to reserve bandwidth for our traffic. Differentiated Services was another application which was based on or gives services on per-hop basis to prioritized traffic, more flexible than Integrated Services as we don’t need to do reservation. After this MPLS/VPN QoS comes in, then Auto QoS then QoS for security, NBAR (Network Based Application Recognition) is used by QoS for security; I will discuss NBAR in detail later on in this QoS series.

QoS Requirement

We can have traffic in our network like DATA, VOICE or VEDIO; normally data is not that much important in comparison to Voice or Video and data is not that much bandwidth hungry like video. Voice is giving priority than all other traffic including video as we should have voice clear and a bit delay in video is acceptable. Now days we having video conferencing (Voice + Video):

There are four evils of your network:

Lack of Bandwidth is when you not sufficient bandwidth available in your network for data.

Packet Loss is when you lose your data traffic because of delay or jitter.

Delay means how long it takes a packet to reach from one point to another point, For example ITU said that for PSTN the delay (one side) can be < 150 ms.

Jitter is known as Delay Variation means one packet take 100 ms to reach from point-A to point-B and another packet take 130 ms, so the variation in the delay is called jitter. We can say that in this communication the jitter is 30 ms which results in packet loss.

QoS Deploying Methods

1. Command-Line Interface (CLI)
2. Modular QoS CLI (MQC)
3. Auto QoS
4. QoS Policy Manager (QPM)

QoS Toolbelt

1. Classification & Marking
2. Policing & Shaping
3. Congestion Avoidance
4. Congestion Management
5. Link Efficiency Tools

Study this site for more about the QoS in the coming posts.

I Hope this will be informative for you

Cheers :)

Monday, January 31, 2011

Resetting Netscreen Device (Juniper Firewall)

While thinking to start working on juniper, when I picked up Juniper Firewall (Netscreen-50) I was unable to login using the default username and password i.e. Netscreen and Netscreen, Now I had to reset the device in order to get in and enjoy configuring Juniper Firewall but same time you will loss all your configuration. When I consult the Netscreen-50 manual, I got two ways which can be used to reset the firewall, let’s look at the both ways:

1. Using RESET Button

a) On you device near power switch there is a small pinhole which can be used to reset you device.

b) Use a small paper pin or any other narrow pin and insert that into this pinhole and push, while pushing the status of the LED will turn into AMBER

c) Now after releasing the status will turn into GREEN

d) Now wait for two to three seconds

e) After that insert the pin into pinhole again and press for five to six seconds when the status of LED turn into RED, release you pin

f) Now your device will resets into the default factory settings.

g) Now you can enter into your device using the default username (Netscreen) and password (Netscreen)

2. Using Device Serial Number

a) This just needs your device to connect using consol cable.

b) We can also reset our device using the device serial number, note down the serial number from the back of the device.

c) Enter the serial number at the login prompt like

Login: 000099991111 (example)
d) Again enter the same number at the password prompt

Password: 000099991111

!!! lost password reset/!! you ha ye initiated a command to reset the device to factory defaults, clearing ah current configuration, keys and settings. would you like to continue? y/in!

Enter Y

Again you will see the following message:

!! reconfirm lost password reset 111fyou continue, the entire configuration of the device will be erased. in addition, a permanent counter will be incremented to signify that this device has been reset. this is your last chance to cancel this command. if you proceed, the device will return to factory default configuration, which is: system ip: 192.188.1.1; username: netscreen;password' netscreen. would you like to continue? y/[n]

Enter Y

Now you can login using the default username and password. The device recovery feature is enable by default but we can disable it by using following command:

unset admin device-reset

I hope this will be informative for you.

Cheers :)

Monday, January 10, 2011

Low Heap Memory Size Configuring IPS using SDM

To have a secure network we must be aware of the technologies which can really help us in securing our network, I was studying CCNA-Security last day and a task was about to perform on Cisco router, “Implementing Router Based IPS”. In my case I took 1841 series router and access through SDM. when I select IPS from the left panel I got the following message……….! Banggggg :(

“Your current Java memory heap size is less than 256MB, the amount required for IOS to run. To change the Java memory heap size, open the java control panel and enter -Xmx256m in the Java Applet Runtime Settings dialog. This dialog is in the Java tab, or in the Advance tab of the Java control panel. After you have changed the Java heap size, restart Cisco SDM”.

I consult Google and SDM help so got the solution, Its very simple just follow the following steps:

1. Select START, click on Control Panel

2. Double Click on JAVA

3. Click on ADVANCE tab, and Click on “Java Runtime” if you not able to see this then follow Step-4

4. Click on JAVA tab and click on “View” under “Java Applet Runtime Settings”

5. In the window under “Java Runtime Parameters” write down “-Xmx256m”.

6. Click OK

7. Click Apply and OK

8. Restart your SDM

9. Enjoy IPS Configuration :)

I hope this will be informative for you :)

Saturday, December 11, 2010

3750 Switch Password Recovery

While having a class of CCNP-SWITCH, i had to perform some labs using layer-3 switch, i used cisco-3750 for the lab, i found that two of the switches are password protected as we purchased that few days before so i had to recvoer the password. Connect the PC to the console port of the switch and if switch is power on, unplug the power and again plug power and press the mode button (it depends on series to series for how long you have to press mode button untill the light turn to green then release it, in 3750 you may required to press for around 15-seconds).

The switch should then give you this prompt

switch:

To initialize the flash file system, run the command

switch: flash_init

The switch will now print few messages about the flash memeory, now the next command will be the helper command.

switch: load_helper

Now we have to list the contents of our flash memory using folowing command.switch:

swith: dir flash:

This will display you the output somewhat like this as show below
The switch file system appears:

Directory of flash:
13 drwx 192 Mar 01 1993 22:30:48 c3750-ipservices-mz-122-25.SEB
11 -rwx 5825 Mar 01 1993 22:31:59 config.text
18 -rwx 720 Mar 01 1993 02:21:30 vlan.dat
16128000 bytes total (10003456 bytes free)


Now rename the configuration file to be used later on.

switch: rename flash:config.text flash:oldconfig.text

To further boot the switch run the boot command, this will start the boot you are used to.

switch: boot

When the switch is booted up, you will realize that the configuration is lost But you are enabled on the switch now and we can recover our old configuration as we kept that in flash with different name.

To recover the old configuration:

Switch# rename flash:oldconfig.text flash:config.text

And now to replace the running configuration with the backup

Switch# copy flash:config.text running-config
Destination filename [running-config]?

Press enter, and you will have your old switch configuration back and you are enabled but remember to change your password now.

I hope this will be informative for you.

Cheers :)

Wednesday, December 8, 2010

Find Net-ID, Host-ID, Total Subnets

Method # 1

Let suppose we have address 192.168.1.142/25

First Address: The first address in the block can be found by setting rightmost 32 – n bits to 0’s. Let’s take the address give above:
11000000 10101000 00000001 10001110
11000000 10101000 00000001 10000000 (as 32-25 = 7)

192.168.1.127 is the First Address

Last Address: The last address in the block can be found by setting rightmost 32 – n bits to 1’s. Let’s take the address given above:
11000000 10101000 00000001 10001110
11000000 10101000 00000001 11111110 (do 32 – n)

192.168.1.254 is the Last Address

Total Addresses: The number of address in the block can be found by using the formula 232-n, let’s look at this:
232-25 = 24 = 16

I hope this will be informative for you.

Cheers :)

Saturday, October 23, 2010

NetMeeting in Windows XP?

NetMeeting is an XP standard component and is hidden and you have to configure it manually to share any resources between two nodes, participate in virtual meetings, and share data over the internet or intranet.


Steps for configuration:


1. Go to the Start menu and select Run.
2. Type conf
3. After the NetMeeting configuration wizard starts, click Next.
4. Enter your personal details and click Next.
5. Select listing directory options and click Next.
6. Select your connection media (e.g. DSL) and click Next.
7. Configure the shortcut options to your liking and click Next.
8. Click Next to check and configure your speaker volume and again next to check your headphone.
9. Click Finish.

I Hope this will be informative for you !

Cheers :)

Thursday, September 16, 2010

Lotus Domino Installation

Lotus represents BRAND, Domino is SERVER and Notes is CLIENT. I got the chance in Sui Northern Gas to work on this mail server and I found this very good and powerful. I will share the installation process of the Lotus Domino (Server) and Lotus Notes (Client) and some other necessary information related to this, here we go :), In this article lets see the installation of Lotus Domino:

Installation

The Installation process is in Three Steps i.e. Installation, Setup and Run

1. Installation

Run the Setup (In my case 7.0.1), click Next, Again Next, Then Give Path like D:\Lotus\Domino\, click Next, You will get Four Option like

1. Domino Utility Server, Only Application
2. Messaging Server, Only Messages
3. Enterprise Server Both
4. Customize

Select the one which suit you or which is your requirement, here I want to mention that in Lotus Domino Notes we can also configure the chat server also named as “SameTime”.
In my case I select “Enterprise Server”, click Next and Finish.

2. Setup

After you done with Installation step, you will get an icon on desktop, Double Click to run setup (Lotus Domino Server) and Setup step starts:
Click Next, Select First Server (If it is first, in my case it is), Give Server name and Server Title.

Server Name: R&D
Server Title: Domino Server for R&D

Click Next, Give Org: Name and Org: Cert Password
Org Name: xyz
Org Cert Pass: 123456

Click on Customize and Give Country Code: PK, Click OK then Click Next and for Admin and Password Click the Option “Also Save a Local Copy of ID File”

Give Domino Name: XYZ, Click Next, Setup for Internet (Three Option will List)

1. HTTP
2. Internet Call
3. Directory Services (LDAP)

In my case I chose all three options, Now Click Next, Then Customize and select TCP/IP then R&D and then give name “R&D.XYZ.COM”. click Next and Setup

Now After Setup Complete so RUN the Lotus Domino and Your Installation is complete.

NOTE: I use word Local Copy of ID, so I will talk about the ID, a total of three ID’s are created During Installation of Lotus Domino namely Server ID, Cert ID, and Admin ID.

1. Server ID: It is used to Create Server / Authentication
2. Cert ID: Used for User/Group Creation
3. Admin ID: Administrator used for Administration Purpose

This is just the installation phase now a lot of configuration is required in the server to make it fully operational.

I Hope it will be informative for You !

Cheers :)