Hands-On Lab: Configuring TrustSec Environment Data Download (EDD)

This hands-on lab configures a switch to dynamically download its SGT name-to-number mappings from the ISE-equivalent policy server via Environment Data Download, verifying the switch stays synchronized with centrally managed SGT definitions without requiring local per-device configuration of every group name.

TrustSec Environment Data DownloadDynamic SGT Name ResolutionCentralized Policy Server Synchronization

~3 دقیقه مطالعه · آخرین به‌روزرسانی ۴ مهر ۱۴۰۵

Lab Objective

Configure a switch to download SGT environment data (name-to-number mappings) from a centralized policy server, verify the switch resolves SGT names correctly without any local static definition, and confirm the switch automatically picks up a newly added SGT definition without manual reconfiguration.

Lab Purpose

The SGT labs covered earlier in this series manually configured SGT numbers and their meanings on each switch individually — practical for a lab, but unsustainable across dozens of switches in a real deployment where SGT definitions change over time. Environment Data Download lets every switch pull this information dynamically from a single authoritative source, keeping definitions consistent fabric-wide.

Lab Topology

Switch1 ---- PolicyServer (ISE-equivalent,
             authoritative source for SGT
             name-to-number mappings)

PolicyServer currently defines:
  SGT 10 = Employees
  SGT 20 = Guests
  SGT 30 = Servers

Task 1: Configure Switch1 to Point to the Policy Server

Configure the CTS AAA server pointing to the policy server for authorization and environment data.

Task 2: Trigger an Environment Data Download

Manually trigger a refresh of environment data from the policy server.

Task 3: Verify SGT Names Resolve Correctly

Confirm Switch1 displays human-readable SGT names rather than only numbers, sourced entirely from the policy server rather than local configuration.

Task 4: Add a New SGT Definition on the Policy Server

Add a new SGT (SGT 40 = Contractors) on the policy server, without touching Switch1's configuration at all.

Task 5: Verify Switch1 Automatically Learns the New Definition

Confirm Switch1 eventually resolves SGT 40 to "Contractors" without any local configuration change.

Solution and Verification

Switch1(config)# aaa new-model
Switch1(config)# radius server POLICY-SERVER
Switch1(config-radius-server)# address ipv4 [PolicyServer-address] auth-port 1812 acct-port 1813
Switch1(config-radius-server)# key TrustSecKey2026

Switch1(config)# aaa group server radius CTS-SERVERS
Switch1(config-sg-radius)# server name POLICY-SERVER

Switch1(config)# cts authorization list CTS-SERVERS

Switch1# cts refresh environment-data

-- This explicitly requests updated
-- environment data (SGT name-to-number
-- mappings, among other TrustSec
-- environment settings) from the policy
-- server, rather than waiting for the
-- automatic periodic refresh interval

Switch1# show cts environment-data

CTS Environment Data
====================
Security Group Table:
  0-00:Unknown
  2-00:TrustSec_Devices
  10-00:Employees
  20-00:Guests
  30-00:Servers
-- Switch1 resolved all current SGT names
-- entirely from the policy server -- no
-- name-to-number mapping was ever manually
-- typed into Switch1's own configuration

PolicyServer> [administrator adds a new
               SGT definition: SGT 40 =
               Contractors]

-- No configuration change made on Switch1
-- at this point

-- After the periodic refresh interval
-- elapses (or another manual refresh):

Switch1# cts refresh environment-data

Switch1# show cts environment-data

CTS Environment Data
====================
Security Group Table:
  0-00:Unknown
  2-00:TrustSec_Devices
  10-00:Employees
  20-00:Guests
  30-00:Servers
  40-00:Contractors
-- The new SGT definition appeared
-- automatically, sourced entirely from the
-- policy server -- Switch1 never required
-- any local awareness of this new group
-- being added

Key Takeaway

Environment Data Download decouples SGT naming and definition management from individual switch configuration entirely — every device in the TrustSec domain resolves the same names from the same authoritative source, meaning a single change on the policy server (adding, renaming, or removing an SGT definition) automatically propagates to every switch without requiring a single command to be typed on any of them, a critical scalability improvement over the fully manual per-switch SGT configuration used in the earlier standalone SGT lab.

نوشته و پژوهش‌شده توسط دکتر شاهین صیامی

مقالات مرتبط

Hands-On Lab: Final Comprehensive CCNP Troubleshooting Challenge (BGP, DMVPN, and QoS Integration)

This hands-on lab presents a complex multi-layer failure across an integrated BGP-over-DMVPN topology combined with QoS marking, requiring systematic diagnosis of a route reflector misconfiguration, an NHRP registration failure, and an incorrectly applied QoS policy simultaneously affecting the same network.

ادامه

Hands-On Lab: Configuring BGP over DMVPN

This hands-on lab runs iBGP as the routing protocol across the same DMVPN hub-and-spoke topology used in the two previous labs, configuring the hub as a route reflector so spokes learn each other's routes without a full iBGP mesh, combining two previously separate concepts into one integrated design.

ادامه

Hands-On Lab: Configuring OSPF over DMVPN

This hands-on lab runs OSPF as the dynamic routing protocol across the same DMVPN hub-and-spoke topology, configuring the tunnel interface as an OSPF point-to-multipoint network type to correctly handle the hub-and-spoke adjacency pattern without requiring the broadcast network type's DR/BDR election.

ادامه

Hands-On Lab: Configuring EIGRP over DMVPN

This hands-on lab runs EIGRP as the dynamic routing protocol across the DMVPN hub-and-spoke topology built in earlier labs, verifying neighbor relationships form correctly across the multipoint tunnel and routes propagate without requiring per-spoke static configuration on the hub.

ادامه

Hands-On Lab: Configuring HSRP MD5 Authentication

This hands-on lab configures MD5 authentication on an HSRP group, verifying two routers with matching authentication strings form a normal active/standby relationship while a router with a mismatched string is excluded from the group entirely.

ادامه

Hands-On Lab: Configuring Cisco Umbrella-Style DNS Security via DNS Forwarding Redirection

This hands-on lab configures a router to redirect all client DNS queries toward a security-focused DNS resolver using DNS forwarding interception, approximating cloud-delivered DNS security enforcement without requiring per-client configuration changes.

ادامه