Write out a config to permit only the below MAC address
to pass traffic through a port on your switch.

in another way writhe a confrigation which permit only mac
address trfaic through a port of your switch

Answer Posted / shahin

Using port security feature of Cisco switch, we can fix a
particular mac add for a fix port.

Switch(config-if)#switchport port-security maximum 1
Switch(config-if)#switchport port-security mac-address
0005.1b00.5b58
Switch(config-if)#switchport port-security violation
shutdown


[SwitchA] (Port no 0/1)
!
!
!
!
!
[PC] (0005.1b00.5b58)

Suppose u hv one switch (ie Switch A). On that,port number
fa 0/1 is connected to PC Which is having mac address
0005.1b00.5b58 . Now u want to allow the mac address of
this PC (0005.1b00.5b58), can only access throgh this port
ie fa 0/1. If any other device attach to this port it will
not work. That means security violation occuring here. So
we also protect this by configuring

"switchport port-security violation shutdown" command.


Hope JITU, this may help u to understand this topic. Give
ur feedback.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When does network congestion occur?

756


Define topology?

599


What is raid in ccna?

664


which algorithm as defined by the transform set is used for providing data confidentiality when connected to tyre?

630


Explain the major types of networks and explain?

656






What’s the easiest way to remotely configure a router?

805


Suppose there are 3 pc's pc1 pc2 and pc3 all are connected with each other pc 1 is able to ping pc2 and pc3 but pc2 and pc 3 not able to ping pc 1 then what is an issue troubleshoot it?

1765


Tell us the name of best path in eigrp protocol?

621


What metric does rip use? How is the metric used to indicate an unreachable network?

805


Explain the types of nat?

651


Can you explain different components in PKI?

1443


Define mac address?

660


Suppose a Switch interface went in error-dis mode what you will do for Troubleshooting List all Possibilities

1960


How do you go to privileged mode? How do you switch back to user mode?

642


What is the working of router?

619