Slide

  • LINUX

    LINUX:In 1969 AT&T made a decision to withdraw Multics and go with GECOS (General Electric Comprehensive Operating Supervisor / System), with AT & T in Bells Lab when Multics was withdrawn some of the programmers named Ken Thompson and Dennis Ritchie decided to rewrite operating system in order to support low cost computer..To Know More

    CLICK HERE

  • MICROSOFT

    MICROSOFT:Microsoft was established to develop and sell BASIC interpreters for the Altair 8800. It rose to dominate the home computer operating system market with MS-DOS in the mid-1980s,followed by the Microsoft Windows line of operating systems. To Know More

    CLICK HERE

  • CISCO

    CISCO:During the early 1980s, there was a married couple namely Len and Sandy Bosack who used to work in two different departments of computer located in Stanford University. This couple was facing problem in making their computers communicate with each other To Know More

    CLICK HERE

showinfo=1

MAC-BASED PORT SECURITY ON EXTREME SWITCH


MAC-BASED PORT SECURITY


Type-1) Mac-based port security using local database

## mac based port security using local database ###

##create mac based netlogin for single port ##
create vlan Netlogin-test
configure netlogin vlan Netlogin-test
configure netlogin mac authentication database-order local
configure netlogin add mac-list 00:2a:00:00:ab
create netlogin local-user 002A0000AB 002A0000AB
enable netlogin mac
enable netlogin ports 40 mac

Note:- you need to create database manually

##create mac based netlogin for 10 port ##
create vlan Netlogin-test
configure netlogin vlan Netlogin-test
configure netlogin mac authentication database-order local
configure netlogin add mac-list 00:2a:00:00:ab ------> you can specify specific ports for this mac address
create netlogin local-user 002A0000AB 002A0000AB
enable netlogin mac
enable netlogin ports 30 - 40 mac

Note:- the above mac address pc can be connected to 10 ports in the switch. similarly you can have multiple pc on multiple ports..


### Removing netlogin ##################
delete netlogin local-user
configure netlogin delete mac-list
disable netlogin port 40 mac
disable netlogin mac
unconfigured netlogin vlan
delete vlan Netlogin-test
#########################################


### to check MAC ADDRESS IN ROUTER ####
show fdb ports all
show fdb ports 40
############################################



Type-2) Mac-based port security using Radius Server

#############################################################
##radius server configuration for Port block (MAC-BASED)######
Requirement Radius Server & Client software is default load to EXOS
#####
###Radius Server config in Centos 6###

#yum install freeradius freeradius-mysql freeradius-utils mysql-server
#service mysqld start
#/usr/bin/mysql_secure_installation
-- configure the mysql to your requirement ---
#mysql -u root -p
mysql>CREATE DATABASE radius;
mysql>GRANT ALL PRIVILEGES ON radius.* TO radius@localhost IDENTIFIED BY "radpass";
mysql>flush privileges;
mysql> use radius;
mysql>SOURCE /etc/raddb/sql/mysql/schema.sql
mysql>exit

#vi /etc/raddb/sql.conf
-- enter your mysql database details you just created, Example: ---

# Connection info:
server = "localhost"
#port = 3306
login = "radius"
password = "radpass"

# Database table configuration for everything except Oracle
radius_db = "radius"

#vi /etc/raddb/radiusd.conf
--- ensure that the line uncommented ---

$INCLUDE sql.conf

Edit /etc/raddb/sites-available/default and uncomment the line containing ‘sql’ in the authorize{} section
and ‘sql’ in the accounting {} section, also uncomment ‘sql’ under session {}.

Additionally, edit /etc/raddb/sites-available/inner-tunnel and
uncomment the line containing ‘sql’ under “authorize {}” and under session {}.

#vi /etc/raddb/clients.conf

secret = trace1234

#service radiusd restart
#vi /etc/raddb/clients.conf
--- enter the client ip in this file ---

Note:- whenever you make changes to client file restart the radius server

#service radiusd restart
#mysql -u root -p
mysql>use radius;
mysql>INSERT INTO `radcheck` (`id`, `username`, `attribute`, `op`, `value`) VALUES (1,'test','User-Password',':=','test');

---to remove entery ----
mysql>delete from radcheck where id=1;
mysql>exit

-- check radius is working fine --
#radtest test test 127.0.0.1 0 trace1234

#chkconfig radiusd on
#chkconfig mysqld on

#### router config #####


create vlan portsecurity
configure netlogin vlan "portsecurity"
configure netlogin mac authentication database-order radius
configure radius netlogin primary shared-secret trace1234
configure radius netlogin primary server 10.15.0.148 client-ip 10.1.0.205 vr "VR-Default" ---> VR-Default is the virtual router to check sh vlan
configure netlogin add mac-list 00:2a:00:00:ab
enable radius netlogin
enable netlogin mac
enable netlogin port 40 mac


Note:- you need to create mac-list manually & store username and password in radius server.


#####################################################################

#### Remove netlogin radius config on router ######

configure netlogin delete mac-list EC:A8:6B:F5:13:A9
disable netlogin ports 40 mac
disable netlogin mac
unconfigure radius netlogin server primary
unconfigure netlogin vlan
unconfigure netlogin vlan
#####################################################



Type-3) Mac-based port security using MAC-LOCKDOWN

### MAC-LOCKDOWN ##########

--- connect PC to port 40 so that it takes the mac --
show fdb ports 40
--- once it shows the mac run below command to lock mac to that port ---
configure ports 40 vlan "Default" lock-learning

---- if want more PC to be connected to the same port after locking add it manually in fdb ---
create fdbentry 00:00:00:00:00:00 "Default" ports 40

--- To remove fdb entry ---
delete fdbentry 00:00:00:00:00:00 "Default"

--- to unlock --
configure ports 40 vlan "Default" unlock-learning
##############################################

