Thursday, 23 August 2012

Top 10 Make over Tips

10. Fabulous Haircut

No makeover can be called complete without a hairstyle change. Go for a cut that you have never tried before, preferably, way different from your current style. You will amazed at how instantly and effortlessly a great haircut can dramatically change your look! Summer is a time to be a free spirit – so go for a cut that is low maintenance and keeps you looking young and fresh.

9. Toss Heavy Make-up

Summer is the time to let loose and not be worried about your make up running down your cheeks or getting wiped with your sweat. The one thing your skin needs is sunscreen. Anything other than that is optional. I am not saying your should go completely sans makeup. But try to keep it really minimal.
My suggestion would be to apply sunscreen and light powder to even out your skin tone. It also helps if your sunscreen is greasy or sticky, which is often the case with higher SPF ones.

8. Swap your drinks

You need your daily cuppa, but do you need it hourly? Depending on how many you drink, replace one of your caffeine shots that includes coffee, tea and cola with juice (Vitamin C), green tea (antioxidants), and a yoghurt smoothie (calcium). Keep a one-litre bottle of water around you at all times. Finish it by the end of your work day. Drink another at home.

7. Sunscreen – A Summer Essential!

I cannot stress this enough! No matter how little you think your exposure to the sun is going to be, NEVER skip the sunscreen. Depending on your skin tone, texture and activity level you may choose anything between SPF 20 and SPF 70. If you have normal skin and medium complexion you SPF 30 is the minimum you need and you can go beyond SPF 70 on your beach days. Make sure you choose waterproof formulas for the beach. Don’t apply moisturizer before applying sunscreen – it diminishes the protection offered by sunscreen. If your skin is too dry, choose a moisturizing sunscreen. Don’t limit it to your face – use sunscreen on all the exposed skin and reapply as needed.

6. Keep your eyes young

The thin skin around your eyes is where you’ll see the first signs of ageing (puffy eyes, dark under-eye circles and lines). Check for food allergies, salt (an excess can lead to water retention) and water consumption (even a little less shows). Smoking, sinus, and lack of sleep (less than seven hours) add up. Always apply eye cream with your ring (third) finger as its the weakest so you dont put too much pressure on the delicate skin. Pat it in, dont rub.

5. Look Terrific in Serious Shades

Sunglasses with UVA and UVB protection are a must for the blazing summer afternoons. I would suggest you go a step further and buy polarized sunglasses. They protect your eyes against the sunlight reflecting from water, shiny metals or glass surfaces. The quality of your vision also improves dramatically as they provide better contrast. You will especially appreciate the difference when you are on the beach or out driving on a hot summer day – you will experience no squinting and your eyes will feel rested even after a long day under the sun.
Contrary to what most people think, polarized glasses don’t command a premium. In fact, you will be surprised to know it’s very difficult to find polarized version of the designer sunglasses. So, I am not asking you to go all out and splurge.

4. Start some vitamins

A regular multivitamin is required for healthy skin, hair and nails. The change of season is the right time for oil-based vitamins, says Delhi-based dermatologist Dr Shehla Agarwal. Start with Vitamin A once a day for 30 days to take care of dry skin and follow it up with Vitamin E for a month to get a glow in the winter. There are several antioxidant tablets available to help with anti-ageing. Check with your doctor.

3. Cut down sugar

The food diary helps you balance your meals but remember to be extra vigilant about sugar. The calories from sugary foods are worse than the calories from fatty foods, as they lead to an unregulated metabolic rate, says Hyderabad-based fitness expert, Dinaz Vervatwala. Cut down on the consumption of sugar and refined foods permanently. You should only be eating them 20 percent of the time in a month. Sugar can cause premature ageing as it can trigger a breakdown of collagen and elastin. It also makes your skin more sensitive to the sun, the prime cause of ageing.

2. Smooth Hair-free Body

It’s time to let you skin see the light of the day and get some fresh summer breeze. And when you do wear short dresses, sleeveless tops or bikinis, you want to make sure your body looks silky smooth and there is no unwanted hair growth acting as an eye sore!
One thing that can turn painful during summer is the thought of having to shave your legs every day or even every other day! Make a resolution this summer to stay away from razors. Try an epilator for incredibly long lasting results that’s also easy on the pocket. Plus the epilator can be used for your arms, under arms, bikini area and even face – so no more spending time and money at the salon for any kind of hair removal. You can use it at the convenience of your home and stay hair-free for weeks!

1.Start your anti-ageing now

Experts advise that you start using anti-ageing products as early as your mid-20s. So if you havent as yet, start today! Good choices include the Ponds Age Miracle or Gold Radiance ranges. Prioritise sunscreen; it goes a long way in fighting wrinkles. Pick a broad spectrum product with active agents such as Avobenzone and Mexoryl for UVA rays, and zinc oxide and titanium dioxide for UVB rays. Use the sunscreen on your hands, feet, ears, neck, and the back of your neck as well. Try Lakme Sun Expert SPF 30 (Rs 250; 100ml) or Neutrogenas Ultra Sheer Dry Touch Sunblock SPF 50 (RS 450), which glide on without a hint of oiliness.

Adobe Photoshop CS6 Features


