09-18-2025 01:23 PM
Greetings all
After having read documentation about SGT caching, I am unable to determine the proper application of this feature. Your assistance is appreciated.
Scenario:
Assumption: Using 'cts role-based sgt-cache' will solve problem of return traffic arriving without SGT values
Questions:
Diagram attached.
Thank you in advance,
Lee
09-18-2025 01:36 PM
09-18-2025 01:49 PM - edited 09-18-2025 01:50 PM
@ahollifield Given that I already admitted that I don't have the aptitude to discern from the documentation what is the correct configuration, and given that the documentation you linked to does not contain examples with a port-channel, subinterfaces, or on-device NAT I find your comment unhelpful and low-effort.
09-19-2025 12:29 AM
CTS caching should solve your issue if I have interpreted your scenario correctly. You must enable it in ingress direction on the interface where you expect to receive tagged traffic.
09-19-2025 06:55 AM
@Torbjørn Thanks, that's a great start.
Is the 'egress' command required?
Also, unlike on switches, routers require 'cts' commands on both the physical and L3 interfaces where tags are used. Would the 'sgt-cache' command be applied on the subinterface, physical int, or both?
09-19-2025 10:52 AM
You should not have to configure caching for egress in your setup.
I must admit that I have only configured this once - and that was in my lab: I _think_ you only need to configure it on the subinterface that receives the tagged traffic. You can verify whether it is caching works with "show cts interface brief"(it should list caching as enabled) and "show cts role-based sgt-map all ipv4"(it should have cached entries).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide