Wednesday, 26 January 2011

Auth-Proxy configuration

Auth-Proxy configuration

config to setup Auth Proxy on Cisco Router .

aaa authentication login default group tacacs+
aaa authentication login free none
aaa authentication login AUTH-PROXY group tacacs+
aaa authorization auth-proxy default group tacacs+

ip access-list extencec AUTH-PROXY-ACL
permit tcp any host eq www log
ip auth-proxy name AUTH-PROXY http inactivity-time 5 list AUTH-PROXY-ACL

int ethernet 0/1
ip auth-proxy AUTH-PROXY

now http server need to be running so we need to enable the https server service on our device

http server
ip http authentication aaa login-authentication AUTH-PROXY
tacacs-server host
tacacs-server key cisco123

Setup authentication free none mentioned in initial lines of config to avoid any lock down on our box.

line con 0
login authentication free

Now Setup ACS server

under interface configuration enter new service

group setup

make sure auth-proxy is checked

check custom attribute
enetre acl to apply after user is authenticated
entre the privil levle for implmeentatiopn the auth proxy acl Priv level 15

thats it it should work .

Tuesday, 18 January 2011

Spanning Tree Protocol

Hi some key points I would like to share with you on STP


setup Layer 2 LAN interface of the switch as an access port to enter the forwarding state immediately, bypassing the listening and learning states. Use PortFast only when connecting a single end station to a Layer 2 access port.


Provides from three to five seconds convergence after a direct link failure and achieves load balancing between redundant Layer 2 links using uplink groups.


Cuts convergence time by max_age for indirect failure.

BackboneFast is initiated when a root port or blocked port on a network device receives inferior bridge protocol data units (BPDU) from its designated bridge.

Loop guard:

Prevents an alternate or root port from becoming designated in the absence of BPDUs. Loop guard helps prevent bridging loops that could occur because of a unidirectional link failure on a point-to-point link.

Root guard:

Secures the root on a specific switch by preventing external switches from becoming roots.

BPDU guard:

When configured on a PortFast-enabled port, BPDU guard shuts down the port that receives a BPDU.

Unidirectional Link Detection (UDLD):

UDLD monitors the physical configuration of fiber-optic and copper connections and detects when a one-way connection exists. When a unidirectional link is detected, the interface is shut down and the system alerted.

Saturday, 15 January 2011

Intresting Facts

1. Chewing on gum while cutting onions can help a person from stop producing tears. Try it next time you chop onions.

2. Until babies are six months old, they can breathe and swallow at the same time. Indeed convenient!

3. Offered a new pen to write with, 97% of all people will write their own name.

4. Male mosquitoes are vegetarians. Only females bite.

5. The average person's field of vision encompasses a 200-degree wide angle.

8. Babies' eyes do not produce tears until the baby is approximately six to eight weeks old.

9. It snowed in the Sahara Desert in February of 1979.

10. Plants watered with warm water grow larger and more quickly than plants watered with cold water.

11. Wearing headphones for just an hour will increase the bacteria in your ear by 700 times.

12. Grapes explode when you put them in the microwave.

13. Those stars and colours you see when you rub your eyes are called phosphenes.

14. Our eyes (Pupils) are always the same size from birth, but our nose and ears never stop growing.

15. Everyone's tongue print is different, like fingerprints.

16. Contrary to popular belief, a swallowed chewing gum doesn't stay in the gut. It will pass through the system and be excreted.

17. At 40 Centigrade a person loses about 14.4 calories per hour by breathing.

18. There is a hotel in Sweden built entirely out of ice; it is rebuilt every year.

19. Cats, camels and giraffes are the only animals in the world that walk right foot, right foot, left foot, left foot, rather than right foot, left foot .

20. Onions help reduce cholesterol if eaten after a fatty meal.

21. The sound you hear when you crack your knuckles is actually the sound of nitrogen gas bubbles bursting.

Thursday, 13 January 2011

Increase Laptop Battery Time

Does your laptop battery runs out ?

Keeping your laptop up and running without the benefit of an outlet requires smart, effective use of your battery’s energy. Whether it’s a long flight or an afternoon in the park, knowing what’s draining your computer’s energy can help you get through―with runtime to spare. Here are a few things you can do to make sure your laptop doesn’t power down.

  1. Dimmer lasts longer
    Turning down the brightness on your screen is an easy way to squeeze some more juice out of your battery. See how dim you can get your LCD without squinting, keeping in mind that every squint is gaining you uptime.
  2. Unplug unnecessary devices
    Unplugging unnecessary external devices will save your energy from wandering down a dead end street. Even when not in use, anything plugged into a USB port―such as a mouse or an external keyboard―uses energy just sitting there, and that power can add up quickly, especially when speaking in terms of multiple devices.
  3. Minimize running programs
    Shut down any applications not integral to what you’re working on. This means anything running in the background, from toolbar search engines to music programs and Web pages. Even having an unused CD in the drive uses energy.
  4. Keep it cool
    Making sure your laptop stays cool will help it run more efficiently―and efficiency is the name of the game when it comes to extending battery life. Check the air vents to make sure they’re not obstructed, and consider buying a laptop stand so it doesn’t have to sit directly on your lap.
  5. Hibernate, not standby
    Keeping your laptop on standby is convenient, but its convenience comes at a steep price compared with the hibernate function, which uses far less of your laptop’s precious resources.