From threat to action
A vulnerability is a weakness susceptible to exploitation; a threat is a circumstance or event with potential for harm. An exploit is a mechanism using a vulnerability; mitigation reduces exposure or impact without necessarily correcting the cause.
On a switch with a vulnerable management service, restricting sources can reduce exposure while an update is prepared, but does not remove the defect. Training to recognize social engineering, verification procedures, and controlled physical access address different risks.
A suspicious email, an exposed console port, and a vulnerable version should not receive the same automatic response. State what the measure prevents and what remains possible.
Identity, privileges, and recovery
Authentication verifies identity; authorization defines allowed actions; accounting records activity. A local recovery account can help when AAA is unavailable if custody, privilege, and auditable use are defined. User secrets and enable secret serve different roles; protected secret storage does not encrypt a Telnet session.
Password policy should consider length, compromised credentials, attempt limits, and recovery. Two passwords remain the same factor type. A physical authenticator with an activation PIN or biometric can combine possession with another factor, depending on implementation.
Certificates help only when private-key possession and the trust chain are verified; knowing the subject’s name does not demonstrate possession of the key.
VPN and traffic policy
An IPsec site-to-site VPN protects selected traffic between gateways; remote access connects a remote user or device to an authorized environment. Traffic selection, endpoints, routes, and policy must correspond on both sides. An established tunnel does not authorize every internal destination or guarantee that the intended traffic enters it.
IPsec protects communications according to the association and negotiated services; it does not fix a vulnerable endpoint application. For a failure, compare the actual flow, selection, counters, and access rules. In ACLs, order and direction matter: a broad permit before a specific deny can make the deny ineffective. Verify flows that must remain blocked too.
Trust at the first hop
DHCP snooping distinguishes ports trusted for server messages from client ports. Enable it on intended VLANs and trust only the authorized server path. Marking every port trusted to repair a failure removes the intended protection.
Bindings relate address, MAC, VLAN, and port and can support DAI. A static host may have no DHCP binding, requiring an appropriate explicit policy rather than a global exception. Port security limits MAC identities on an interface: a phone and PC can require two identities.
In restrict mode, traffic from a disallowed source is dropped and the violation is logged/counted; shutdown can place the port in err-disabled. These controls are not human authentication and a MAC is not a secret. Accept configuration by checking both the permitted client and the source that must be rejected.
Read interface controls
In the teaching excerpt, port 1 is the authorized DHCP-server path and port 10 connects one client. DHCP-snooping trust and DAI trust are separate settings: trusting ARP on the uplink requires evaluating that path. The client port permits one MAC and uses restrict mode.
A phone plus PC would require reviewing that limit. DAI depends on bindings or suitable policy for static addresses; enabling it does not solve every case. Extended ACL BLOCK-SSH is applied inbound on the clients’ L3 interface.
The specific deny precedes the broad permit; mentally reverse them and predict the outcome. Counters, bindings, and both allowed and denied traffic provide complementary evidence.
configure terminal
ip dhcp snooping
ip dhcp snooping vlan 60
ip arp inspection vlan 60
interface GigabitEthernet1/0/1
ip dhcp snooping trust
ip arp inspection trust
interface GigabitEthernet1/0/10
switchport mode access
switchport access vlan 60
switchport port-security
switchport port-security maximum 1
switchport port-security violation restrict
exit
ip access-list extended BLOCK-SSH
deny tcp host 10.1.2.3 host 192.0.2.8 eq 22
permit ip any any
interface Vlan60
ip access-group BLOCK-SSH in
exit
end
show ip dhcp snooping binding
show ip arp inspection
show port-security interface GigabitEthernet1/0/10
show access-lists BLOCK-SSHA new phone blocks a port that allowed only the PC’s MAC. Confirm the data/voice design and required limit before removing protection from the entire switch.
Common pitfalls
Confusing encryption with authorization, two secrets with two factors, or a global exception with a targeted repair.
Related topics: Network diagnosis · Configuration decisions
Define the trust boundary and observe positive and negative decisions.
References
- Threat · Glossary consulted 2026-10-22
- Vulnerability · Glossary consulted 2026-10-22
- Authenticator and verifier requirements · SP 800-63B-4
- TACACS+ protocol · RFC 8907
- Security architecture for the Internet Protocol · RFC 4301
- IP ACL overview · IOS 15S conceptual processing; syntax varies by platform
- Configuring DHCP and DHCP snooping · IOS XE 17.18.x C9300
- Dynamic ARP inspection · IOS XE 17
- Port security · IOS XE 17.18.x C9300