Enhance your creativity and boost your productivity. Adobe® Photoshop® CS6 Extended software delivers blazingly fast performance with the new Adobe Mercury Graphics Engine, groundbreaking new Content-Aware tools, simplified 3D artwork creation, reengineered design tools, and more.*
Content-Aware Patch : Patch images with greater control using Content-Aware Patch, which allows you to choose the area that Content-Aware will use to create your patch.
Mercury Graphics Engine : See near-instant results when you’re editing images with key tools such as Liquify and Puppet Warp, creating 3D artwork, and working with matte paintings and other large files.*
3D performance boost : Experience enhanced performance throughout your 3D workflows. View shadows and reflections in all editing modes, quickly render final work in Adobe RayTrace mode thanks to the Mercury Graphics Engine, and much more.*
3D controls at your fingertips : Use a vastly simplified user interface to intuitively create and animate 3D artwork. Use in-context and on-canvas controls to manipulate cages for 3D extrusions, change the orientation of scenes and objects, edit lights, and more.*
New and reengineered design tools : Create superior designs faster. Get consistent formatting with type styles, use vector layers to apply strokes and add gradients to vector objects, easily create custom strokes and dashed lines, quickly search layers, and more.
New Blur Gallery : Quickly create photographic blur effects using a simple new interface with on-image controls. Create tilt-shift effects, blur everything and then sharpen one focal point, or vary the blurriness between multiple focal points. The Mercury Graphics Engine delivers immediate results.*
All-new Crop tool : Crop images faster and with greater precision using the all-new, nondestructive Crop tool. Manipulate your images on canvas, and take advantage of the Mercury Graphics Engine to see your adjustments happen live.*
Modern user interface : Work with a fresh, elegant interface featuring dark background options that make your images pop, and benefit from hundreds of design touches that create a smoother, more consistent editing experience.
New reflections and draggable shadows : Quickly achieve 3D realism by adding and enhancing shadows and reflections on your ground plane. Drag a shadow to reposition the light source, and easily edit ground reflections, shadows, and other effects.*
Intuitive video creation : Bring Photoshop image editing power to your videos. Easily enhance any clip using the full range of familiar Photoshop editing tools, and combine clips and stills with transitions, audio, and effects such as pan and zoom.
Background Save : Keep on working even while saving the largest of Photoshop files in the background — a performance improvement that can help your productivity soar.
Auto-recovery : Let the auto-recovery option work behind the scenes to save your edits without interrupting your progress. A copy of your work is saved every 10 minutes and recovered in the event of an unexpected shutdown.
Easy alignment and distribution of 3D objects : Create rich 3D scenes in less time now that you can automatically align 3D objects to the vanishing point in your image and manipulate a group of 3D objects at one time using a new multiselect option.*
Dozens of user-inspired improvements : Save time with more than 65 new creativity and productivity enhancements that originated as suggestions from Photoshop users via Facebook, Twitter, and more.
Preset migration and sharing : Easily migrate your presets, workspaces, preferences, and settings so you can experience Photoshop in the same way on all your computers, share your setup, and bring your customizations from past versions into Photoshop CS6.
Content-Aware Move : Move or extend a selected object to another area of your image, and then watch as Content-Aware Move magically recomposes and blends the object for a stunning visual result.
Revolutionary erodible brushes : Draw more naturally and realistically using drawing tips that erode as you work. Endlessly wear down and sharpen a charcoal pencil or pastel to create different effects, and save favorite blunted tips as presets.
New painting presets : Simplify painting with new presets that offer a good starting point for creating realistic painting effects.
Scripted Patterns : Generate geometric pattern fills faster with Scripted Patterns.
Enhanced 3D animation : Animate all 3D properties — including cameras, lights, materials, and meshes — using the Animation timeline. Final rendering performance is now much improved during export of your 3D animation.*
Flexible render modes for shadows : Work more fluidly now that you can preview shadows in both GL and Adobe RayTrace render modes.*
Accurate 3D object merge : Accurately merge multiple 3D objects in a single scene so they can interact with the same lighting and cameras.*
Alternate views : Easily view your 3D artwork from multiple angles while editing.*
3D stereo viewing and printing : Easily import common stereo formats, such as JPS and MPO, into the 3D pipeline, and make simple adjustments to set depth and range. View a stereo image on stereo monitors or TVs, or print it as a lenticular 3D image.*
Adobe Flash 3D export : Easily export 3D artwork in Adobe Flash® 3D format for viewing in web browsers. Also export 3D artwork assets for use in Adobe Flash Builder® software (sold separately).*
3D sketch and cartoon presets : Click once to give your 3D objects the look of sketches or cartoons, and automatically create sketch presets by creating any brush stroke.*
Improved 3D extrusion engine : Create stunning 3D logos and artwork from any text layer, selection, path, or layer mask with the improved 3D extrusion engine, which offers faster editing, on-canvas controls, and better beveling options.*
Type styles : Save time and ensure a consistent look with type styles, which let you apply formatting to selected characters, lines, or paragraphs of text with a single click.
Vector layers : Use vector layers to apply strokes and even add gradients to vector objects.
Sharper vector rendering : Get sharper rendering by clicking once to snap the edges of vector objects to pixels.
Custom strokes and dashed lines : Easily create custom strokes and dashed lines.
Layer search : Use layer search capabilities to quickly zero in on the layer you need.
Lighting Effects Gallery : Get better performance and results with the new, 64-bit Lighting Effects Gallery. The plug-in is powered by the Mercury Graphics Engine and offers on-canvas controls and previews that make it easier to visualize your lighting enhancements.*
Oil Painting filter : Quickly give your work the look of a fine painting with the Oil Painting filter powered by the Mercury Graphics Engine. Control the style of your brush as well as the direction and shine of your lighting for a superior look.
Airbrush tips : Create realistic airbrush effects using fluid, lifelike controls and granular paint particles.
Brush enhancements : Paint more naturally by manually changing the rotation of your paint brush with your mouse. Dynamically resize your brushes with shortcuts, and take advantage of the Mercury Graphics Engine to fluidly adjust opacity or hardness.
10-bit deep color support : Get a more accurate representation of how your images will appear in film with 10-bit monitor support. See just the pixels you’ve captured, reduce or eliminate the need for dithering, and reduce contouring or banding.†
Support for 3D LUTs : Retouch images for film more easily with 3D lookup tables (LUTs) — including Adobe SpeedGrade™ .Look color LUTs — that you can turn on when you need to tweak raw color data.
OpenEXR transparency preferences : Choose whether you’d like to handle alpha channels in OpenEXR files as alpha channels or transparency.
Properties panel : Save time with a context-sensitive Properties panel that lets you make quick updates to the properties of your masks, adjustments, and 3D content.
Adobe Bridge CS6 : Manage your media faster — especially when working with large image files. Adobe Bridge CS6 offers cross-platform 64-bit support and a range of user interface and database enhancements.
Redesigned Adobe Mini Bridge : Access your images and documents more quickly and easily in Adobe Mini Bridge, redesigned as an elegant filmstrip.
New heads-up displays : Use heads-up displays to get greater precision when selecting and transforming objects and text.
Enhanced TIFF support : Work with a larger range of TIFF files. Enhanced TIFF support allows for greater bit depths and larger file sizes.
Automatic resampling : Get great results when resizing an image — the best resample method is automatically selected.
Filler text : Save time with the ability to insert “Lorem ipsum” filler text when working with type.
Increased maximum brush sizes : Edit and paint with brush sizes all the way up to 5000px.
System Requirements

