Switch Access Layer Security Flashcards
What is DHCP Snooping?
Switch Security feature that drops DHCP Server responces if they do not come in on a trusted port.
Config won’t be tested but it is enabled by:
SW1(config)# ip dhcp snooping
SW1(config)# ip dhcp snooping vlan 10
SW1(config)# interface fast 0/24
SW1(config-if)# ip dhcp snooping trust
What is Dynamic ARP Inspection?
Switch watches DHCP traffic and keeps track of which IPs were assigned to which MAC addresses. Invalid ARP traffic is then dropped.
*Requires DHCP snooping to be enabled on the switch.
Config won’t be tested but it is enabled by:
SW1(config)# ip arp inspection vlan 10
SW1(config)# interface fast 0/24
SW1(config-if)# ip arp inspection trust <- must trust ports that dont have DHCP clients on them.
What is 802.1X?
A form of Port Authentication.
Must be configured on the end device and on the access switch. When first plugged in, they can only communicate with the external authentication server.
What are the 3 options for port security?
- Protect - Port is not shutdown - offending traffic is dropped
- Restrict - Port is not shutdown - offending traffic is dropped - logs are written
- Shutdown - Port is shutdown
Command to view port security settings on a port
SW1# show port-security interface f0/1
Command to auto restore port disabled by port security?
SW1(config)# errdisable recovery cause psecure-violation
SW1(config)# errdisable recovery interval 600
Command to show mac addresses learned via port security?
SW1# show port-security address