- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2025 12:51 PM
Hi all,
I'm new to nac, do you know how to configure epg static port using VPC? Could you provide an example?
I search everywhere without any success, the NAC documentation does not provide one.
Thank you.
Solved! Go to Solution.
- Labels:
-
Nexus 9000
-
NXOS
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 03:59 AM
endpoint_groups:
- name: vlan-10
bridge_domain: vlan-10
physical_domains:
- phys
static_ports:
- channel: vpc-to-core
node_id: 101
node2_id: 102
vlan: 10
Is your VPC and are those nodes defined? Also check indentation and optionally use the yaml extension in visual studio code to verify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 02:08 AM
Hi Stelios,
Please take a look at https://netascode.cisco.com/data_model/apic/tenants/endpoint_group#static_ports-apictenantsapplication_profilesendpoint_groups
You can use channel to specify the vPC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 02:16 AM
Hi robvand,
Thank you for the reply, it is not clear how to configure it, could you please provide an example? My code below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 02:21 AM
This assumes that the vPC is defined as "vpc-to-core"
endpoint_groups:
- name: vlan-10
bridge_domain: vlan-10
physical_domains:
- phys
static_ports:
- channel: vpc-to-core
vlan: 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 02:32 AM
doesn't need the node_id? I think I'm doing something wrong, below the code and error from pipeline:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 03:59 AM
endpoint_groups:
- name: vlan-10
bridge_domain: vlan-10
physical_domains:
- phys
static_ports:
- channel: vpc-to-core
node_id: 101
node2_id: 102
vlan: 10
Is your VPC and are those nodes defined? Also check indentation and optionally use the yaml extension in visual studio code to verify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 04:28 AM
Oh my god is working! Thousand thanks robvand
I was struggling for two days, I don't know why there is such a luck of documentation, there is one comprehensive example for nac and that's it. Not even AI tools helped.
Below the successful code:
