Nexus Dashboard Orchestrator Schemas and Application Templates for ACI Fabrics, Release 4.4.1

 
Updated July 29, 2024
PDF
Is this helpful? Feedback

Shadow Objects

When a contract exists between fabric-local EPGs in stretched VRF or in Shared Services use-cases where provider and consumer are in different VRFs and communicate through Tenant contracts, the EPGs and bridge domains (BDs) are mirrored on the remote fabrics. The mirrored objects appear as if they are deployed in each of these fabrics' controllers, while only actually being deployed in one of the fabrics. These mirrored objects are called "shadow" objects.

note.svg

Shadow objects should not be removed using the APIC GUI.


For example, if a tenant and VRF are stretched between Fabric1 and Fabric2, provider EPG and its bridge domain are deployed in Fabric2 only, and consumer EPG and its domain are deployed in Fabric1 only, then corresponding shadow bridge domains and EPGs will be deployed as shown in the figure below. They appear with the same names as the ones that were deployed directly to each fabric.

503041.jpg
Figure 1. Basic Shadow EPG

The following objects can be shadowed:

  • VRFs

  • Bridge Domains (BDs)

  • L3Outs

  • External EPGs

  • Application Profiles

  • Application EPGs

  • Contracts (Hybrid Cloud deployments)

If your fabrics are running APIC Release 5.0(2) or later, when you select a shadow object in the APIC GUI, you will see a This is a shadow object pushed by MSC to support inter-fabric policies. Do not make any changes or delete this object. warning at the top of main GUI pane. In addition, shadow EPGs that are not part of a VMM domain will not have static ports, while shadow BDs will have No Default SVI Gateway option enabled in the {FabricControllerShortName} GUI.

Other Use Cases with Shadow Objects

Shadow objects are also created in a number of other use cases, such as Preferred Group, vzAny, and Layer 3 Multicast, and hybrid cloud, as shown in the figures below.

503042.jpg
Figure 2. Preferred Group

In case of multicast, the shadow objects are created only for EPGs/BDs that have multicast sources connected and the option explicitly configured at the EPG level.

503043.jpg
Figure 3. L3 Multicast

In case of hybrid cloud deployments, even stretched objects will create shadow objects where implicit contracts exist. For example, in the following case where an EPG is stretched between an on-premises and cloud fabrics, shadow external EPGs are created in each fabric with implicit shadow contracts between the stretched EPG and the shadow external EPGs.

503053.jpg
Figure 4. Hybrid Cloud

Starting with Cisco APIC, Release 5.2(3), shadow objects are indicated by a unique icon in the Cisco APIC GUI. Regular Orchestrator-created objects are shown with a green cloud symbol, whereas the shadow objects will have a gray cloud icon.

Hiding Shadow Objects in APIC GUI

Starting with APIC Release 5.0(2), you can choose to show or hide the shadow objects created by the Nexus Dashboard Orchestrator in the on-premises fabric’s APIC GUI. Shadow objects in Cloud Network Controller are always hidden.

If you want to hide shadow objects from the GUI, keep the following in mind:

  • This option cannot be set globally from the Orchestrator and must be set directly in each fabric’s APIC as described in this section.

  • The option to show shadow objects is turned off by default for all new APIC Release 5.0(2) installations and upgrades, so previously visible objects may become hidden.

  • Hiding shadow objects relies on a flag set by the Nexus Dashboard Orchestrator specifically for this feature, which is enabled from Orchestrator Release 3.0(2) and later:

    • If shadow objects are deployed by an earlier Orchestrator version, they will not have the required tag and will always be visible in the APIC GUI.

    • If shadow objects are deployed by Orchestrator version 3.0(2) or later, they will have the tag and can be hidden or shown using the APIC GUI setting.

    • We recommend upgrading each fabric to APIC Release 5.0(2) before upgrading the Nexus Dashboard Orchestrator.

      When the Nexus Dashboard Orchestrator is upgraded to Release 3.0(2), any objects deployed to fabrics running APIC Release 5.0(2) or later will be tagged with appropriate tags and can be shown or hidden using the APIC GUI without having to re-deploy them.

      If you upgrade the Orchestrator before the fabric’s APIC, the fabric’s objects will not be tagged and you will need to manually re-deploy the configuration after the fabric is upgraded for the flag to be set.

  • If you ever downgrade your fabric to a release prior to Release 5.0(2), the shadow objects will no longer be hidden and you may see a different icon for them in the APIC GUI.

    1. Log in to the fabric’s APIC.

    2. In the top right corner, click the Manage my profile icon and choose Settings.

    3. In the Application Settings window, enable or disable the Show Hidden Policies checkbox.

      The setting is stored in the user profile and is enable or disabled separately for each user.

    4. Repeat the process for any additional APIC fabrics.

Creating Schemas and Templates

Before you begin:
  • You must have at least one available tenant that you want to incorporate into your fabric.

    For more information, see Tenants and Tenant Policies Templates.

    1. Log in to your Cisco Nexus Dashboard and open the Cisco Nexus Dashboard Orchestrator service.

    2. Create a new schema.

      1. From the left navigation pane, choose Configure > Tenant Template.

      2. On the Schemas page, click Add Schema.

      3. In the schema creation dialog, provide the Name and optional description for the schema and click Add.

        By default, the new schema is empty, so you must add one or more templates.

    3. Create a template.

      1. In the schema page, click Create New Template.

      2. In the Select a Template type window, choose ACI Multi-Cloud and click Add.

        • ACI Multi-Cloud-Templates that are used for Cisco ACI on-premises and cloud fabrics, which allow template and object stretching between multiple fabrics. This template supports two deployment types:

          • Multi-Fabric - The template can be associated to a single fabric (fabric-local policies) or to multiple fabrics (stretched policies) and the option should be selected for Multi-Fabric Network (ISN) or VXLAN inter-fabric communication to allow template and object stretching between multiple fabrics.

          • Autonomous - The template can be associated to one or more fabrics that are operated independently and are not connected through an inter-fabric Network (no inter-fabric VXLAN communication).

            Because autonomous fabrics are by definition that is isolated and do not have any inter-fabric connectivity, there is no shadow object configuration across fabrics and no cross-programming of pctags or VNIDs in the spine switches for inter-fabric traffic flow.

            The autonomous templates also allow for higher deployment scale.

          The following sections focus primarily on this type of templates.

        • NDFC-Templates designed for Cisco Nexus Dashboard Fabric Controller (formerly Data Center Network Manager) fabrics.

          This guide described Cisco Nexus Dashboard Orchestrator configurations for on-premises Cisco ACI fabrics. For information on working with Cisco NDFC fabrics, see the Cisco Nexus Dashboard Orchestrator Configuration Guide for NDFC Fabrics instead.

        • Cloud Local-Templates designed for specific Cloud Network Controller use cases, such as Google Cloud fabric connectivity, and cannot be stretched between multiple fabrics.

          This guide describes Cisco Nexus Dashboard Orchestrator configurations for on-premises Cisco ACI fabrics. For information on working with Cloud Network Controller fabrics, see the Cisco Nexus Dashboard Orchestrator use case library instead.

      3. In the right sidebar, provide the Display Name for the template.

      4. (Optional) Provide a Description.

      5. From the Select a Tenant drop-down, select the Tenant for this template.

        Keep in mind, the user account you’re using to create a new schema must be associated with the tenant you are trying to add to it, otherwise the tenant will not be available in the drop-down list. Associating a user account with a tenant is described in Tenants and Tenant Policies Templates.

      6. In the template view page, click Save.

        You must save the template after this initial configuration for extra options (such as fabric association) to become available.

      7. Repeat this step to create any additional templates.

        For more information on schema and template design, see Schema and Template Design Considerations.

    4. Assign the templates to fabrics.

      You deploy fabric configuration by deploying one template at a time to one or more fabrics. So you must associate the template with at least one fabric where you want to deploy the configuration.

      1. In the template view page, click Actions and choose Add/Remove Fabrics.

      2. In the Add/Remove Fabrics <template> dialog, select one or more fabrics where you want to deploy the template and click Ok.

What to do next:

After you have created a schema and one or more templates, you can proceed with editing the templates as described in the following sections of this document based on your specific use cases. After you finish defining configurations, you can deploy the templates as described in Deploying Templates.

Importing Schema Elements From APIC Fabrics

Before you begin:

You can create new objects and push them out to one or more fabrics or you can import existing fabric-local objects and manage them using the [CiscoMSCShortName] Orchestrator. This section describes how to import one or more existing objects, while creating new objects is described later on in this document.

When importing policies from APIC into NDO, the common practice is to import some objects, such as VRFs or contracts, into a stretched template and other objects, such as non-stretched EPGs or BDs, into fabric-local templates.

Prior to Release 3.1(1), importing an object into a fabric-local template that referenced another object that is part of a stretched template presented certain challenges, for example:

  • If a referenced object already exists in NDO and a new object is imported with the Include Relations option enabled, NDO would throw an error when trying to deploy the fabric-local template because of object duplication since the referenced object already existed.

  • However, not importing the referenced object (Include Relations option disabled) would require an administrator to perform manual mapping with the referenced object after the import.

When importing an object into a fabric-local template that has references with another object that is part of a different template (in the same or a different schema), the references are automatically resolved by NDO. In such cases, the Import Relations option will be grayed-out in the UI for the object that is being imported and a warning tooltip will provide additional info, such as: [Referenced Object] already exists in [Template]. Existing relations are imported by default. While such objects are imported with their relations by default, you can change the references once the import operation is completed, for example by re-mapping a BD to a different VRF. The new behavior applies to all configuration objects that can be imported.

To import one or more objects from fabrics:

  1. Open the Schema where you want to import objects.

  2. In the left sidebar, select the Template where you want to import objects.

  3. In the main pane click the Import button and select the Fabric from which you want to import.

  4. In the Import from <fabric-name> window that opens, select one or more objects.

    note.svg

    The names of the objects imported into NDO must be unique across all fabrics. Importing different objects with duplicate names will cause a schema validation error and the import to fail. If you want to import objects that have the same name, you must first rename them.


  5. (Optional) Enable the Import Relations knob to import all related objects.

    For example, when importing a BD, enabling the Import Relations knob will import the associated VRF as well.

    note.svg

    As described previously, the Import Relations knob will be enabled by default and cannot be disabled for objects whose related objects already exist in NDO.


  6. Click Import.

Configuring VRFs

Before you begin:

You must have the schema and template created and a tenant assigned to the template, as described in Creating Schemas and Templates.

This section describes how to create a VRF.

  1. Select the schema and template where you want to create the VRF.

  2. Create the VRF.

    1. In the main pane, select Create Object > VRF.

      Alternatively, you can scroll down to the VRFs area and click Create VRF.

    2. In the properties pane, provide the Display Name for the VRF.

    3. (Optional) Provide a Description.

  3. (Optional) Add one or more Annotations.

    This allows you to add arbitrary key:value pairs of metadata to an object as annotations (tagAnnotation). Annotations are provided for any custom purposes you may require, such as descriptions, markers for personal scripting or API calls, or flags for monitoring tools or orchestration applications such as your Nexus Dashboard Orchestrator. Because APIC ignores these annotations and merely stores them with other object data, there are no format or content restrictions imposed by APIC.

  4. Configure the On-Premises Properties for the VRF.

    1. Specify Policy Control Enforcement Preference.

      Note that you cannot change the Policy Control Enforcement for newly created VRFs and the setting is locked to the enforced mode.

      However, you can use this to transition any VRF that you import from an APIC fabric that is configured as unenforced to the enforced mode after importing it. A typical use case is for brown field deployments where existing VRFs must be converted to enforced mode to support stretching them between fabrics. Once you have transitioned an imported VRF from unenforced to enforced in NDO, you will not be able to make further changes to this field.

      • Enforced-Security rules (contracts) will be enforced.

      • Unenforced-Security rules (contracts) will not be enforced.

    2. (Optional) Enable IP Data-Plane Learning.

      Defines if IP addresses are learned through data-plane packets for the VRF.

      When disabled, IP addresses are not learned from the data-plane packets. Local and remote MAC addresses are still learned, but local IP addresses are not learned from data packets.

      Regardless of whether this parameter is enabled or disabled, local IP addresses can still be learned from ARP, GARP, and ND.

    3. (Optional) Enable L3 Multicast for the VRF.

      For additional information, see Layer 3 Multicast.

    4. (Optional) Enable vzAny for the VRF.

      For additional information, see vzAny Contracts.

    5. (Optional) Enable Preferred Group for the VRF.

      For additional information, see EPG Preferred Groups Overview and Limitations.

    6. (Optional) Enable BD Enforcement Status for the VRF.

      By default, servers from an EPG of a given bridge domain can ping the SVI (subnet) of another bridge domain. If you wish to constrain a host to be able to ping only the SVI of the bridge domain to which it belongs, you can enable this BD Enforcement Status option configuration on the VRF. This blocks ICMP, TCP, and UDP traffic to the subnet IP address of bridge domains that are different from the one to which the server belongs.

Configuring Bridge Domains

Before you begin:

This section describes how to configure a Bridge Domain (BD).

  1. Select the schema and template where you want to create the bridge domain.

  2. Create a bridge domain.

    1. In the main pane, select +Create Object > Bridge Domain.

      Alternatively, you can scroll down to the Bridge Domains area and click Create Bridge Domain.

    2. In the properties pane, provide the Display Name for the bridge domain.

    3. (Optional) Provide a Description.

  3. (Optional) Add one or more Annotations.

    This allows you to add arbitrary key:value pairs of metadata to an object as annotations (tagAnnotation). Annotations are provided for any custom purposes that you may require, such as descriptions, markers for personal scripting or API calls, or flags for monitoring tools or orchestration applications such as your Cisco Nexus Dashboard Orchestrator. Because APIC ignores these annotations and merely stores them with other object data, there are no format or content restrictions that are imposed by APIC.

  4. Configure On-Premises Properties.

    1. From the Virtual Routing & Forwarding drop-down, select the VRF for this BD.

    2. (Optional) Enable L2 Stretch.

    3. (Optional) Enable Inter-Fabric BUM Traffic Allow.

      This option becomes available if you enabled L2 Stretch.

    4. (Optional) Enable Optimized WAN Bandwidth.

      This option becomes available if you enabled L2 Stretch.

    5. (Optional) Enable Unicast Routing.

      If this setting is enabled and a subnet address is configured, the fabric provides the default gateway function and routes the traffic. Enabling unicast routing also instructs the mapping database to learn the endpoint IP-to-VTEP mapping for this bridge domain. The IP learning is not dependent upon having a subnet that is configured under the bridge domain.

    6. (Optional) Enable L3 Multicast for the BD.

      For additional information about Layer 3 multicast, see Layer 3 Multicast.

    7. (Optional) Choose L2 Unknown Unicast mode.

      By default, unicast traffic is flooded to all Layer two-ports. If enabled, unicast traffic flooding is blocked at a specific port, only permitting egress traffic with MAC addresses that are known to exist on the port. The method can be Flood or Hardware Proxy.

      When the BD has L2 Unknown Unicast set to Flood, if an endpoint is deleted the system deletes it from both the local leaf switches and the remote leaf switches where the BD is deployed, by selecting Clear Remote MAC Entries. Without this feature, the remote leaf switch continues to have this endpoint learned until the timer expires.

      note.svg

      Modifying the L2 Unknown Unicast setting causes traffic to bounce (go down and up) on interfaces to devices attached to EPGs associated with this bridge domain.


    8. (Optional) Choose Unknown Multicast Flooding mode.

      This is applicable for IPv4 unknown multicast traffic and is the node forwarding parameter for Layer 3 unknown multicast destinations.

      • Flood (default)-Unknown IPv4 multicast traffic is flooded on all front panel ports that are attached with the EPGs associated with this bridge domain. Flooding is not restricted to only M-Router ports of the bridge domain.

      • Optimized Flood-Send the data only to M-router ports in the bridge domain.

    9. (Optional) Choose IPv6 Unknown Multicast Flooding mode.

      This is applicable for IPv6 unknown multicast traffic and is the node forwarding parameter for Layer 3 unknown multicast destinations.

      • Flood (default)-Unknown IPv6 multicast traffic is flooded on all front panel ports that are attached with the EPGs associated with this bridge domain. Flooding is not restricted to only M-Router ports of the bridge domain.

      • Optimized Flood-Send the data only to M-router ports in the bridge domain.

    10. (Optional) Choose Multi-Destination Flooding mode.

      The multiple destination forwarding method for Layer 2 multicast and broadcast traffic.

      • Flood in BD-Sends the data to all ports on the same bridge domain.

      • Drop-Drops Packet. Never sends the data to any other ports.

      • Flood in Encapsulation-Send the data to all the EPG ports with the same VLAN within the bridge domain, except for the protocol packets which are flooded to the entire bridge domain.

        note.svg

        This mode is supported only when the L2 Stretch option is disabled and is not supported for BDs that are stretched across fabrics.


    11. (Optional) Enable ARP Flooding.

      Enables ARP flooding, so that the Layer 2 broadcast domain maps IP addresses to the MAC addresses. If flooding is disabled, unicast routing will be performed on the target IP address.

      Enables ARP flooding, so that ARP request will be flooded inside the Layer 2 broadcast domain. If the BD is stretched across fabrics, enabling ARP flooding is only possible with enabling Inter-Fabric BUM Traffic Allow. When ARP flooding is disabled, the leaf switch receiving the ARP request from a locally connected endpoint forwards it directly to the remote leaf switch where the target endpoint of the ARP request is connected (if the IP for the remote endpoint is known in the endpoint table) or to the spines (if the IP for the remote endpoint is not known in the endpoint table).

      If you set the L2 Unknown Unicast mode to Flood, the ARP Flooding cannot be disabled. If the L2 Unknown Unicast mode is set to Hardware Proxy, ARP flooding can be enabled or disabled.

    12. (Optional) Provide Virtual MAC Address.

      The BD virtual MAC address and the subnet virtual IP address must be the same for all ACI fabrics for that bridge domain. Multiple bridge domains can be configured to communicate across connected ACI fabrics. The virtual MAC address and the virtual IP address can be shared across bridge domains.

      note.svg

      Virtual MAC along with virtual IP subnet should used only for migration of individual fabrics to NDO-managed multi-fabric fabric. When the migration is completed, these flags can be disabled.


  5. Add one or more Subnets for the BD.

    1. Click +Add Subnet.

      An Add New Subnet window opens.

    2. Enter the subnet’s Gateway IP address and a Description for the subnet that you want to add.

    3. If necessary, enable Treat as virtual IP address option.

      This option along with the Virtual MAC Address on the BD can be used for migration scenarios from individual Common Pervasive Gateway configuration to NDO-managed Multi-Fabric deployments.

    4. Select the Scope for the subnet.

      The network visibility of the subnet.

      • Private to VRF-Prevents the subnet from being announced over L3Out toward an external network domain.

      • Advertised Externally-The subnet can be announced through L3Out toward an external network domain.

    5. (Optional) Enable Shared Between VRFs.

      Shared between VRFs-The subnet can be shared with and exported to multiple contexts (VRFs) in the same tenant or across tenants as part of a shared service. An example of a shared service is a routed connection to an EPG present in another context (VRF) in a different tenant. This enables traffic to pass in both directions across contexts (VRFs). An EPG that provides a shared service must have its subnet that is configured under that EPG (not under a bridge domain), and its scope must be set to advertised externally, and shared between VRFs.

      Shared subnets must be unique across the contexts (VRF) involved in the communication. When a subnet under an EPG provides a Layer 3 external network shared service, such a subnet must be globally unique within the entire ACI fabric.

    6. Leave the No Default SVI Gateway option unchecked.

      Enabling this option means that only the proxy route (subnet route to spine proxy) is programmed on the leaf switches and no SVI is created, which means SVI cannot be used as the gateway.

      We recommend that SVI is created by the BD subnet as the gateway and the No Default SVI Gateway option is enabled on the EPG instead because EPG subnets should only be used for route leaking.

    7. (Optional) Enable Querier option.

      Enables IGMP Snooping on the subnet

    8. (Optional) Enable Primary option to designate the subnet as primary.

      There can be one primary IPv4 subnet and one primary IPv6 subnet.

    9. Click Save.

  6. (Optional) Enable EP Move Detection Mode.

    Uses the information that is received with a Gratuitous Address Resolution Protocol (GARP) packet to update the endpoint table when a specific IP address that was previously associated to one MAC address (mac-a) gets associated to a different MAC address (mac-b). This applies to the specific scenario where the move occurs on the same interface.

    Although Cisco ACI can detect MAC and IP address movement between leaf switch ports, leaf switches, bridge domains, and EPGs, it does not detect the movement of an IP address to a new MAC address if the new MAC address is from the same interface and same EPG as the old MAC address.

    When the GARP-based detection option is enabled, Cisco ACI triggers an endpoint move based on GARP packets if the move occurs on the same interface and same EPG. If a GARP packet comes from the same interface and same EPG, then endpoint learning is triggered only when Unicast Routing, ARP Flooding, and "GARP based detection" are all enabled for the bridge domain.

  7. (Optional) Add an IGMP Interface Policy.

    You can configure several Tenant Policy templates and associate them with policy objects. For more information, see Creating Tenant Policy Templates.

  8. (Optional) Add an IGMP Snoop Policy.

    You can configure several Tenant Policy templates and associate them with policy objects. For more information, see Creating Tenant Policy Templates.

  9. (Optional) Add an MLD Snoop Policy.

    You can configure several Tenant Policy templates and associate them with policy objects. For more information, see Creating Tenant Policy Templates.

  10. (Optional) Add a DHCP Policy.

    For additional information, see linkhttps://www.cisco.com/c/dam/en/us/td/docs/dcn/ndo/4x/articles-441/nexus-dashboard-orchestrator-aci-dhcp-relay-441.html#_creating_dhcp_relay_policies[DHCP Relay].

  11. Configure the bridge domain’s fabric-local properties as necessary.

    In addition to the template-level configurations, you can also define one or more fabric-local properties for the bridge domain, as described in Configuring Bridge Domain’s Fabric-Local Properties.

Configuring Bridge Domain’s Fabric-Local Properties

Before you begin:

You must have:

  • Created the bridge domain and configured its template-level properties, as described in Configuring Bridge Domains.

  • Assigned the template that contains the bridge domain to one or more fabrics.

In addition to the template-level properties you typically configure for the object when you create it in a template, you can also define one or more properties that are specific to each fabric to which you assign the template.

When you deploy the object to more than 1 fabric, the same template-level configurations are deployed to all fabrics, while the fabric-local configurations are deployed to those specific fabrics only.

  1. Open the schema that contains the template with the bridge domain.

  2. In the left sidebar, select the template that contains the bridge domain under the specific fabric that you want to configure.

  3. In the main pane, select the bridge domain.

    For most fields, you see the values that you have configured at the template level, which you cannot edit here.

  4. Click +L3Out to add an L3Out.

    This is required to advertise the BD subnet out of the remote L3Out and ensure that inbound traffic to the BD can be maintained even if the local L3Out failed. In this case, you would also need to configure the subnet with the Advertised Externally flag. For more information, see the Use Case: Inter-Fabric L3Out.

  5. Enable Host Route.

    This enables Host-Based Routing on the bridge domain. When this knob is enabled, the border leaf switches will also advertise individual endpoint (EP) host-routes (/32 or /128 prefixes) along with the subnet. The host-route information is advertised only if the host is connected to the local Pod. If the EP is moved away from the local Pod or when the EP is removed from EP database, the route advertisement is then withdrawn.

  6. If necessary, change the SVI MAC Address.

    The SVI MAC addresses must be unique per fabric, when virtual MAC and virtual IP are enabled for Common Pervasive Gateway (CPG) scenario. This field can also be used when CPG is not enabled, which will change the default router MAC of the BD.

  7. Add one or more Subnets for the BD.

    The concept is the same as adding subnets to the BD at the template level, except the subnets will be configured for the bridge domain on this specific fabric only.

    1. Click +Add Subnet.

      An Add New Subnet window opens.

    2. Enter the subnet’s Gateway IP address and a Description for the subnet that you want to add.

    3. Select the Scope for the subnet.

      The network visibility of the subnet.

      • Private to VRF-The subnet applies only within its tenant.

      • Advertised Externally-The subnet can be exported to a routed connection.

    4. (Optional) Enable Shared Between VRFs.

      Shared between VRFs-The subnet can be shared with and exported to multiple contexts (VRFs) in the same tenant or across tenants as part of a shared service. An example of a shared service is a routed connection to an EPG present in another context (VRF) in a different tenant. This enables traffic to pass in both directions across contexts (VRFs). An EPG that provides a shared service must have its subnet that is configured under that EPG (not under a bridge domain), and its scope must be set to advertised externally, and shared between VRFs.

      Shared subnets must be unique across the contexts (VRF) involved in the communication. When a subnet under an EPG provides a Layer 3 external network shared service, such a subnet must be globally unique within the entire ACI fabric.

    5. (Optional) Enable No Default SVI Gateway.

      Enabling this option means that only the proxy route (subnet route to spine proxy) is programmed on the leaf switches and no SVI is created, which means SVI cannot be used as the gateway.

      We recommend that SVI is created by the BD subnet as the gateway and the No Default SVI Gateway option is enabled on the EPG instead because EPG subnets should only be used for route leaking.

    6. (Optional) Enable Querier.

      Enables IGMP Snooping on the subnet

    7. (Optional) Enable Primary option to designate the subnet as primary.

      There can be one primary IPv4 subnet and one primary IPv6 subnet.

    8. Click Save.

Configuring Application Profiles and EPGs

Before you begin:

You must have the schema and template that is created and a tenant that is assigned to the template, as described in Creating Schemas and Templates.

This section also assumes you have a Contract and a Bridge Domain created.

This section describes how to configure an Application Profile and an EPG.

  1. Select the schema and template where you want to create the application profile.

  2. Create an application profile.

    1. In the main pane, select +Create Object > Application Profile.

      Alternatively, you can scroll down to the Application Profile area and click Create Application Profile.

    2. In the right pane, provide the Display Name for the application profile.

      You can create application profiles with the same name in different templates without any conflicts. You cannot however create other objects (such as VRFs, BDs, EPGs) with the same name in different templates if they will be deployed to the same fabric and tenant.

    3. (Optional) Provide a Description.

  3. Create an EPG.

    1. In the main pane, select +Create ObjectEPG, then select the application profile where you want to create the EPG.

      Alternatively, you can scroll down to the specific Application Profile area and click Create EPG.

    2. In the right pane, provide the Display Name for the EPG.

    3. (Optional) Provide a Description.

  4. (Optional) Add one or more Annotations for the EPG.

    This allows you to add arbitrary key:value pairs of metadata to an object as annotations (tagAnnotation). Annotations are provided for any custom purposes that you may require, such as descriptions, markers for personal scripting or API calls, or flags for monitoring tools or orchestration applications such as your Cisco Nexus Dashboard Orchestrator. Because APIC ignores these annotations and merely stores them with other object data, there are no format or content restrictions that are imposed by APIC.

  5. Add a Contract for the EPG.

    Creating contracts and filters is described in detail in Configuring Contracts and Filters. If you already have a contract that is created:

    1. Click Add Contract.

    2. On the Add Contract dialog, enter the contract name and type.

    3. Click SAVE.

  6. (Optional) Add an Intra-EPG Contract for the EPG.

    By default, communication between endpoints in an EPG is open, unless you enable Intra-EPG isolation under the EPG policy configuration.

    With an intra-EPG contract, you can specify which traffic is allowed within an EPG based on protocol, ports, and other options specified by the contract’s filters.

    1. In the Intra-EPG Contract area, click Add Contract.

    2. On the Add Contract dialog, enter the contract name and type.

    3. Click SAVE.

  7. From the Bridge Domain drop-down, select the bridge domain for this EPG.

    If you are configuring an on-premises EPG, you must associate it with a bridge domain.

  8. (Optional) Click + Subnet to add a subnet to your EPG.

    You may choose to configure a subnet on the EPG level rather than the bridge domain level, for example for a VRF route-leaking use-case.

    1. On the Add Subnet dialog, enter the Gateway IP address and a description for the subnet you plan to add.

    2. In the Scope field select either Private to VRF or Advertised Externally.

    3. Click the check box for Shared Between VRFs if appropriate.

    4. Click the check box for No Default SVI Gateway if appropriate.

    5. Click OK.

  9. (Optional) Enable microsegmentation.

    If you are configuring a microsegmentation EPG (uSeg), you must provide one or more uSeg attributes for matching endpoints to the EPG.

    1. Check the uSeg EPG check box.

    2. Click +uSeg Attribute.

    3. Provide the Name and Type for the uSeg attribute.

    4. Based on the attribute type you have selected, provide the attribute details.

      For example, if you have selected MAC for the attribute type, provide the MAC address to identify an endpoint in this EPG.

    5. Click SAVE.

  10. (Optional) Enable intra-EPG isolation.

    By default, endpoints in EPG can freely communicate with each other. If you want to isolate the endpoints from each other, set the isolation mode to Enforced.

    intra-EPG endpoint isolation policies provide full isolation for virtual or physical endpoints; no communication is allowed between endpoints in an EPG that is operating with isolation enforced. Isolation-enforced EPGs reduce the number of EPG encapsulations required when many clients access a Common Service but are not allowed to communicate with each other.

  11. (Optional) Enable Layer 3 multicast for the EPG.

    For additional information about Layer 3 multicast, see Layer 3 Multicast.

  12. (Optional) Enable preferred group membership for the EPG.

    The Preferred Group feature allows you to include multiple EPGs within a single VRF to allow full communication between them with no need for contracts to be created. For additional information about EPG preferred group, see EPG Preferred Groups Overview and Limitations.

  13. Configure the EPG’s fabric-local properties as necessary.

    In addition to the template-level configurations, you can also define one or more fabric-local properties for the EPG, as described in Configuring EPG’s Fabric-Local Properties.

Configuring EPG’s Fabric-Local Properties

Before you begin:

You must have:

  • Created the application profile and EPG and configured the template-level properties, as described in Configuring Application Profiles and EPGs.

  • Assigned the template that contains the EPG to one or more fabrics.

In addition to the template-level properties you typically configure for the object when you create it in a template, you can also define one or more properties that are specific to each fabric to which you assign the template.

When you deploy the object to more than 1 fabric, the same template-level configurations are deployed to all fabrics, while the fabric-local configurations are deployed to those specific fabrics only.

  1. Open the schema that contains the template with the EPG.

  2. From the View <Overview> drop-down in the schema view, select the template that contains the EPG.

  3. In the template view’s main pane, click the <fabric-name> tab to select fabric-specific properties for the template.

  4. In the main pane, click the EPG for which you want to update fabric-local properties.

    This opens the EPG’s properties pane. For most fields, you see the values you have configured at the template level, which you cannot edit here.

  5. Choose the EPG Admin State.

    This field is available only if the EPG belongs to a tenant other than infra or mgmt.

    When the EPG is in shutdown mode, the ACI policy configuration that is related to the EPG is removed from all the switches in the fabric. While the EPG still exists in the ACI Data Store, it is in inactive mode.

  6. Add one or more Subnets for the EPG.

    1. Click +Add Subnet.

      An Add New Subnet window opens.

    2. Enter the subnet’s Gateway IP address and a description for the subnet that you want to add.

    3. Select the Scope for the subnet.

      The network visibility of the subnet.

      • Private to VRF-Prevents the subnet from being announced through L3Out toward an external network domain.

      • Advertised Externally-The subnet can be announced through L3Out toward an external network domain.

    4. (Optional) Enable Shared Between VRFs.

      Shared between VRFs-The subnet can be shared with and exported to multiple contexts (VRFs) in the same tenant or across tenants as part of a shared service. An example of a shared service is a routed connection to an EPG present in another context (VRF) in a different tenant. This enables traffic to pass in both directions across contexts (VRFs). An EPG that provides a shared service must have its subnet that is configured under the BD (not under the EPG), and its scope must be set to advertised externally, and shared between VRFs.

      Shared subnets must be unique across the contexts (VRF) involved in the communication. When a subnet under an EPG provides a Layer 3 external network shared service, such a subnet must be globally unique within the entire ACI fabric.

    5. (Optional) Enable No Default SVI Gateway.

      Enabling this option means that only the proxy route (subnet route to spine proxy) is programmed on the leaf switches and no SVI is created, which means SVI cannot be used as the gateway.

      We recommend enabling this option on the EPG subnets, which should only be used for route leaking and leaving this option disabled on the BD subnets so that the SVI can be used as a gateway.

    6. Click Ok to save.

  7. Add one or more Static ports.

    1. Click +Static Port.

    2. From the Path Type drop-down, select the type of port.

    3. If configuring a physical interface, select the Pod

    4. Choose whether you want to configure a single port or a range of ports.

      For the interface configuration, you have an option to do it either by entering a single Leaf and a Path or by entering a range of Leaf for example, 120-125 and Path eg1/17-20. You will also have an option to enter a range of Leaf and associate it with one single Path, or enter a range of Path for one single Leaf.

      However, after the configuration it will still be displayed as individual ports in the UI and will require individual changes for any future updates.

    5. Select the Port Encap VLAN.

      When manually configuring the port encap on a domain for an EPG, the VLAN ID must belong to a static VLAN block within a dynamic VLAN pool.

      If EPG is enabled for microsegmentation at the template level, when a Primary MICRO-SEG VLAN is configured, the Port Encap VLAN is configured as an Isolated Secondary VLAN for the Primary VLAN. Traffic is sent from the host to the leaf switch using the secondary VLAN and return traffic from the leaf switch to the host is sent using the primary VLAN.

    6. (Optional) Select the Primary MICRO-SEG VLAN.

      The VLAN identifier for microsegmentation.

    7. (Optional) Select the Deployment Immediacy.

      When policies are downloaded to the leaf nodes, deployment immediacy can specify when the policy is pushed into the hardware policy CAM:

      • Immediate-Specifies that the policy is programmed in the hardware policy CAM when the policy is downloaded in the leaf switch software.

      • On Demand-Specifies that the policy is programmed in the hardware policy CAM only when the first packet is received through the data path. This process helps to optimize the hardware space.

    8. (Optional) Select the Mode.

      The mode of the static association with the path. EPG tagging sees configuring a static path under an EPG:

      • Trunk-The default deployment mode. Select this mode if the traffic from the host is tagged with a VLAN ID.

      • Access (802.1P)-Select this mode if the traffic from the host is tagged with a 802.1p tag. When an access port is configured with a single EPG in built-in 802.1p mode, its packets exit that port untagged. When an access port is configured with multiple EPGs, one in built-in 802.1p mode, and some with VLAN tags, all packets exiting that access port are tagged VLAN 0 for EPG configured in built-in 802.1p mode and for all other EPGs packets exit with their respective VLAN tags. Only one built-in 802.1p EPG is allowed per access port.

      • Access (Untagged)-Select this mode if the traffic from the host is untagged (without VLAN ID). When a leaf switch is configured for an EPG to be untagged, for every port, this EPG uses, the packets exit the switch untagged. Note that when an EPG is deployed as untagged, do not deploy that EPG as tagged on other ports of the same switch.

  8. Add one or more Static Leaf nodes.

    1. Click +Static Leaf.

    2. From the Leaf drop-down, select the leaf node that you want to add.

    3. (Optional) In the VLAN field, provide the VLAN ID for tagged traffic.

  9. Add one or more Domains.

    1. Click +Domain.

    2. Select the Domain Association Type.

      This is the type of the domain that you are adding:

      • VMM

      • Fibre Channel

      • L2 External

      • L3 External

      • Physical

    3. Select the Domain Profile name.

    4. Select the Deployment Immediacy.

      Deployment immediacy can specify when the policy is pushed:

      • Immediate-Specifies that the policy is programmed in the hardware policy CAM when the policy is downloaded in the leaf switch software.

      • On Demand-Specifies that the policy is programmed in the hardware policy CAM only when the first packet is received through the data path. This process helps to optimize the hardware space.

    5. Select the Resolution Immediacy.

      Specifies whether policies are resolved immediately or when needed. The options are:

      • Immediate-Specifies that EPG policies are pushed to the leaf switch nodes upon hypervisor attachment to the VMware vSphere Distributed Switch (VDS). LLDP or OpFlex permissions are used to resolve the hypervisor to leaf node attachments.

      • On Demand-Specifies that EPG policies are pushed to the leaf switch nodes only when a hypervisor is attached to VDS and a VM is placed in the port group (EPG).

      • Pre-provision-Specifies that EPG policies are pushed to the leaf switch nodes even before a hypervisor is attached to the VDS. The download preprovisions the configuration on the switch.

    6. For VMM domains, configure extra settings.

      Beginning with release 4.2(1), you can configure several extra properties for VMM domains directly from your Cisco Nexus Dashboard Orchestrator.

      • Port Bindings - You can choose one of the following options:

        • Dynamic Binding

        • Ephemeral

        • Default

        • Static Binding

        For additional information about port binding, see the "Cisco ACI with VMware VDS Integration" chapter of the Cisco ACI Virtualization Guide

      • Netflow - choose whether you want to enable NetFlow for the VMM domain.

      • Promiscuous Mode - specifies whether to allow or reject unicast traffic that is not destined to the MAC addresses of the virtual machines attached to the trunk port group.

      • MAC Address Changes - specifies whether to allow or reject MAC address changes for the network adapter within the VM.

      • Forged Transmits - specifies whether to allow or reject forged transmits.

        A forged transmit occurs when a network adapter starts sending out traffic that identifies itself as something else. This security policy compares the effective address of the virtual network adapter and the source address inside an 802.3 Ethernet frame generated by the virtual machine to ensure that they match.

      • Custom EPG Name - allows you to provide a custom name for the EPG associated with this VMM domain.

        When you associate an EPG to a VMM domain, APIC automatically creates a VMware vCenter port group or a Microsoft VM network. ), it is easier to manage the port groups or VM networks because you now have the option of giving the EPG a custom name

Configuring Contracts and Filters

This section describes how to configure a contract, a filter, and assigns the filter to the contract. A filter is similar to an Access Control List (ACL), it is used to filter traffic through contracts that are associated to EPGs.

  1. Select the schema and template where you want to create contract and filter.

    You can create the contract in the same or different template as the objects (EPGs and external EPGs) to which you apply it. If the objects that use the contract are deployed to different fabrics, we recommend defining the contract in a template that is associated to multiple fabrics. However, this is not strictly required and even if the contract and filters are defined only as local objects in Fabric 1, NDO creates those objects in a remote Fabric 2 when a local EPG or external EPG in Fabric 2 must consume or provide that contract.

  2. Create a filter.

    1. In the main pane, select +Create Object > Filter.

      Alternatively, you can scroll down to the Filters area, mouse over the tile, and click Add Filter.

    2. In the right pane, provide the Display Name for the filter.

    3. (Optional) Provide a Description.

  3. (Optional) Add one or more Annotations.

    This allows you to add arbitrary key:value pairs of metadata to an object as annotations (tagAnnotation). Annotations are provided for any custom purposes that you may require, such as descriptions, markers for personal scripting or API calls, or flags for monitoring tools or orchestration applications such as your Cisco Nexus Dashboard Orchestrator. Because APIC ignores these annotations and merely stores them with other object data, there are no format or content restrictions that are imposed by APIC.

  4. Create a filter entry.

    1. In the right pane, click + Add Entry.

      The filter entry is a combination of network traffic classification properties. You can specify one or more options as described in the following step.

    2. Provide the Name for the filter.

    3. Choose the Ether Type.

      For example, ip.

    4. Choose the IP Protocol.

      For example, icmp.

    5. Choose the Destination Port Range From and Destination Port Range To.

      The start and end of the destination ports range. You can define a single port by specifying the same value in both fields or you can define a range of ports from 0 to 65535. You can also choose to specify one of the server types instead of specific port numbers, for example http.

    6. Enable Match only fragments option.

      When enabled, the rule applies to any IP fragment with an offset that is greater than 0 (all IP fragments except the first). When disabled, the rule will not apply to IP fragments with an offset greater than 0 because TCP/UDP port information can only be checked in initial fragments.

    7. Enable Stateful option.

      When this option is enabled, any traffic coming from the provider back to the consumer will always have to have the ACK bit set in the packet or else the packets will be dropped.

    8. Specify ARP flag (Address Resolution Protocol).

      The ARP Flag is used when creating a specific filter for ARP and allows you to specify ARP request or ARP reply.

    9. Choose the Source Port Range From and Source Port Range To.

      The start and end of the source ports range. You can define a single port by specifying the same value in both fields or you can define a range of ports from 0 to 65535. You can also choose to specify one of the server types instead of specific port numbers, for example http.

    10. Specify TCP session rules.

      TCP session rules are used when creating a filter for TCP traffic and allow you to configure stateful ACL behavior.

    11. Click Ok to save the filter.

    12. Repeat this step to create any additional filter entries for this filter.

      You can create and assign multiple filter entries for each filter.

  5. Create a contract.

    1. In the main pane, select +Create Object > Contract.

      Alternatively, you can scroll down to the Contract area, mouse over the tile, and click Add Contract.

    2. In the right pane, provide the Display Name for the contract.

    3. (Optional) Provide a Description.

    4. (Optional) Add one or more Annotations.

      This allows you to add arbitrary key:value pairs of metadata to an object as annotations (tagAnnotation). Annotations are provided for any custom purposes that you may require, such as descriptions, markers for personal scripting or API calls, or flags for monitoring tools or orchestration applications such as your Cisco Nexus Dashboard Orchestrator. Because APIC ignores these annotations and merely stores them with other object data, there are no format or content restrictions that are imposed by APIC.

    5. Select the appropriate Scope for the contract.

      Contract scope limits the contract’s accessibility; the contract will not be applied to any consumer EPG outside the scope of the provider EPG:

      • Application Profile

      • VRF

      • Tenant

      • Global

    6. Toggle the Apply both directions knob if you want the same filter to apply for both consumer-to-provider and provider-to-consumer directions.

      If you enable this option, you must provide the filters only when and they apply for traffic in both directions. If you leave this option disabled, you must provide two sets of filter chains, one for each direction.

      note.svg

      If you create and deploy a contract with Apply both directions enabled, you cannot simply disable the option and redeploy for the change to apply. To disable this option on an already deployed contract, you must delete the contract, deploy the template, then re-create the contract with the option that is disabled to correctly change the setting in your fabrics.


    7. (Optional) From the Service Graph drop-down, select a service graph for this contract.

    8. (Optional) From the QoS Level drop-down, select a value for this contract.

      This value specifies the ACI QoS Level that will be assigned to the traffic using this contract. For more information, see QoS Preservation Across IPN.

      If you leave this at Unspecified, the default QoS Level 3 is applied to the traffic.

  6. Assign the filters to the contract.

    1. In the main pane for template, select a contract. In the right pane, scroll down to the Filter Chain area and click + Add Filter to add a filter to the contract.

    2. In the Add Filter Chain window that opens, select the filter that you added in previous step from the Name drop-down list.

    3. Select the Action for the filter.

      When adding filters, you can choose whether to permit or deny traffic that matches the filter criteria. For deny filters, you can set the priority of the filter to one of four levels: default, low, medium, or high; the permit filters always have the default priority. For more information on ACI contracts and filters, see Cisco ACI Contract Guide.

    4. Click Ok to add the filter to the contract.

    5. If you disabled the Apply both directions option on the contract, repeat this step for the other filter chain.

    6. (Optional) You can create and assign multiple Filters to each Contract.

      If you want to create extra filter for the same contract:

      • Repeat Step 2 and Step 3 to create another filter along with its filter entries.

      • Then repeat this step to assign the new filter to this Contract.

