[CCNAv6 S2] 5.2.2.7 Packet Tracer - Configuring Switch Port Security



Packet Tracer - Configuring Switch Port Security
Addressing Table

Objective

Part 1: Configure Port Security

Part 2: Verify Port Security

Background

In this activity, you will configure and verify port security on a switch. Port security allows you to restrict a port’s ingress traffic by limiting the MAC addresses that are allowed to send traffic into the port.

Part 1:     Configure Port Security
a.     Access the command line for S1 and enable port security on Fast Ethernet ports 0/1 and 0/2.

b.    Set the maximum so that only one device can access the Fast Ethernet ports 0/1 and 0/2.

c.     Secure the ports so that the MAC address of a device is dynamically learned and added to the running configuration.

d.    Set the violation so that the Fast Ethernet ports 0/1 and 0/2 are not disabled when a violation occurs, but packets are dropped from an unknown source.

e.     Disable all the remaining unused ports. Hint: Use the range keyword to apply this configuration to all the ports simultaneously.

Part 2:     Verify Port Security
a.     From PC1, ping PC2.

b.    Verify port security is enabled and the MAC addresses of PC1 and PC2 were added to the running configuration.

c.     Attach Rogue Laptop to any unused switch port and notice that the link lights are red.

d.    Enable the port and verify that Rogue Laptop can ping PC1 and PC2. After verification, shut down the port connected to Rogue Laptop.

e.     Disconnect PC2 and connect Rogue Laptop to PC2’s port. Verify that Rogue Laptop is unable to ping PC1.

f.     Display the port security violations for the port Rogue Laptop is connected to.

g.    Disconnect Rouge Laptop and reconnect PC2. Verify PC2 can ping PC1.

h.     Why is PC2 able to ping PC1, but the Rouge Laptop is not?



Configuration S1:

enable
configure terminal
interface FastEthernet0/1
 switchport mode access
 switchport port-security
 switchport port-security mac-address sticky
 switchport port-security violation restrict
 switchport port-security maximum 1
interface FastEthernet0/2
 switchport mode access
 switchport port-security
 switchport port-security mac-address sticky
 switchport port-security violation restrict
 switchport port-security maximum 1
interface range f0/3-24,g0/1-2
 shutdown
 exit
!





Link Download: Here


Nhận xét

Bài đăng phổ biến từ blog này

[CCNAv6 S4] 8.2.4.14 Packet Tracer - Troubleshooting Enterprise Networks 3

[CCNAv6 S2] 2.2.2.4 Packet Tracer - Configuring IPv4 Static and Default Routes

[CCNAv6 S2] 7.3.2.4 Packet Tracer - Troubleshooting Standard IPv4 ACLs