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

What are the three sources of signal degradation on a data link?

937


Explain the difference between tracert and traceroute?

751


On which base switches take decisions?

760


Explain how many types of ips?

3374


How does L2TP process?

1836






Can you explain the broader steps of how L2F establishes the tunnel?

1665


what does the clock rate do?

795


how we update the IOS version with the help of TFTP?

1647


Explain what is overlaod?

699


How many (minimum and maximum) ports are present in a router?

688


what is prefix list

2449


Which protocol called rapid protocol?

795


What is protocol data unit in ccna?

872


What is loop back ip in ipv6?

745


State the difference between dynamic IP and static IP addressing?

751