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
What do you understand by ‘protocol’ in networking?
What is ping? What is the usage of ping?
Define the logical link control?
What is the subnet? Why is it used?
Which protocol you manually enable route summarization?
When does network congestion occur?
Tell me which cable we connect in db-9?
Which ipsec rule is used for the olympia branch and what does it define?
What is the difference between rip and igrp?
Suppose a Switch interface went in error-dis mode what you will do for Troubleshooting List all Possibilities
What are the different types of VPN?
How we can see mac address from dos prompt?
What is difference between igp and eigrp?
What is the default size of frame?
Does a bridge divides a network into smaller segments?