* Multicore Intel processor with 64-bit support
* Mac OS X v10.6.8 or v10.7
* 1GB of RAM
* 2GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash storage devices)
* 1024×768 (1280×800 recommended) resolution display with 16-bit color and 512MB of VRAM
* OpenGL 2.0–capable system
* DVD-ROM drive
Languages : English, Japanese
Homepage : http://www.adobe.com/products/photoshopextended.html

Top 10 ways to say I Love You


1. Say it with flowers

Women love flowers (unless they are allergic) and surprising her with a bouquet of roses of lilies is an ideal way of saying ‘I love you’ without actually saying it. It wouldn’t hurt to write her a poem with that.

2. Hold Hands

Like hugging, holding hands is something that we often neglect to do when a relationship becomes cozy and familiar. Try taking your partner’s hand when walking down the street, or hold their hands across a table in a restaurant. Being in contact physically helps you feel closer emotionally. This is especially important if you need to talk through a difficult issue or problem. Holding hands can also be a visible demonstration of support if your partner is upset or feeling down.

3. Love letters

If you’re lucky enough to be with someone who has a deep appreciation for the English language, you might have to take your romantic vocabulary outside the standard I-love-you box

4. Give An Unexpected Gift

I’m sure you give your loved ones gifts on their birthday, at Christmas, and on special occasions like Valentine’s day. But how about bringing a gift completely at random? An unexpected present is a moment of pure joy for the recipient and the giver, and it needn’t be anything expensive. A few of their favorite chocolates, a small bunch of flowers, a book which you know they’ll enjoy … for a few dollars, you have the perfect way to say “I love you”.

5. Show friendship a little love

You probably say those magic words to your boyfriend, your mom—even your dog!—multiple times a day, but how often do you tell your best friend? Make sure she always knows how important she is to you with this set of three berry-scented candles.

6. Write A Poem

A time-honored way to say “I love you” is to write a poem. Try not to fall back on hackneyed phrases about their beautiful blue eyes or their rosy red lips; write about something that’s meaningful to you, perhaps that dimple on their chin, or the way they laugh at your jokes.

7. Surprise her

Once is a while, give her a surprise – something unexpected, out of the blue. Take her on a holiday, camping, to the movies or anywhere. A nice surprise is always a welcome surprise.

8. Make A Special Meal

If Friday nights usually mean ordering takeout, why not offer to cook for a change? Make a special meal for your partner (you don’t need an excuse for this – it doesn’t have to be Valentine’s day or an anniversary!) Include their favorite foods, take a few minutes to set the table, to light candles and put music on, and your usual forgettable evening slumped on the sofa can become a night to remember…

9. Compliment her

Tell her how nice her hair looks or compliment her dress. It’s a good way of assuring her that you still take notice of her.

10. Listen to Them

It’s easy to talk over people or to tune out most of what they’re saying whilst reading the newspaper or chatting online with friends. Listen actively to your partner – when they want to talk, put down what you’re doing, and focus all your attention on them. Listen for what they don’t say; unvoiced concerns or worries, or hints at what they’d really like. Nod and make eye-contact to show that you’re paying attention.

Top 10 Industries in The World


Top 10 Industries in The World

1. Wal-Mart

wal mart
Primary Industry: Retailing
Employees: 2,150,000
Headquarters: Bentonville, Arkansas, United States

2. Exxon Mobil

exxon mobil
Primary Industry: Oil and gas
Employees: 90,800
Headquarters: Irving, Texas, United States

3. Royal Dutch Shell

Royal Dutch Shell
Primary Industry: Oil and gas
Employees: 112,000
Headquarters: The Hague, Netherlands and United KingdomLondon, United Kingdom

4. BP plc

BP plc
Primary Industry: Oil and gas
Employees: 97,600
Headquarters: London, England, United Kingdom

5. Saudi Aramco

Saudi Aramco
Primary Industry: Oil and gas
Employees: 54,441
Headquarters: Dhahran, Saudi Arabia

6. Toyota Motor Corporation

Toyota Motor Corporation
Primary Industry: Automotive
Employees: 316,121
Headquarters: Toyota, Aichi, Japan

7. Sinopec

Sinopec
Primary Industry: Oil and gas
Employees: 400,513
Headquarters: Beijing, China

8. Total S.A.

Total S.A.
Primary Industry: Oil and gas
Employees: 111,401
Headquarters: Courbevoie, Île-de-France, France

9. Samsung Group

Samsung Group
Primary Industry: Conglomerate
Employees: 277,000
Headquarters: Samsung Town, Seoul, South Korea

10. Chevron Corp.

Chevron Corp.
Primary Industry: Oil and gas
Employees: 61,533
Headquarters: San Ramon, California, United States

Monday, 2 July 2012

Miscellaneous

Miscellaneous
 
i. Network Devices
1. Repeaters, Bridges, and Routers:

The most frequently used network devices may be categorized as repeaters, hubs, switches, and routers. These devices let you connect computers, printers, and other devices to communicate with each other. The medium that is used for communication is usually cable (optical or copper) and air (Wifi, bluetooth, etc.).

A repeater is a basic device that simply amplifies the input signals and retransmits. It is used to extend the range of a network segment.
For example, the range of a 10BaseT network segment is 100meters by default. If the end devices are at a distance more than 100 meters, you will require a repeater so that the transmitted signals are received at the destination device without losing any information.

A bridge/switch essentially forwards the frames that come from one port to other ports. A switch is used to connect two or more network segments. A switch learns the physical addresses of sending devices by reading the MAC address and mapping it to the port number through which the frame had arrived.
This way, it will quickly learn which MAC address belongs to which switch port, and stores the information in a table (called MAC table). Then onwards, it will send a frame only to the port that connects to the destination device (as specified in the frame). MAC addressesare layer-2 addresses. Because a switch works on MAC addresses, we can classify switches as Layer-2 devices.

A router is used to route packets by connecting two or more networks together.They work at layer-3 of the OSI model.They route packets based on the IP addresses where as a switch forwards packets based on the MAC addresses. A router needs to disseminate an incoming packet down to its IP address and route it to destination based on information available in its routing table.
I. Repeaters work at Physical layer (Layer 1),
II. Bridges and simple switches work at Data Link Layer (Layer 2),
III. Routers work at Network Layer (Layer 3) of ISO Reference Model.
2. CSU / DSU is an acronym for Channel Service Unit / Data Service Unit. CSU/DSU is part of Customer Premise Equipment (CPE). CSU / DSU connect to a Central Office (CO), a telephone switching company located nearer to the customer.
3. For using full duplex Ethernet transmission, a switch is required. A Hub cannot support full duplex transmission. In full duplex mode, there will not be any frame collisions.
ii. WAN Devices
1. WAN (Wide Area Network) devices extend the reach of LAN (Local Area Network) devices. WANs typically span over a wide area, such over multiple cities / countries. WANs are connected over serial lines that operate at lower speeds than LANs .
Some of the WAN devices are:
1. Routers: Routers are responsible for routing the packets in an internetwork.
2. Modems: Modems connect to public telephone circuits through dial-up.
3. CSU/DSU: Stands for Channel Service Unit / Data Service Unit. CSU/DSUs are used for connecting to Central Office of a Telephone switching company and provide serial WAN connections.
4. Communication Servers: These are used for dial in/out to remote users. Provides RAS Remote Access Server) functionality.
5. Multiplexers (mux): Multiplexers combine two or more signals before transmitting on a single channel. Multiplexing can be done by sharing "time" or "frequency".
iii. Wireless LAN
1. WEP uses RC4 stream encryption
WPA uses (as describe above) TKIP/MIC Encryption.
WPA2 uses AES-CCMP Encryption
2. In "ad-hoc" or Independent Basic Service Set (IBSS) configuration there is no backbone infrastructure. Mobiles can talk to each other without the use of an Access Point (AP). In the Extended Service Set (ESS) configuration, there will be two or more Access Points (APs), and users can freely roam between the Access Points without any disconnection or reconfiguration.
iv. Others
1. HTTP is the protocol used for accessing the World Wide Web services. HTTP operates over TCP/IP. TCP/IP is the protocol, which is used by all internet applications such as WWW, FTP, Telnet etc. IPX/SPX is proprietary protocol stack of Novell NetWare.
2. Route summarization is calculated as below:
Step 1:
1. Take the first IP: 172.24.54.0/24 : 172.24. 0 0 1 1 0 1 1 0.0
2. Take the second IP: 172.24.53.0/24 : 172.24. 0 0 1 1 0 1 0 1.0
Note that we are not really concerned about the octets that have equal decimal values. This is because they don’t come into play while calculating summarization route, in this case.
Step 2:
Count the number of bits in the third octet that are aligned (or lined up) with same values. In this case 6 bits are lined up in the third octet. The summarization route is calculated by adding this number (6) to the octets preceding the third (first and second octets).
Therefore, the number of bits in the summarized route is 8+8+6 = 22
Step 3:
Calculate the decimal equivalent for third octet with 6 bits as given in the matching binary. That is 0 0 1 1 0 1 x x. Note x is because it corresponds to non matching binary number. It is equal to 128*0 + 64*0 + 32*1 + 16*1 + 8*0 + 4*1 or 32+16+4 or 52.

Therefore, the summarized route is:
172.24.52.0/22
3. Debugging output takes priority over other network traffic. Also, the debug all command generates more output than any other debug command, and it can severely affect the router's performance. In practically all cases, it is best to use more specific debug commands.

4. Ethernet II has a type field to identify the upper-layer protocol. 802.3 has only a length field and can't identify the upper-layer protocol.

5. Hold down timers prevents regular update messages from reinstating a route that has gone bad. Here, if a route fails, the router waits a certain amount of time before accepting any other routing information about that route. Hold downs tell routers to hold any changes that might affect routes for some period of time. The holddown period is usually calculated to be just greater than the period of time necessary to update the entire network with a routing change.
6. Congestion avoidance, Windowing, and Buffering are three types of flow control.

7. Convergence is the term used to describe the state at which all the internetworking devices, running specific routing protocol, are having the same information about the internetwork in their routing tables. The time it takes to arrive at common view of the internetwork is called Convergence Time.
8. IP helper addresses forward a client broadcast address (such as a DHCP or BOOTP requests) to a unicast or directed broadcast address. Helper-address is required due to the fact that routers do not forward broadcasts. By defining a helper-address, a router will be able to forward a broadcast from a client to the desired server or network. There can be more than one helper-address on a network. The helper-address must to be defined on the interface that receives the original client broadcast.
Note that "ip unnumbered" command is used to enable IP processing on a serial interface without assigning a specific IP address to the interface.

9. Runts are packets that are smaller than the medium's minimum packet size. For example, Ethernet has a minimum allowed packet size of 64 bytes. Any packet that is less than 64 bytes in size is considered a runt in Ethernet.
Giants are packets that bigger than the medium's maximum packet size. Fro example, Ethernet has a maximum allowed packet size of 1,518 bytes. Any packet that is bigger than 1,518 bytes is considered a Giant in Ethernet.
CRC error occurs when the check sum calculated at the receiving end of the frame does not match with the check sum calculated at the source end.
The most probable reasons for runts, giants, and CRC errors is frame collisions while traveling from source to destination. It is also possible that a network card or device is bad and generating runts and giants.

10. Standard adopted for Ethernet CSMA/CD by IEEE Committee is 802.3. 100BaseT (Fast Ethernet) uses IEEE803.2u standard which incorporates CSMA/CD protocol.
11. DOD Model maps to OSI model as below:
DoD Model
OSI Model
Process/ Application maps
Application, Presentation, Session layers (layers 7, 6, 5).
Host-to-Host
ISO's Transport layer (layer 4).
Internet
Network layer (layer 3)
Network Access
Data Link and Physical Layers (layers 6,7)
12. While a packet travels through an Internetwork, it usually involves multiple hops. Note that the logical address (IP address) of source (that created the packet) and destination (final intended destination) remain constant, the hardware (Interface)           

Security

Security 

1. The following are the important characteristics of SDM (Security Device Manager):
1. SDM doesn’t use Telnet/SSH for communicating with the router. Actually, a web server will be running on the router, and the client software will be running on the host computer.
2. SDM uses web interface on a PC, and the user needs to connect to the router over an IP network and not through Console.
3. The configuration will be written to the router’s running configuration file only after the Finish button is pressed on the SDM wizard. Note that the configuration is not written to the start-up configuration.
4. SDM configuration wizard allows DHCP client services to be configured, with an option to add PAT services or not.

2. The Internet architecture provides an unregulated network path to attack innocent hosts. Denial-of-service (DoS) attacks exploit this to target mission-critical services. DoS attacks, are explicit attempts to block legitimate users system access by reducing system availability. Any physical or host-based intrusions are generally addressed through hardened security policies and authentication mechanisms. Although software patching defends against some attacks, it fails to safeguard against DoS flooding attacks, which exploit the unregulated forwarding of Internet packets.

