01-08-2011 06:14 PM - edited 03-06-2019 02:53 PM
Hi everybody
Let say we have two hosts,h1 and h2 both are connected to sw1 via hub. For the sake of simplicity, h1 has mac address as mac1 and h2 has mac address as mac2. Sw1 is connected to both hosts by f0/0 via hub.
Now we have following configuration under sw1's f0/0 port:
sw1(config)int f0/0
switchport port-security
switchport port-security maximum 1
switchport port-security mac-address MAC1
switch[port port-security mac-address MAC2
Let say host1 sends a frame ,then after few seconds h2 sends a frame. Will switch disable the port( default is shutdown) since more than one host are connected to f0/0 though both are allowed ?
thanks and have a great wekend.
Solved! Go to Solution.
01-08-2011 06:55 PM
Hi Sarah,
Since you have configure "switchport port-security maximum 1" it will allow one MAC address on port f0/0 at the time not 2
HTH
Reza
01-08-2011 10:03 PM
"Let say host1 sends a frame ,then after few seconds h2 sends a frame. Will switch disable the port( default is shutdown) since more than one host are connected to f0/0 though both are allowed ?"
Yes.
01-08-2011 06:55 PM
Hi Sarah,
Since you have configure "switchport port-security maximum 1" it will allow one MAC address on port f0/0 at the time not 2
HTH
Reza
01-08-2011 10:03 PM
"Let say host1 sends a frame ,then after few seconds h2 sends a frame. Will switch disable the port( default is shutdown) since more than one host are connected to f0/0 though both are allowed ?"
Yes.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide