Guide
Network access control: 802.1X and Cisco TrustSec (CCNP ENCOR)
Network access control authenticates endpoints at the edge and carries their identity into policy decisions across the network. These sections cover the wireless and switch features, TrustSec operations, defaults, and commands needed for the ENCOR questions.
2 parts · video · 26 practice questions
802.1X and network access control
WPA2-Personal uses a pre-shared key (PSK). WPA3-Personal replaces PSK authentication with Simultaneous Authentication of Equals (SAE), which resists offline dictionary attacks. Cisco documents the standard four-way handshake for securing the session after SAE.
- WPA2-Personal
- pre-shared key (PSK)
- WPA3-Personal
- Simultaneous Authentication of Equals (SAE)
- 802.1X roles
- supplicant, authenticator, authentication server
- Default port-control state
- force-authorized
802.1X controls access to a wired or wireless network through a supplicant (client), an authenticator (often a switch or access point), and an authentication server such as RADIUS/ISE. EAP-TLS is a certificate-based EAP method that uses client and server certificates for mutual authentication. Certificate validation and trust configuration depend on the supplicant and deployment.
On Catalyst IOS XE, authentication port-control auto places the port in the unauthorized state during 802.1X authentication. It blocks ordinary traffic while allowing 802.1X, CDP, and STP packets; voice VLAN ports have additional behavior. force-authorized bypasses 802.1X and is the default port-control state; force-unauthorized keeps the port unauthorized. Configure the global 802.1X feature and AAA/RADIUS separately as required by the platform.
IEEE 802.1AE defines MACsec, which provides hop-by-hop Ethernet link confidentiality and integrity between adjacent MACsec peers. It protects the Ethernet frame on that link; it is distinct from 802.1X authentication, which can establish keying material and control port access.
Cisco Secure Network Analytics, formerly Stealthwatch, analyzes network telemetry such as NetFlow/IPFIX to establish normal behavior and detect anomalies, including insider threats and data exfiltration. Cisco Telemetry Broker can also ingest AWS VPC flow logs and Azure NSG flow logs and transform them into formats compatible with Secure Network Analytics. Catalyst 9300 can export NetFlow telemetry for Encrypted Traffic Analytics (ETA), which uses passive monitoring and flow fields to identify malware communications in encrypted traffic. This is analytics and detection, not an authentication server.
FlexConnect separates controller control from client data forwarding. With local switching enabled, the AP bridges client data onto the locally configured VLAN through its Ethernet connection instead of tunneling the data payload to the controller with CAPWAP. The AP uplink and local VLAN configuration must carry that traffic; centrally switched WLANs send client data to the controller.
Dynamic ARP Inspection (DAI) checks ARP requests and replies arriving on untrusted interfaces against IP-to-MAC bindings, normally the DHCP snooping binding database. For statically addressed devices, use appropriate ARP ACL entries. IP Source Guard (IPSG) filters source addresses on untrusted access ports using DHCP snooping bindings or manually configured IP source bindings, so DHCP snooping must be enabled for the ordinary dynamic-binding workflow.
On platforms that support the IOS XE Zone-Based Policy Firewall, traffic between interfaces in the same security zone is allowed by default. Traffic between different zones is denied unless a zone pair has a policy that permits or inspects it. Check platform support before applying this behavior to a Catalyst switch.
aaa new-model
aaa authentication dot1x default group radius
dot1x system-auth-control
interface GigabitEthernet1/0/1
authentication port-control auto
dot1x pae authenticatorReferences (10)
- Catalyst 9800 IOS XE: WPA3 and SAE
- Catalyst 9800 IOS XE: EAP-TLS and EAP-PEAP certificates
- Catalyst 9300 IOS XE: IEEE 802.1X
- Catalyst 9800 IOS XE: FlexConnect local switching
- Catalyst 9300 IOS XE: Dynamic ARP Inspection
- Catalyst 9300 IOS XE: IP Source Guard
- Cisco IOS XE: Zone-Based Policy Firewall behavior
- Catalyst 9300: NetFlow, AVC, and ETA
- Cisco Secure Network Analytics: detection and telemetry
- Catalyst 9300 IOS XE: MACsec encryption
Cisco TrustSec tags, SXP, and SGACL policy
Cisco TrustSec assigns a 16-bit Security Group Tag (SGT) to a source user, device, or entity. Security Group ACLs (SGACLs) enforce access based on the source SGT and destination security group, so policy can follow identity when IP addresses or VLANs change. Catalyst 9300 IOS XE describes access control at the egress edge: the egress device evaluates the source and destination groups and applies the matching SGACL policy.
- SGT size
- 16-bit
- SXP TCP destination port
- 64999
- SXP speaker
- initiator
- SXP listener
- receiver
Catalyst 9300 TrustSec inline tagging carries the 16-bit SGT in Cisco TrustSec metadata (CMD) embedded in the Layer 2 Ethernet frame. Cisco describes SGT-over-Ethernet as clear-text and hop-by-hop, from a capable device to its next-hop Ethernet neighbor; intermediary devices need to support the format to receive and propagate the tag. MACsec can secure the Ethernet link between capable peers.
When inline tagging is unavailable, SGT Exchange Protocol (SXP) distributes IP-to-SGT bindings as control-plane information. SXP uses TCP destination port 64999 to initiate connections. Cisco defines the speaker as initiator and the listener as receiver. Catalyst 9300 IOS XE documents bindings sent from access devices to upstream enforcement devices, which maintain a source IP-to-SGT table. SXP carries mappings, not an SGT inside every data packet.
Enable SXP globally with cts sxp enable before configuring peers. This is separate from SGACL enforcement: cts role-based enforcement globally enables or disables SGACL enforcement for TrustSec-enabled interfaces on supported Catalyst platforms. Enforcement scope and interface configuration vary by model and IOS XE release.
A static cts role-based sgt-map binds an IP address or subnet to an SGT. cts credentials id and password configure the TrustSec device identity and password for authentication with other TrustSec devices using EAP-FAST; this is not a generic endpoint credential. Catalyst IOS XE can download environment data and SGACL policies from ISE, then enforce the policies on the switch. Cisco describes PAC-less authentication as enabling secure environment-data and SGACL downloads from ISE.
If a source/destination SGT pair has no explicit SGACL matrix cell, the configured default SGACL policy applies. The SGT assigned after failed 802.1X or MAB authentication depends on the configured authorization policy. The unknown selector in an SGACL applies when a source or destination group cannot be determined. Apply SGACL policy at the enforcement point and verify that the endpoint's SGT binding and relevant policy are present.
For troubleshooting, first verify that the endpoint has the intended SGT or IP-to-SGT binding, then verify how that binding reaches the enforcement device: inline tagging on a capable path or an established SXP session and learned mapping. Next check environment/policy download, the source-to-destination SGACL cell or default policy, and whether role-based enforcement is enabled on the relevant interface or VLAN. A missing binding, unsupported inline hop, absent policy, or disabled enforcement can each prevent the expected result.
cts credentials id switch01 password <secret>
cts sxp enable
cts sxp connection peer 192.0.2.10 password default mode local speaker
cts role-based sgt-map 192.0.2.25 sgt 25
cts role-based enforcement
show cts role-based sgt-map all
show cts sxp connections
show cts role-based permissionsReferences (6)
- Catalyst 9300 IOS XE: TrustSec overview, device credentials, and PAC-less authentication
- Catalyst 9300 IOS XE: SGACL permissions and default policy
- Catalyst 9300 IOS XE: TrustSec command reference
- Catalyst 9300 IOS XE: SGT mapping
- Catalyst 9300 IOS XE: SGT inline tagging
- Catalyst 9300 IOS XE: SXP binding propagation and TCP port
Check your understanding
Network access control: 802.1X and Cisco TrustSec (CCNP ENCOR)
All 2 sections · no timer
Unlimited retries
Questions from every section are combined into one assessment. Answer them all correctly to complete the article.
Your completion saves in this browser. Sign in to sync it to your account.