Viewing Schemas

After you have created one or more schemas, they are displayed both on the Dashboard and the Schemas page.

You can use the functionality available on these two pages to monitor the usage and the health of your schemas when they are deployed. You can also access and edit specific areas of the implemented schema policies using the Cisco Nexus Dashboard Orchestrator GUI.

Cloning Schemas

This section describes how to create a copy of an existing schema and all its templates using the "Clone Schema" feature in the Schemas screen.

  1. Log in to your Cisco Nexus Dashboard Orchestrator GUI.

  2. Choose the schema to clone.

    1. From the left navigation menu, select Configure > Tenant Template.

    2. From the action menu (…​) menu next to the name of the schema you want to clone, select Clone.

  3. Provide the name for the new schema and click Clone.

    503577.jpg
    Figure 5. Clone Schema

    After you click Clone, the UI will display Cloning of <schema-name> was successful. message and the new schema will be listed in the Schemas screen.

    The new schema is created with the exact same templates (and their tenants' association), object, and policy configurations as the original schema.

    Note that while the templates, objects, and configurations are copied, the fabric association is not preserved and you must reassociate the template in the cloned schema with any fabrics where you want to deploy them. Similarly, you must provide any fabric-specific configurations for the template objects after you associate it with the fabrics.

  4. (Optional) Verify that the schema and all its templates were copied.

    You can verify that the operation completed successfully by comparing the two schemas.


First Published: 2024-03-01
Last Modified: 2024-07-26

Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883