It is currently Thu Feb 23, 2012 7:32 am

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Jan 07, 2012 10:38 am 
Offline

Joined: Sat Jan 07, 2012 8:22 am
Posts: 4
HI,

I just started CCNA. I configured port security on a cisco 2950 switch and it is not working. I need to allow only 2 pcs to connect only to the specific port. those are my personal laptops. what i need is, if any body tries to connect some other laptop to my switch port it should be shutdown. Any Ideas?


Top
 Profile  
 
PostPosted: Sat Jan 07, 2012 11:23 am 
Offline

Joined: Sat Jan 07, 2012 8:31 am
Posts: 12
OK. actually this is a very simple configuration. anyway I'll guide you through the configurations.

Open your switch command line and follow the configurations given below.

Switch>enable
Switch#configure terminal

Go in to the interface which you want to apply security.

Switch(config)#interface FastEthernet 0/1

Configure the port as an access port. It tells that this port is going to connect to a End device.

Switch(config-if)#switchport mode accesss

Then we need to enable port security

Switch(config-if)#switchport port-security

Then you need to configure the maximum number of devices to be allowed. your requirement is 2 devices.

Switch(config-if)#switchport port-security maximum 2

after that you can provide the mac address of each device

Switch(config-if)#switchport port-security mac-address 5aa9.0320.02ab
Switch(config-if)#switchport port-security mac-address 4ab3.0020.02ba

ultimately you want to shut down the interface if there is any security violation. lets do it...

Switch(config-if)#switchport port-security violation shutdown

Done.. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO