cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
776
Views
0
Helpful
2
Replies

switchport security

sarahr202
Level 5
Level 5

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.

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

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

View solution in original post

Edison Ortiz
Hall of Fame
Hall of Fame

"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.

View solution in original post

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

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

Edison Ortiz
Hall of Fame
Hall of Fame

"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.