3. An intrusion prevention system is a computer security device that monitors network and/or system activities for malicious or unwanted behavior and can react, in real-time, to block or prevent those activities.

Intrusion Detection Systems (IDS) detect unauthorized access attempts. There are basically two main types of IDS being used today: Network based (a packet monitor), and Host based (looking for instance at system logs for evidence of malicious or suspicious application activity in real time).
Both IPS and IDS are closely related, and IPS is considered as an extension of IDS.

Switching

Switching

1. Switches forward packets based on the physical address (such as MAC address) whereas, routers forward packets based on logical address (such as IP address). A frame’s IP address doesn’t change when being forwarded through a switch.

2. The MAC address table of a switch would be empty to begin with. However, it builds the MAC table learning from the frames that arrive at its ports by adding the MAC address and the corresponding port that it had arrived to the MAC table.

3. Cisco switches can be managed out-of-band or In-band. Examples of Out-of-band management are:
    1. Console 0
    2. Auxiliary 0
Examples of in-band management are:
    1. TFTP servers
    2. Network management software like CiscoWorks,
    3. Virtual terminal (vty) ports.

4. The “show version” command on a Catalyst switch displays
    a. The current version of IOS running in a switch
    b. Available hardware, RAM, Flash memory,
    c. Switch uptime
    d. Configuration register’s content
    e. Reason for the last reload etc.

5. Port security enables securing switch ports as required. Typical configuration commands for enabling port security are given below:
Switch#config t
Switch(config)#int fa0/1
Switch(config-if)#switchport port-security
By default, the port is locked to the first MAC address that it learns via the port. You can also manually associate a specific MAC address to a given port by issuing the command:
switchport port-security mac-address {MAC address} in the interface configuration mode.

6. Cisco Visual Switch Manager (CVSM) is software that allows access to Cisco switches over the internet using a web browser, such as Internet Explorer or Netscape Navigator. You can monitor and configure the CVSM compatible switches over the network (remotely). The requirement is that the IP address, gateway and CVSM must be configured on the switch, so that it is accessible over the network using a web browser.

7. The command "no switchport" enables a switch port for layer 3 operation. On the other hand, the command "switchport" enables a switch port for layer 2 operation.

8. To associate a switch with a management VLAN, you need to assign an IP address to the switch. The subnet portion of the switch IP address must match the subnet number of the management VLAN. Note that switches can maintain an IP stack, which enables us to manage the switches either locally, as well as remotely by Telnet.

9. The options available with switchport port security are:

1. Switchport port-security maximum {max # of MAC addresses allowed}: You can use this option to allow more than the default number of MAC addresses, which is one. For example, if you had a 12-port hub connected to this switch port, you would want to allow 12 MAC addresses, one for each device.
2. Switchport port-security violation {shutdown | restrict | protect}: This command tells the switch what to do when the number of MAC addresses on the port has exceeded the maximum. The default is to shut down the port. However, you can also choose to alert the network administrator (i.e., restrict) or only allow traffic from the secure port and drop packets from other MAC addresses (i.e., protect).
3. Switchport port-security mac-address {MAC address}: You can use this option to manually define the MAC address allowed for this port rather than letting the port dynamically determine the MAC address.

10. To telnet to a switch, the following are required:
1. Assignment of ip address and subnetmask to the management vlan,
2. Assignment of default gateway IP address.

The following are the typical steps in preparing a switch for telnet access:
Switch(config)#interface vlan <vlan-id>
Switch(config-if)#ip address <ip-address> <subnet-mask>
Switch(config-if)#ip default-gateway <ip-address>
Switch(config-if)#no shutdown
11. The command syntax for assigning a management domain for a switch is:
Switch# vtp domain <domain-name>
For example, if the domain name is newyork, the command is:
Switch# vtp domain newyork
You need to create a domain while configuring the first switch in a switch network. For subsequent switches, you only need to join the existing domain. The password is required if the domain need to be secured by a password. The command allows you to create a new domain (in case the first switch is being configured) or to join an existing domain (one or more switches have already been assigned a domain).

12. The enable a switch port for layer 2 functionality use the following commands:
    1. switch(config)#interface <type> <mod>/<num>
    2. switch(config-if)#switchport

The first command enters interface configuration mode for the switch interface <mod>/<num>, and the second command enables layer 2 functionality on the port.
Use the “no” form of the switchport command to enable layer3 functionality.
13. Switching methods:
1. Store-and-Forward switching: Here the LAN switch copies the entire frame into its buffers and computes the CRC. The frame is discarded if there are any CRC errors. Giant (more than 1518 bytes0 and Runt (less than 64 bytes) frames are also dropped, if found.
2. Cut-Through (Real-Time) switching: Here, the LAN switch copies only the destination address into its buffers. It immediately looks up the switching table and starts forwarding the frame. The latency is very less because, the frame is forwarded as soon as the destination address is resolved.
3. Fragment-Free switching: Here, the switch waits for the collision window before forwarding the entire frame. The collision window is 64 bytes long.
i. Spanning Tree Protocol
1. Spanning Tree Protocol (STP) IEEE Specification 802.1d is used to prevent routing loops. In Cisco Catalyst 5000 series switches, use BDPUs (Bridge Protocol Data Units) to determine the spanning tree topology. STP uses a Tree Algorithm (STA) to prevent loops, resulting in a stable network topology.
2. Following are the possible solutions for preventing routing loops.
1. Split Horizon - based on the principle that it is not useful to send the information about a route back in the direction from which the information originally came.
2. Poison Reverse - A router that discovers an inaccessible route sets a table entry consistent state (infinite metric) while the network converges.
3. Hold-down Timers - Hold down timers prevent regular update messages from reinstating a route that has gone bad. Here, if a route fails, the router waits a certain amount of time before accepting any other routing information about that route.
4. Triggered Updates - Normally, new routing tables are sent to neighboring routers at regular intervals (IP RIP every 30 sec / and IPX RIP every 60 sec). A triggered update is an update sent immediately in response to some change in the routing table. Triggered updates along with Hold-down timers can be used effectively to counter routing loops.
3. Spanning Tree Protocol (STP) is enabled on every port on Cisco switches, by default. It is preferred to leave it enabled, so that bridging loops don't occur. STP can be disabled selectively on any specific port by issuing the command:
Switch (enable) set spantree disable <mod-number>/<port-number>.
Ex: Switch (enable) set spantree disable 2/4
The above command disables STP on port 4 of module 2.

4. All switches participating in STP exchange information with other switches in the network through messages, known as, Bridge Protocol Data Units (BDPUs). BDPUs are sent out at a frequency of 2 seconds on every port.

5. Internally, STP assigns to each bridge (or switch) port a specific role. The port role defines the behavior of the port from the STP point of view. Based on the port role, the port either sends or receives STP BPDUs and forwards or blocks the data traffic. The different port roles are given below:

1. Designated: One designated port is elected per link (segment). The designated port is the port closest to the root bridge. This port sends BPDUs on the link (segment) and forwards traffic towards the root bridge. In an STP converged network, each designated port is in the STP forwarding state. The switch with the lowest cost to reach the root, among all switches connected to a segment, becomes a DP (Designated Port) on that switch. If the cost is tied (that is two or more switches have the same cost), the switch with the lowest bridge ID will have the DP (the switch on which DP is elected is called Designated Switch or Designated Bridge). Bridge ID: Priority + MAC address
2. Root: A bridge can have only one root port. The root port is the port that leads to the root bridge. In an STP converged network, the root port is in the STP forwarding state. All bridges except the root bridge will have a root port.
3. Alternate: Alternate ports lead to the root bridge, but are not root ports. The alternate ports maintain the STP blocking state.
4. Backup: This is a special case when two or more ports of the same bridge (switch) are connected together, directly or through shared media. In this case, one port is designated, and the remaining ports block. The role for this port is backup.

6. A switch, participating in Spanning-Tree protocol, passes through the following states:
1. Blocked state: This is the initial state. All ports are put in a blocked state to prevent bridging loops.
2. Listen state: This is the second state of switch ports. Here all the ports are put in listen mode. The port can listen to frames but can't send. The period of time that a switch takes to listen is set by "fwd delay".
3. Learn state: Learn state comes after Listen state. The only difference is that the port can add information that it has learned to its address table. The period of time that a switch takes to learn is set by "fwd delay".
4. Forward state: A port can send and receive data in this state. Before placing a port in forwarding state, Spanning-Tree Protocol ensures that there are no redundant paths or loops.
5. Disabled state: This is the state when the switch port is disabled. A switch port may be disabled due to administrative reasons or due to switch specific problems.

7. During the process of Spanning-Tree Protocol execution, Root switch (say, switch A) is elected first. Next, the switch closest to the root switch is selected. This switch is known as Designated switch or Parent switch (say switch B). The frames are forwarded to the root switch(A) through the designated switch(B). Now the lowest cost port on a switch (say switch C) is selected. This is known as the Root port. A Root Port is the port on a switch that has the lowest cost path to the Root Bridge. All Non-Root Switches will have one Root Port. Here, switch B is the designated switch for switch C and switch A is known as the root switch for switch C. Note that switch C is connected to the root switch (A) through its designated switch (B).

8. During the process of Spanning-Tree Algorithm execution, some redundant ports need to be blocked. This is required to avoid bridging loops. To choose which port to use for forwarding frames, and which port to block, the following three components are used by the Spanning-Tree Protocol:
1. Path Cost: The port with lowest path cost is placed in the forwarding mode. Other ports are placed in blocking mode.
2. Bridge ID: If the path costs are equal, then the bridge ID is used to determine which port should forward. The port with the lowest Bridge ID is elected to forward, and all other ports are blocked.
3. Port ID: If the path cost and bridge ID are equal, the Port ID is used to elect the forwarding port. The lowest port ID is chosen to forward. This type of situation may arise when there are parallel links, used for redundancy.

9. When a bridge starts up, the bridge ID is set as root ID. That is, it considers itself as the root bridge. However, while exchanging BDPUs, if it comes across a BDPU that has a bridge ID lower than its own, then the bridge corresponding to the BDPU is considered as root bridge, and this information is propagated. The bridge ID consists of the following:
1. 2-byte priority: The default value on Cisco switches is 0X8000 (32,768), lower the priority, higher the chances of becoming a root bridge.
2. MAC address: The 6 byte MAC address of the bridge. Lower the MAC address, higher the chances of becoming a root bridge.
Note that, the bridge (or switch) with lowest value of 2-byte priority will become the root bridge. If the priority value is same, then the bridge with lowest value of 6-byte MAC address will become the root bridge.

10. The command "show spantree" includes information about the following:
1. VLAN number
2. Root bridge priority, MAC address
3. Bridge timers (Max Age, Hello Time, Forward Delay)
ii. VLANS

1. The following are the advantages of LAN segmentation using VLANs:
1. Segmentation of broadcast domains using VLANs result in creation of more bandwidth per user.
2. Security is provided by isolating users corresponding to different VLANs. Users belonging to one VLAN will not receive frames mean for some other VLAN.
3. LAN segmentation using VLANs can be done based on job function rather than physical location, if required.

2. VLANs are typically configured on switch ports. However, note that a router is required to switch traffic between VLANs. A switch identifies the VLAN associated with a given frame and forwards the frame to associated ports. Separate VLANs for voice and data traffic improves the privacy and reliability of voice communication.

A single physical port on a router can support one or more VLANs by use of sub-interfaces. There is no need to have as many physical ports on a router as that of VLANs.

3. Inter-VLAN communication can occur only if the router is configured with appropriate sub-interfaces. In this case, there are 4 VLANs (VLANs 100,200,300, and 400), in addition to VLAN 1 (management VLAN). Therefore, 5 sub-interfaces have to be configured on the router interface connecting the switch.
A roll-over cable is required for connecting a terminal to the Console port of a router/switch.
iii. VTP

1. VLAN Transport Protocol (VTP) information can be distributed throughout the
network to all stations including servers, routers, and switches.

The VLAN transport protocol are:

ISL: ISL (Inter Switch Link) is the VLAN transport protocol used over Fast Ethernet trunked link.
802.1: 802.1 is the VLAN transport protocol used over FDDI trunked link.
LANE: LAN Emulation (LANE) is the VLAN transport protocol used across an ATM trunked link.

The default VTP configuration parameters for the Catalyst switch are as follows:
1. VTP domain name: None
2. VTP mode: Server
3. VTP password: None
4. VTP pruning: Disabled
5. VTP trap: Disabled

2. The VTP domain name can be specified manually or learned across a configured trunk line from a server with a domain name configured. By default, the domain name is not set.
If you configure a VTP password, VTP does not function properly unless you assign the same password to each switch in the domain.
VTP trap is disabled by default. If you enable this feature, it causes an SNMP message to be generated every time a new VTP message is sent.

3. VTP is a Layer 2 messaging protocol. It carries configuration information throughout a single domain. VTP operates in one of three modes:
1. Server mode: VTP Servers can create, modify, or delete VLANs and other configuration parameters for the specified VLAN domain.
2. Client mode: A VTP client can't create, change, or delete VLANs.
3. Transparent mode: A VTP transparent mode is used when a switch is not required to participate in VTP, but only pass the information to other switches. Transparent switches don't work either as Server or clients.

4. Configurations made to a single switch, called VTP server, are propagated across the switch fabric under a single domain control. Other switches, configured as VTP clients, learn the configuration information from the server. Cisco switches such as Catalyst 1900, acting as VTP servers save the VLAN configuration information in their Non volatile memory (NVRAM), whereas clients keep the information only in running configuration.

From the output of show vtp status, we can observe that the domain name and the VTP version are different for both the switches. For successfully transferring VLAN information, the version numbers must be same on both the switches. Similarly, the VTP domain name must also be same on both the switches.

5. A VTP advertisement necessarily consists of "Configuration revision number". Every time a VTP server updates its VLAN information, it increments the configuration revision number by one count. VTP clients, use the revision number to enforce the VLAN configuration Update.

6. There are two different VTP versions. VTP version 1 and VTP version 2. These versions are not interoperable. Version 1 is the default version. All switches in a given management domain should be configured in either version 1 or version 2. Some of the advantages of VTP version 2 are as below:
1. Token Ring support: Supports Token Ring LAN switching and VLANs. If Token Ring is used, this is the version required.
2. Version number auto propagation: In case that all switches are capable of running Version 2, only one switch need to be Version 2 enabled, Version number is automatically propagated to others.

7. By default, there are no passwords in VTP informational updates, and any switch that has no VTP domain name can join the VTP domain when trunking is enabled. Also any switch that has the same VTP domain name will join and exchange VTP information. This could enable an unwanted switch in your network to manage the VLAN database on each of the switches. To prevent this from occurring, set a VTP password on the switches you want to exchange information.

8. VTP pruning is a technique that enhances the available network bandwidth by reducing the broadcast, multicast, and flooded unicast messages. These frames are not forwarded to network devices that don't have ports associated with a given VLAN. When VTP pruning is enabled, a switch forwards the flooded traffic across a link to another switch, only if that switch has ports associated with that VLAN

VMware Cloud Learning Video's

Here is a nice summary list of all VMworld US 2018 Breakout session with the respective video playback & download URLs. Enjoy! Bra...