29 comments:

  1. Thanks for taking the time to discuss this, I feel about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
    http://www.wvukids.org |

    ReplyDelete
  2. Thank you for another fantastic posting. Where else could anyone get that kind of information in such a perfect way of writing? I have a speech next week, and I was looking for more info ;)
    reseau-mpp-idf.org |

    ReplyDelete
  3. Very interesting article. I would love to read the book “Start with Why”, by Simon Sinek. I think he has taken a great topic to deal with.
    www.kids2prosports.org |

    ReplyDelete
  4. Aim for a higher progress and development and work your way from those goals and plans. Interesting in here indeed. thanks for the share.
    sendacardhome.com |

    ReplyDelete
  5. This is cool post and i enjoy to read this post. your blog is fantastic and you have good staff in your blog. nice sharing keep it up.
    appliedsatellitetechnology.com |

    ReplyDelete
  6. Outstanding blog post, I have marked your site so ideally I’ll see much more on this subject in the foreseeable future.
    http://www.horsebaktour.com |

    ReplyDelete
  7. The post is written in very a good manner and it entails much useful information for me. I am happy to find your distinguished way of writing the post.
    www.californiavacationpackages.net |

    ReplyDelete
  8. Pretty portion of content. I just stumbled upon your weblog and in accession capital to assert that I acquire in fact enjoyed account your weblog posts. Any way I will be subscribing on your augment or even I achievement you get admission to constantly quickly.
    http://www.youtubev.net |

    ReplyDelete
  9. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    ny-businesslaw |

    ReplyDelete
  10. Very interesting article. I would love to read the book “Start with Why”, by Simon Sinek. I think he has taken a great topic to deal with. Teaching leaders to inspire others is a good idea to bring up a civilized society. Thanks for sharing. Keep posting.
    weddingcakescork.com |

    ReplyDelete
  11. Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information. This is the first time, I visited at your site and became your fan. You are bookmarked. Please keep on posting.
    coolpetslive |

    ReplyDelete
  12. Hi, i think that i saw you visited my blog thus i came to “return the favor”.I’m trying to find things to improve my website!I suppose its ok to use some of your ideas!!
    hbc-business.com |

    ReplyDelete
  13. a pride for me to be able to discuss on a quality website because I just learned to make an article on

    ReplyDelete
  14. Really impressive post. I read it whole and going to share it with my social circules. I enjoyed your article and planning to rewrite it on my own blog. Local Packers And Movers Bangalore

    ReplyDelete
  15. Hello, My Self Mahi Chopra. Get to meet high profile independent escorts Girls models and this is the superb mumbai escorts service you can find in the city of Mumbai.

    Mumbai Escorts | Call Girls in Mumbai | Mumbai Call Girls | Escorts in Mumbai | Russian Mumbai Escorts | Call Girls Service in Mumbai | Escort Service in Mumbai

    ReplyDelete
  16. this is really nice and effective blog, i found lots of information in this blog and sites for commenting is best.Very nice I like a lot of these topics... @ Packers and Movers Kolkata
    Packers And Movers Kolkata to Leh
    Packers And Movers Kolkata to Guntur

    ReplyDelete
  17. Die Technologie entwickelt sich schneller denn je und schneller als Sie denken. Diese aufkommende Technologie wird unsere Lebensweise verändern.

    ReplyDelete
  18. great article.
    Warehouses are used all over the world to store goods and products.
    Warehousing is a significant part of logistics and supply chain management. packers and movers in gurgaon Warehouses are an essential part of international shipping. Shipping goods all over the world is a very complex process, and it isn't just a case of loading boxes onto trucks and trains. packers-and-movers-in-noida Warehouses are needed to store and provide access to these products, until they're needed for delivery.Warehouse refers to a large storage space for general cargo. A warehouse is generally bigger than a storage room, and smaller than a depot. packers-and-movers-in-faridabad The bigger warehouses are found in ports and airports where goods are received from manufacturers and exporters located all over the world.
    The smallest warehouses can be referred to as stores where stocks of retail business are kept for sale or consumption on the premises or elsewhere. packers-and-movers-in-bhiwadi In Japan, even convenience stores have small warehouses just beside their shop areas where they store everyday items like
    A warehouse is a storage building or area where merchandise, such as food, clothing and automobiles, can be stored. packers-and-movers-in-sector-21-gurgaon Warehouses are used by manufacturers, importers/exporters, transport businesses and other value-chain participants. They have operations that perform functions to support their primary business. packers-and-movers-in-sector-65-gurgaon These same activities may also be performed by the people who use warehouses in their work (i.e. sales representatives), but in general terms they are categorized separately from warehousing activities because they do not require.

    ReplyDelete
  19. Nice info.


    Tips on how to unpack your belongings after relocating in Gurgaon
    In India, Packers Movers in Gurgaon is rumored to be one of the largest moving, pressing and transportation specialist companies in the nation. We have a network of offices in urban communities all around the country to serve customers at their doorstep. For all your moving needs, we are dedicated to giving you a complete solution. Atrans packers and movers Door to Door delivery service in Gurgaon meets your needs. Getting rid of your entire house is one of the toughest tasks and getting rid of your kids makes it even more challenging. The best way to ensure a smooth move to a new home with children and to execute all relocation plans without hiring a professional Gurgaon relocation services is to hire a relocation company.
    The following tips will help to relocate children in a peaceful way, since they take longer to adjust to new surroundings.
    Check out these articles: What to Do After Successful Office Shifting in Gurgaon How to Find the Right Movers and Packers Company in Gurgaon for Smooth Moving Precautions to Take Before Hiring Home Relocation Services? . Check These Tips before You Hire the Best Movers and Packers Company in Gurgaon

    1. Precautions to Take before Hiring -If you have kids who are old enough to understand, organize a family meeting before moving. Make sure they are involved in some decision making, so they feel more responsible. Talk about your adventures last time you moved. Tell children about the benefits of living in a new neighborhood. Assure kids that no matter where they ended up, Atrans packers and movers in Gurgaon would still be able to stay in touch with the people they used to know.
    2. Encourage Children for Self-Packing- Provide children with packing materials and teach them how to pack properly as the moving date grows closer. Encourage children to do their own packing. Packing on Atrans packers and movers in Gurgaon own will make them more responsible towards belongings as well as increase their excitement for relocating to a new place. This will make moving the most exciting experience of their lives. Give children essential instructions while they pack their belongings. Children love to perform adult responsibilities with passion.
    3. Enroll Children in New School- In addition to academics, children have a wide range of interests, from sports and music to music and art. Enrolling them into a new school is a challenging task. It is always recommended to confirm and ensure that your child will receive these curriculum activities for the development of his/her character before enrolling in a school. Many schools claim they offer these facilities but it is always recommended to confirm and ensure that they do.
    4. While Moving- Make sure your kids don't feel the anxiety you feel when moving. Rather, they should see it as a chance to make their future even better.
    Keep kids' favorite juices and food items readily accessible. Let them listen to music of their choosing.
    5. After Relocation in Gurgaon
    Immediately after moving, make sure that the boundary fencing is secure and free of holes from all sides. Children who play alone are prone to escape this type of fencing. Outside animals will also have difficulty entering the property.
    Changing environments often cause behavior changes in children. Don't get upset over every little thing and let kids settle down. In the beginning, they may make mistakes due to anxiety.

    ReplyDelete
  20. Technology News is a guide and recommendation blog on the most popular best switches , best sound card , best wifi adapters , best convertible Laptops technology this year.

    ReplyDelete

Note:- Comment as: Option available to post without login select "Anonymous" from the drop down...........

For Latest Updates: Subscribe Now | | Test Your Knowledge, Take a Quiz now Click Here | | Site Best Viewed In Firefox

X