dcnm_fabric
Details
- author
- Allen Robel (@quantumonion)
- description
- Create, delete, update NDFC fabrics.
- short_description
- Manage creation and configuration of NDFC fabrics.
- version_added
options
Details
config
Details
- description
- A list of fabric configuration dictionaries
- elements
DEPLOY
Details
- default
- description
- Save and deploy the fabric configuration.
- required
- type
FABRIC_NAME
Details
- description
- required
- type
FABRIC_TYPE
Details
- choices
- IPFM
- ISN
- LAN_CLASSIC
- VXLAN_EVPN
- VXLAN_EVPN_MSD
- description
- required
- type
IPFM_FABRIC_PARAMETERS
Details
- description
- IPFM (IP Fabric for Media) fabric specific parameters.
- The following parameters are specific to IPFM fabrics.
- Fabric for a fully automated deployment of IP Fabric for Media Network with Nexus 9000 switches.
- The indentation of these parameters is meant only to logically group them.
- They should be at the same YAML level as FABRIC_TYPE and FABRIC_NAME.
AAA_REMOTE_IP_ENABLED
Details
- default
- description
- Enable only, when IP Authorization is enabled in the AAA Server
- required
- type
AAA_SERVER_CONF
Details
- default
- description
- required
- type
ASM_GROUP_RANGES
Details
- default
- description
- ASM group ranges with prefixes (len:4-32) example: 239.1.1.0/25, max 20 ranges. Enabling SPT-Threshold Infinity to prevent switchover to source-tree.
- elements
- required
- type
BOOTSTRAP_CONF
Details
- default
- description
- Additional CLIs required during device bootup/login e.g. AAA/Radius
- required
- type
BOOTSTRAP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP
- required
- type
BOOTSTRAP_MULTISUBNET
Details
- default
- Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix
- description
- required
- type
CDP_ENABLE
Details
- default
- description
- Enable CDP on management interface
- required
- type
DHCP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP From Local DHCP Server
- required
- type
DHCP_END
Details
- default
- description
- End Address For Switch Out-of-Band POAP
- required
- type
DHCP_IPV6_ENABLE
Details
- choices
- default
- description
- required
- type
DHCP_START
Details
- default
- description
- Start Address For Switch Out-of-Band POAP
- required
- type
DNS_SERVER_IP_LIST
Details
- default
- description
- Comma separated list of IP Addresses (v4/v6)
- required
- type
DNS_SERVER_VRF
Details
- default
- description
- One VRF for all DNS servers or a comma separated list of VRFs, one per DNS server
- required
- type
ENABLE_AAA
Details
- default
- description
- Include AAA configs from Manageability tab during device bootup
- required
- type
ENABLE_ASM
Details
- default
- description
- Enable groups with receivers sending (*,G) joins
- required
- type
ENABLE_NBM_PASSIVE
Details
- default
- description
- Enable NBM mode to pim-passive for default VRF
- required
- type
Details
- default
- description
- Additional CLIs For All Intra-Fabric Links
- required
- type
Details
- default
- description
- Additional CLIs For All Leafs and Tier2 Leafs As Captured From Show Running Configuration
- required
- type
Details
- default
- description
- Additional CLIs For All Spines As Captured From Show Running Configuration
- required
- type
FABRIC_INTERFACE_TYPE
Details
- choices
- default
- description
- Only Numbered(Point-to-Point) is supported
- required
- type
FABRIC_MTU
Details
- default
- description
- required
- type
FABRIC_NAME
Details
- default
- description
- Name of the fabric (Max Size 64)
- required
- type
FEATURE_PTP
Details
- default
- description
- required
- type
ISIS_AUTH_ENABLE
Details
- default
- description
- required
- type
ISIS_AUTH_KEY
Details
- default
- description
- required
- type
ISIS_AUTH_KEYCHAIN_KEY_ID
Details
- default
- description
- required
- type
ISIS_AUTH_KEYCHAIN_NAME
Details
- default
- description
- required
- type
ISIS_LEVEL
Details
- choices
- default
- description
- Supported IS types: level-1, level-2
- required
- type
ISIS_P2P_ENABLE
Details
- default
- description
- This will enable network point-to-point on fabric interfaces which are numbered
- required
- type
L2_HOST_INTF_MTU
Details
- default
- description
- required
- type
LINK_STATE_ROUTING
Details
- choices
- default
- description
- Used for Spine-Leaf Connectivity
- required
- type
LINK_STATE_ROUTING_TAG
Details
- default
- description
- Routing process tag for the fabric
- required
- type
LOOPBACK0_IP_RANGE
Details
- default
- description
- Routing Loopback IP Address Range
- required
- type
MGMT_GW
Details
- default
- description
- Default Gateway For Management VRF On The Switch
- required
- type
MGMT_PREFIX
Details
- default
- description
- required
- type
NTP_SERVER_IP_LIST
Details
- default
- description
- Comma separated list of IP Addresses (v4/v6)
- required
- type
NTP_SERVER_VRF
Details
- default
- description
- One VRF for all NTP servers or a comma separated list of VRFs, one per NTP server
- required
- type
NXAPI_VRF
Details
- choices
- default
- description
- VRF used for NX-API communication
- required
- type
OSPF_AREA_ID
Details
- default
- description
- OSPF Area Id in IP address format
- required
- type
OSPF_AUTH_ENABLE
Details
- default
- description
- required
- type
OSPF_AUTH_KEY
Details
- default
- description
- required
- type
OSPF_AUTH_KEY_ID
Details
- default
- description
- required
- type
PIM_HELLO_AUTH_ENABLE
Details
- default
- description
- required
- type
PIM_HELLO_AUTH_KEY
Details
- default
- description
- required
- type
PM_ENABLE
Details
- default
- description
- required
- type
POWER_REDUNDANCY_MODE
Details
- choices
- ps-redundant
- combined
- insrc-redundant
- default
- description
- Default power supply mode for the fabric
- required
- type
PTP_DOMAIN_ID
Details
- default
- description
- 'Multiple Independent PTP Clocking Subdomains on a Single Network '
- required
- type
PTP_LB_ID
Details
- default
- description
- required
- type
PTP_PROFILE
Details
- choices
- IEEE-1588v2
- SMPTE-2059-2
- AES67-2015
- default
- description
- Enabled on ISL links only
- required
- type
ROUTING_LB_ID
Details
- default
- description
- required
- type
RP_IP_RANGE
Details
- default
- description
- RP Loopback IP Address Range
- required
- type
RP_LB_ID
Details
- default
- description
- required
- type
SNMP_SERVER_HOST_TRAP
Details
- default
- description
- Configure NDFC as a receiver for SNMP traps
- required
- type
STATIC_UNDERLAY_IP_ALLOC
Details
- default
- description
- Checking this will disable Dynamic Fabric IP Address Allocations
- required
- type
SUBNET_RANGE
Details
- default
- description
- Address range to assign Numbered IPs
- required
- type
SUBNET_TARGET_MASK
Details
- choices
- default
- description
- Mask for Fabric Subnet IP Range
- required
- type
SYSLOG_SERVER_IP_LIST
Details
- default
- description
- Comma separated list of IP Addresses (v4/v6)
- required
- type
SYSLOG_SERVER_VRF
Details
- default
- description
- One VRF for all Syslog servers or a comma separated list of VRFs, one per Syslog server
- required
- type
SYSLOG_SEV
Details
- default
- description
- 'Comma separated list of Syslog severity values, one per Syslog server '
- required
- type
ISN_FABRIC_PARAMETERS
Details
- description
- ISN (Inter-site Network) fabric specific parameters.
- Also known as Multi-Site External Network.
- The following parameters are specific to ISN fabrics.
- Network infrastructure attached to Border Gateways to interconnect VXLAN EVPN fabrics for Multi-Site and Multi-Cloud deployments.
- The indentation of these parameters is meant only to logically group them.
- They should be at the same YAML level as FABRIC_TYPE and FABRIC_NAME.
AAA_REMOTE_IP_ENABLED
Details
- default
- description
- Enable only, when IP Authorization is enabled in the AAA Server
- required
- type
AAA_SERVER_CONF
Details
- default
- description
- required
- type
BGP_AS
Details
- default
- description
- 1-4294967295 | 1-65535.0-65535 It is a good practice to have a unique ASN for each Fabric.
- required
- type
BOOTSTRAP_CONF
Details
- default
- description
- Additional CLIs required during device bootup/login e.g. AAA/Radius
- required
- type
BOOTSTRAP_CONF_XE
Details
- default
- description
- Additional CLIs required during device bootup/login e.g. AAA/Radius
- required
- type
BOOTSTRAP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP
- required
- type
BOOTSTRAP_MULTISUBNET
Details
- default
- Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix
- description
- required
- type
CDP_ENABLE
Details
- default
- description
- Enable CDP on management interface
- required
- type
DHCP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP From Local DHCP Server
- required
- type
DHCP_END
Details
- default
- description
- End Address For Switch POAP
- required
- type
DHCP_IPV6_ENABLE
Details
- choices
- default
- description
- required
- type
DHCP_START
Details
- default
- description
- Start Address For Switch POAP
- required
- type
DOMAIN_NAME
Details
- default
- description
- Domain name for DHCP server PnP block
- required
- type
ENABLE_AAA
Details
- default
- description
- Include AAA configs from Advanced tab during device bootup
- required
- type
ENABLE_NETFLOW
Details
- default
- description
- required
- type
ENABLE_NXAPI
Details
- default
- description
- required
- type
ENABLE_NXAPI_HTTP
Details
- default
- description
- required
- type
ENABLE_RT_INTF_STATS
Details
- default
- description
- required
- type
Details
- default
- description
- Additional supported CLIs for all same OS (e.g. all NxOS or IOS-XE, etc) switches
- required
- type
FABRIC_NAME
Details
- default
- description
- Please provide the fabric name to create it (Max Size 64)
- required
- type
FEATURE_PTP
Details
- default
- description
- required
- type
INBAND_ENABLE
Details
- default
- description
- Enable POAP over Inband Interface (Pre-req: Inband Mgmt Knob should be Enabled)
- required
- type
INBAND_MGMT
Details
- default
- description
- Import switches with inband connectivity
- required
- type
INTF_STAT_LOAD_INTERVAL
Details
- default
- description
- required
- type
IS_READ_ONLY
Details
- default
- description
- If enabled, fabric is only monitored. No configuration will be deployed
- required
- type
MGMT_GW
Details
- default
- description
- Default Gateway For Management VRF On The Switch
- required
- type
MGMT_PREFIX
Details
- default
- description
- required
- type
MGMT_V6PREFIX
Details
- default
- description
- required
- type
MPLS_HANDOFF
Details
- default
- description
- required
- type
MPLS_LB_ID
Details
- default
- description
- required
- type
MPLS_LOOPBACK_IP_RANGE
Details
- default
- description
- MPLS Loopback IP Address Range
- required
- type
NETFLOW_EXPORTER_LIST
Details
- default
- description
- One or Multiple Netflow Exporters
- elements
- required
- type
NETFLOW_MONITOR_LIST
Details
- default
- description
- One or Multiple Netflow Monitors
- elements
- required
- type
NETFLOW_RECORD_LIST
Details
- default
- description
- One or Multiple Netflow Records
- elements
- required
- type
NETFLOW_SAMPLER_LIST
Details
- default
- description
- One or multiple netflow samplers. Applicable to N7K only
- elements
- required
- type
NXAPI_HTTPS_PORT
Details
- default
- description
- required
- type
NXAPI_HTTP_PORT
Details
- default
- description
- required
- type
PM_ENABLE
Details
- default
- description
- required
- type
PNP_ENABLE
Details
- default
- description
- Enable Plug n Play (Automatic IP Assignment) for Cat9K switches
- required
- type
POWER_REDUNDANCY_MODE
Details
- choices
- ps-redundant
- combined
- insrc-redundant
- default
- description
- Default Power Supply Mode For Bootstrapped NX-OS Switches
- required
- type
PTP_DOMAIN_ID
Details
- default
- description
- 'Multiple Independent PTP Clocking Subdomains on a Single Network '
- required
- type
PTP_LB_ID
Details
- default
- description
- required
- type
SNMP_SERVER_HOST_TRAP
Details
- default
- description
- Configure NDFC as a receiver for SNMP traps
- required
- type
SUBINTERFACE_RANGE
Details
- default
- description
- 'Per Border Dot1q Range For VRF Lite Connectivity '
- required
- type
enableRealTimeBackup
Details
- default
- description
- Backup hourly only if there is any config deployment since last backup
- required
- type
enableScheduledBackup
Details
- default
- description
- Backup at the specified time
- required
- type
scheduledTime
Details
- default
- description
- Time (UTC) in 24hr format. (00:00 to 23:59)
- required
- type
LAN_CLASSIC_FABRIC_PARAMETERS
Details
- description
- LAN Classic fabric specific parameters.
- The following parameters are specific to Classic LAN fabrics.
- Fabric to manage a legacy Classic LAN deployment with Nexus switches.
- The indentation of these parameters is meant only to logically group them.
- They should be at the same YAML level as FABRIC_TYPE and FABRIC_NAME.
AAA_REMOTE_IP_ENABLED
Details
- default
- description
- Enable only, when IP Authorization is enabled in the AAA Server
- required
- type
AAA_SERVER_CONF
Details
- default
- description
- required
- type
BOOTSTRAP_CONF
Details
- default
- description
- Additional CLIs required during device bootup/login e.g. AAA/Radius
- required
- type
BOOTSTRAP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP
- required
- type
BOOTSTRAP_MULTISUBNET
Details
- default
- Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix
- description
- required
- type
CDP_ENABLE
Details
- default
- description
- Enable CDP on management interface
- required
- type
DHCP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP From Local DHCP Server
- required
- type
DHCP_END
Details
- default
- description
- End Address For Switch POAP
- required
- type
DHCP_IPV6_ENABLE
Details
- choices
- default
- description
- required
- type
DHCP_START
Details
- default
- description
- Start Address For Switch POAP
- required
- type
ENABLE_AAA
Details
- default
- description
- Include AAA configs from Advanced tab during device bootup
- required
- type
ENABLE_NETFLOW
Details
- default
- description
- required
- type
ENABLE_NXAPI
Details
- default
- description
- required
- type
ENABLE_NXAPI_HTTP
Details
- default
- description
- required
- type
Details
- default
- description
- Additional supported CLIs for all same OS (e.g. all NxOS etc) switches
- required
- type
FABRIC_NAME
Details
- default
- description
- Please provide the fabric name to create it (Max Size 64)
- required
- type
FEATURE_PTP
Details
- default
- description
- required
- type
INBAND_ENABLE
Details
- default
- description
- Enable POAP over Inband Interface (Pre-req: Inband Mgmt Knob should be Enabled)
- required
- type
INBAND_MGMT
Details
- default
- description
- Import switches with inband connectivity
- required
- type
IS_READ_ONLY
Details
- default
- description
- If enabled, fabric is only monitored. No configuration will be deployed
- required
- type
MGMT_GW
Details
- default
- description
- Default Gateway For Management VRF On The Switch
- required
- type
MGMT_PREFIX
Details
- default
- description
- required
- type
MGMT_V6PREFIX
Details
- default
- description
- required
- type
MPLS_HANDOFF
Details
- default
- description
- required
- type
MPLS_LB_ID
Details
- default
- description
- required
- type
MPLS_LOOPBACK_IP_RANGE
Details
- default
- description
- MPLS Loopback IP Address Range
- required
- type
NETFLOW_EXPORTER_LIST
Details
- default
- description
- One or Multiple Netflow Exporters
- elements
- required
- type
NETFLOW_MONITOR_LIST
Details
- default
- description
- One or Multiple Netflow Monitors
- elements
- required
- type
NETFLOW_RECORD_LIST
Details
- default
- description
- One or Multiple Netflow Records
- elements
- required
- type
NETFLOW_SAMPLER_LIST
Details
- default
- description
- One or multiple netflow Samplers. Applicable to N7K only
- elements
- required
- type
NXAPI_HTTPS_PORT
Details
- default
- description
- required
- type
NXAPI_HTTP_PORT
Details
- default
- description
- required
- type
PM_ENABLE
Details
- default
- description
- required
- type
POWER_REDUNDANCY_MODE
Details
- choices
- ps-redundant
- combined
- insrc-redundant
- default
- description
- Default Power Supply Mode For Bootstrapped NX-OS Switches
- required
- type
PTP_DOMAIN_ID
Details
- default
- description
- 'Multiple Independent PTP Clocking Subdomains on a Single Network '
- required
- type
PTP_LB_ID
Details
- default
- description
- required
- type
SNMP_SERVER_HOST_TRAP
Details
- default
- description
- Configure NDFC as a receiver for SNMP traps
- required
- type
SUBINTERFACE_RANGE
Details
- default
- description
- 'Per Border Dot1q Range For VRF Lite Connectivity '
- required
- type
enableRealTimeBackup
Details
- default
- description
- Backup hourly only if there is any config deployment since last backup
- required
- type
enableScheduledBackup
Details
- default
- description
- Backup at the specified time
- required
- type
scheduledTime
Details
- default
- description
- Time (UTC) in 24hr format. (00:00 to 23:59)
- required
- type
VXLAN_EVPN_FABRIC_MSD_PARAMETERS
Details
- description
- VXLAN EVPN Multi-Site fabric specific parameters.
- Domain that can contain multiple VXLAN EVPN Fabrics with Layer-2/Layer-3 Overlay Extensions and other Fabric Types.
- The indentation of these parameters is meant only to logically group them.
- They should be at the same YAML level as FABRIC_TYPE and FABRIC_NAME.
ANYCAST_GW_MAC
Details
- default
- description
- Shared MAC address for all leaves
- required
- type
BGP_RP_ASN
Details
- default
- description
- 1-4294967295 | 1-65535.0-65535, e.g. 65000, 65001
- required
- type
BGW_ROUTING_TAG
Details
- default
- description
- Routing tag associated with IP address of loopback and DCI interfaces
- required
- type
BORDER_GWY_CONNECTIONS
Details
- choices
- Manual
- Centralized_To_Route_Server
- Direct_To_BGWS
- default
- description
- Manual, Auto Overlay EVPN Peering to Route Servers, Auto Overlay EVPN Direct Peering to Border Gateways
- required
- type
CLOUDSEC_ALGORITHM
Details
- default
- description
- AES_128_CMAC or AES_256_CMAC
- required
- type
CLOUDSEC_AUTOCONFIG
Details
- default
- description
- Auto Config CloudSec on Border Gateways
- required
- type
CLOUDSEC_ENFORCEMENT
Details
- default
- description
- If set to strict, data across site must be encrypted.
- required
- type
CLOUDSEC_KEY_STRING
Details
- default
- description
- Cisco Type 7 Encrypted Octet String
- required
- type
CLOUDSEC_REPORT_TIMER
Details
- default
- description
- CloudSec Operational Status periodic report timer in minutes
- required
- type
DCI_SUBNET_RANGE
Details
- default
- description
- Address range to assign P2P DCI Links
- required
- type
DCI_SUBNET_TARGET_MASK
Details
- default
- description
- 'Target Mask for Subnet Range '
- required
- type
DELAY_RESTORE
Details
- default
- description
- Multi-Site underlay and overlay control plane convergence time in seconds
- required
- type
ENABLE_BGP_BFD
Details
- default
- description
- For auto-created Multi-Site Underlay IFCs
- required
- type
ENABLE_BGP_LOG_NEIGHBOR_CHANGE
Details
- default
- description
- For auto-created Multi-Site Underlay IFCs
- required
- type
ENABLE_BGP_SEND_COMM
Details
- default
- description
- For auto-created Multi-Site Underlay IFCs
- required
- type
ENABLE_PVLAN
Details
- default
- description
- Enable PVLAN on MSD and its child fabrics
- required
- type
ENABLE_RS_REDIST_DIRECT
Details
- default
- description
- For auto-created Multi-Site overlay IFCs in Route Servers. Applicable only when Multi-Site Overlay IFC Deployment Method is Centralized_To_Route_Server.
- required
- type
FABRIC_NAME
Details
- default
- description
- Please provide the fabric name to create it (Max Size 64)
- required
- type
L2_SEGMENT_ID_RANGE
Details
- default
- description
- 'Overlay Network Identifier Range '
- required
- type
L3_PARTITION_ID_RANGE
Details
- default
- description
- 'Overlay VRF Identifier Range '
- required
- type
LOOPBACK100_IP_RANGE
Details
- default
- description
- Typically Loopback100 IP Address Range
- required
- type
MS_IFC_BGP_AUTH_KEY_TYPE
Details
- choices
- default
- description
- BGP Key Encryption Type: 3 - 3DES, 7 - Cisco
- required
- type
MS_IFC_BGP_PASSWORD
Details
- default
- description
- Encrypted eBGP Password Hex String
- required
- type
MS_IFC_BGP_PASSWORD_ENABLE
Details
- default
- description
- eBGP password for Multi-Site underlay/overlay IFCs
- required
- type
MS_LOOPBACK_ID
Details
- default
- description
- required
- type
MS_UNDERLAY_AUTOCONFIG
Details
- default
- description
- required
- type
RP_SERVER_IP
Details
- default
- description
- Multi-Site Route-Server peer list (typically loopback IP address on Route-Server for Multi-Site EVPN peering with BGWs), e.g. 128.89.0.1, 128.89.0.2
- required
- type
RS_ROUTING_TAG
Details
- default
- description
- Routing tag associated with Route Server IP for redistribute direct. This is the IP used in eBGP EVPN peering.
- required
- type
TOR_AUTO_DEPLOY
Details
- default
- description
- Enables Overlay VLANs on uplink between ToRs and Leafs
- required
- type
default_network
Details
- choices
- Default_Network_Universal
- Service_Network_Universal
- default
- Default_Network_Universal
- description
- Default Overlay Network Template For Leafs
- required
- type
default_pvlan_sec_network
Details
- choices
- default
- description
- Default PVLAN Secondary Network Template
- required
- type
default_vrf
Details
- choices
- default
- description
- Default Overlay VRF Template For Leafs
- required
- type
enableScheduledBackup
Details
- default
- description
- Backup at the specified time. Note: Fabric Backup/Restore functionality is being deprecated for MSD fabrics. Recommendation is to use NDFC Backup & Restore
- required
- type
network_extension_template
Details
- choices
- Default_Network_Extension_Universal
- default
- Default_Network_Extension_Universal
- description
- Default Overlay Network Template For Borders
- required
- type
scheduledTime
Details
- default
- description
- Time (UTC) in 24hr format. (00:00 to 23:59)
- required
- type
vrf_extension_template
Details
- choices
- Default_VRF_Extension_Universal
- default
- Default_VRF_Extension_Universal
- description
- Default Overlay VRF Template For Borders
- required
- type
VXLAN_EVPN_FABRIC_PARAMETERS
Details
- description
- Data Center VXLAN EVPN fabric specific parameters.
- Fabric for a VXLAN EVPN deployment with Nexus 9000 and 3000 switches.
- The following parameters are specific to VXLAN EVPN fabrics.
- The indentation of these parameters is meant only to logically group them.
- They should be at the same YAML level as FABRIC_TYPE and FABRIC_NAME.
AAA_REMOTE_IP_ENABLED
Details
- default
- description
- Enable only, when IP Authorization is enabled in the AAA Server
- required
- type
AAA_SERVER_CONF
Details
- default
- description
- required
- type
ADVERTISE_PIP_BGP
Details
- default
- description
- For Primary VTEP IP Advertisement As Next-Hop Of Prefix Routes
- required
- type
ADVERTISE_PIP_ON_BORDER
Details
- default
- description
- Enable advertise-pip on vPC borders and border gateways only. Applicable only when vPC advertise-pip is not enabled
- required
- type
ANYCAST_BGW_ADVERTISE_PIP
Details
- default
- description
- To advertise Anycast Border Gateway PIP as VTEP. Effective on MSD fabric Recalculate Config
- required
- type
ANYCAST_GW_MAC
Details
- default
- description
- Shared MAC address for all leafs (xxxx.xxxx.xxxx)
- required
- type
ANYCAST_LB_ID
Details
- default
- description
- 'Used for vPC Peering in VXLANv6 Fabrics '
- required
- type
ANYCAST_RP_IP_RANGE
Details
- default
- description
- Anycast or Phantom RP IP Address Range
- required
- type
AUTO_SYMMETRIC_DEFAULT_VRF
Details
- default
- description
- Whether to auto generate Default VRF interface and BGP peering configuration on managed neighbor devices. If set, auto created VRF Lite IFC links will have Auto Deploy Default VRF for Peer enabled.
- required
- type
AUTO_SYMMETRIC_VRF_LITE
Details
- default
- description
- Whether to auto generate VRF LITE sub-interface and BGP peering configuration on managed neighbor devices. If set, auto created VRF Lite IFC links will have Auto Deploy for Peer enabled.
- required
- type
AUTO_UNIQUE_VRF_LITE_IP_PREFIX
Details
- default
- description
- When enabled, IP prefix allocated to the VRF LITE IFC is not reused on VRF extension over VRF LITE IFC. Instead, unique IP Subnet is allocated for each VRF extension over VRF LITE IFC.
- required
- type
AUTO_VRFLITE_IFC_DEFAULT_VRF
Details
- default
- description
- Whether to auto generate Default VRF interface and BGP peering configuration on VRF LITE IFC auto deployment. If set, auto created VRF Lite IFC links will have Auto Deploy Default VRF enabled.
- required
- type
BANNER
Details
- default
- description
- Message of the Day (motd) banner. Delimiter char (very first char is delimiter char) followed by message ending with delimiter
- required
- type
BFD_AUTH_ENABLE
Details
- default
- description
- Valid for P2P Interfaces only
- required
- type
BFD_AUTH_KEY
Details
- default
- description
- Encrypted SHA1 secret value
- required
- type
BFD_AUTH_KEY_ID
Details
- default
- description
- required
- type
BFD_ENABLE
Details
- default
- description
- Valid for IPv4 Underlay only
- required
- type
BFD_IBGP_ENABLE
Details
- default
- description
- required
- type
BFD_ISIS_ENABLE
Details
- default
- description
- required
- type
BFD_OSPF_ENABLE
Details
- default
- description
- required
- type
BFD_PIM_ENABLE
Details
- default
- description
- required
- type
BGP_AS
Details
- default
- description
- 1-4294967295 | 1-65535.0-65535 It is a good practice to have a unique ASN for each Fabric.
- required
- type
BGP_AUTH_ENABLE
Details
- default
- description
- required
- type
BGP_AUTH_KEY
Details
- default
- description
- Encrypted BGP Authentication Key based on type
- required
- type
BGP_AUTH_KEY_TYPE
Details
- choices
- default
- description
- BGP Key Encryption Type: 3 - 3DES, 7 - Cisco
- required
- type
BGP_LB_ID
Details
- default
- description
- required
- type
BOOTSTRAP_CONF
Details
- default
- description
- Additional CLIs required during device bootup/login e.g. AAA/Radius
- required
- type
BOOTSTRAP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP
- required
- type
BOOTSTRAP_MULTISUBNET
Details
- default
- Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix
- description
- required
- type
Details
- default
- Auto_Net_VNI$$VNI$$_VLAN$$VLAN_ID$$
- description
- Generated network name should be < 64 characters
- required
- type
BROWNFIELD_SKIP_OVERLAY_NETWORK_ATTACHMENTS
Details
- default
- description
- Enable to skip overlay network interface attachments for Brownfield and Host Port Resync cases
- required
- type
CDP_ENABLE
Details
- default
- description
- Enable CDP on management interface
- required
- type
COPP_POLICY
Details
- choices
- dense
- lenient
- moderate
- strict
- manual
- default
- description
- Fabric Wide CoPP Policy. Customized CoPP policy should be provided when manual is selected
- required
- type
DCI_SUBNET_RANGE
Details
- default
- description
- Address range to assign P2P Interfabric Connections
- required
- type
DCI_SUBNET_TARGET_MASK
Details
- default
- description
- required
- type
DEFAULT_QUEUING_POLICY_CLOUDSCALE
Details
- choices
- queuing_policy_default_4q_cloudscale
- queuing_policy_default_8q_cloudscale
- default
- queuing_policy_default_8q_cloudscale
- description
- Queuing Policy for all 92xx, -EX, -FX, -FX2, -FX3, -GX series switches in the fabric
- required
- type
DEFAULT_QUEUING_POLICY_OTHER
Details
- choices
- queuing_policy_default_other
- default
- queuing_policy_default_other
- description
- Queuing Policy for all other switches in the fabric
- required
- type
DEFAULT_QUEUING_POLICY_R_SERIES
Details
- choices
- queuing_policy_default_r_series
- default
- queuing_policy_default_r_series
- description
- Queuing Policy for all R-Series switches in the fabric
- required
- type
DEFAULT_VRF_REDIS_BGP_RMAP
Details
- default
- description
- Route Map used to redistribute BGP routes to IGP in default vrf in auto created VRF Lite IFC links
- required
- type
DHCP_ENABLE
Details
- default
- description
- Automatic IP Assignment For POAP From Local DHCP Server
- required
- type
DHCP_END
Details
- default
- description
- End Address For Switch POAP
- required
- type
DHCP_IPV6_ENABLE
Details
- choices
- default
- description
- required
- type
DHCP_START
Details
- default
- description
- Start Address For Switch POAP
- required
- type
DNS_SERVER_IP_LIST
Details
- default
- description
- Comma separated list of IP Addresses(v4/v6)
- required
- type
DNS_SERVER_VRF
Details
- default
- description
- One VRF for all DNS servers or a comma separated list of VRFs, one per DNS server
- required
- type
ENABLE_AAA
Details
- default
- description
- Include AAA configs from Manageability tab during device bootup
- required
- type
ENABLE_DEFAULT_QUEUING_POLICY
Details
- default
- description
- required
- type
ENABLE_FABRIC_VPC_DOMAIN_ID
Details
- default
- description
- required
- type
ENABLE_MACSEC
Details
- default
- description
- Enable MACsec in the fabric
- required
- type
ENABLE_NETFLOW
Details
- default
- description
- required
- type
ENABLE_NGOAM
Details
- default
- description
- Enable the Next Generation (NG) OAM feature for all switches in the fabric to aid in trouble-shooting VXLAN EVPN fabrics
- required
- type
ENABLE_NXAPI
Details
- default
- description
- required
- type
ENABLE_NXAPI_HTTP
Details
- default
- description
- required
- type
ENABLE_PBR
Details
- default
- description
- When ESR option is ePBR, enable ePBR will enable pbr, sla sender and epbr features on the switch
- required
- type
ENABLE_PVLAN
Details
- default
- description
- Enable PVLAN on switches except spines and super spines
- required
- type
ENABLE_TENANT_DHCP
Details
- default
- description
- required
- type
ENABLE_TRM
Details
- default
- description
- For Overlay Multicast Support In VXLAN Fabrics
- required
- type
ENABLE_VPC_PEER_LINK_NATIVE_VLAN
Details
- default
- description
- required
- type
ESR_OPTION
Details
- default
- description
- Policy-Based Routing (PBR) or Enhanced PBR (ePBR)
- required
- type
Details
- default
- description
- Additional CLIs For All Intra-Fabric Links
- required
- type
Details
- default
- description
- Additional CLIs For All Leafs As Captured From Show Running Configuration
- required
- type
Details
- default
- description
- Additional CLIs For All Spines As Captured From Show Running Configuration
- required
- type
Details
- default
- description
- Additional CLIs For All ToRs As Captured From Show Running Configuration
- required
- type
FABRIC_INTERFACE_TYPE
Details
- choices
- default
- description
- Numbered(Point-to-Point) or Unnumbered
- required
- type
FABRIC_MTU
Details
- default
- description
- required
- type
FABRIC_NAME
Details
- default
- description
- Please provide the fabric name to create it (Max Size 32)
- required
- type
FABRIC_VPC_DOMAIN_ID
Details
- default
- description
- vPC Domain Id to be used on all vPC pairs
- required
- type
FABRIC_VPC_QOS
Details
- default
- description
- Qos on spines for guaranteed delivery of vPC Fabric Peering communication
- required
- type
FABRIC_VPC_QOS_POLICY_NAME
Details
- default
- spine_qos_for_fabric_vpc_peering
- description
- Qos Policy name should be same on all spines
- required
- type
FEATURE_PTP
Details
- default
- description
- required
- type
GRFIELD_DEBUG_FLAG
Details
- choices
- default
- description
- Enable to clean switch configuration without reload when PreserveConfig=no
- required
- type
HD_TIME
Details
- default
- description
- NVE Source Inteface HoldDown Time in seconds
- required
- type
HOST_INTF_ADMIN_STATE
Details
- default
- description
- required
- type
IBGP_PEER_TEMPLATE
Details
- default
- description
- Speficies the iBGP Peer-Template config used for RR and spines with border role.
- required
- type
IBGP_PEER_TEMPLATE_LEAF
Details
- default
- description
- Specifies the config used for leaf, border or border gateway. If this field is empty, the peer template defined in iBGP Peer-Template Config is used on all BGP enabled devices (RRs,leafs, border or border gateway roles.
- required
- type
INBAND_DHCP_SERVERS
Details
- default
- description
- Comma separated list of IPv4 Addresses (Max 3)
- required
- type
INBAND_MGMT
Details
- default
- description
- Manage switches with only Inband connectivity
- required
- type
ISIS_AUTH_ENABLE
Details
- default
- description
- required
- type
ISIS_AUTH_KEY
Details
- default
- description
- required
- type
ISIS_AUTH_KEYCHAIN_KEY_ID
Details
- default
- description
- required
- type
ISIS_AUTH_KEYCHAIN_NAME
Details
- default
- description
- required
- type
ISIS_LEVEL
Details
- choices
- default
- description
- Supported IS types: level-1, level-2
- required
- type
ISIS_OVERLOAD_ELAPSE_TIME
Details
- default
- description
- Clear the overload bit after an elapsed time in seconds
- required
- type
ISIS_OVERLOAD_ENABLE
Details
- default
- description
- When enabled, set the overload bit for an elapsed time after a reload
- required
- type
ISIS_P2P_ENABLE
Details
- default
- description
- This will enable network point-to-point on fabric interfaces which are numbered
- required
- type
L2_HOST_INTF_MTU
Details
- default
- description
- required
- type
L2_SEGMENT_ID_RANGE
Details
- default
- description
- 'Overlay Network Identifier Range '
- required
- type
L3VNI_MCAST_GROUP
Details
- default
- description
- Default Underlay Multicast group IP assigned for every overlay VRF.
- required
- type
L3_PARTITION_ID_RANGE
Details
- default
- description
- 'Overlay VRF Identifier Range '
- required
- type
LINK_STATE_ROUTING
Details
- choices
- default
- description
- Used for Spine-Leaf Connectivity
- required
- type
LINK_STATE_ROUTING_TAG
Details
- default
- description
- Underlay Routing Process Tag
- required
- type
LOOPBACK0_IPV6_RANGE
Details
- default
- description
- Typically Loopback0 IPv6 Address Range
- required
- type
LOOPBACK0_IP_RANGE
Details
- default
- description
- Typically Loopback0 IP Address Range
- required
- type
LOOPBACK1_IPV6_RANGE
Details
- default
- description
- Typically Loopback1 and Anycast Loopback IPv6 Address Range
- required
- type
LOOPBACK1_IP_RANGE
Details
- default
- description
- Typically Loopback1 IP Address Range
- required
- type
MACSEC_ALGORITHM
Details
- default
- description
- AES_128_CMAC or AES_256_CMAC
- required
- type
MACSEC_CIPHER_SUITE
Details
- default
- description
- required
- type
MACSEC_FALLBACK_ALGORITHM
Details
- default
- description
- AES_128_CMAC or AES_256_CMAC
- required
- type
MACSEC_FALLBACK_KEY_STRING
Details
- default
- description
- Cisco Type 7 Encrypted Octet String
- required
- type
MACSEC_KEY_STRING
Details
- default
- description
- Cisco Type 7 Encrypted Octet String
- required
- type
MACSEC_REPORT_TIMER
Details
- default
- description
- MACsec Operational Status periodic report timer in minutes
- required
- type
MGMT_GW
Details
- default
- description
- Default Gateway For Management VRF On The Switch
- required
- type
MGMT_PREFIX
Details
- default
- description
- required
- type
MGMT_V6PREFIX
Details
- default
- description
- required
- type
MPLS_HANDOFF
Details
- default
- description
- required
- type
MPLS_LB_ID
Details
- default
- description
- 'Used for VXLAN to MPLS SR/LDP Handoff '
- required
- type
MPLS_LOOPBACK_IP_RANGE
Details
- default
- description
- Used for VXLAN to MPLS SR/LDP Handoff
- required
- type
MST_INSTANCE_RANGE
Details
- default
- description
- MST instance range, Example: 0-3,5,7-9, Default is 0
- required
- type
MULTICAST_GROUP_SUBNET
Details
- default
- description
- Multicast pool prefix between 8 to 30. A multicast group IP from this pool is used for BUM traffic for each overlay network.
- required
- type
NETFLOW_EXPORTER_LIST
Details
- default
- description
- One or Multiple Netflow Exporters
- elements
- required
- type
NETFLOW_MONITOR_LIST
Details
- default
- description
- One or Multiple Netflow Monitors
- elements
- required
- type
NETFLOW_RECORD_LIST
Details
- default
- description
- One or Multiple Netflow Records
- elements
- required
- type
NETWORK_VLAN_RANGE
Details
- default
- description
- 'Per Switch Overlay Network VLAN Range '
- required
- type
NTP_SERVER_IP_LIST
Details
- default
- description
- Comma separated list of IP Addresses(v4/v6)
- required
- type
NTP_SERVER_VRF
Details
- default
- description
- One VRF for all NTP servers or a comma separated list of VRFs, one per NTP server
- required
- type
NVE_LB_ID
Details
- default
- description
- required
- type
NXAPI_HTTPS_PORT
Details
- default
- description
- required
- type
NXAPI_HTTP_PORT
Details
- default
- description
- required
- type
OBJECT_TRACKING_NUMBER_RANGE
Details
- default
- description
- 'Per switch tracked object ID Range '
- required
- type
OSPF_AREA_ID
Details
- default
- description
- OSPF Area Id in IP address format
- required
- type
OSPF_AUTH_ENABLE
Details
- default
- description
- required
- type
OSPF_AUTH_KEY
Details
- default
- description
- required
- type
OSPF_AUTH_KEY_ID
Details
- default
- description
- required
- type
OVERLAY_MODE
Details
- default
- description
- VRF/Network configuration using config-profile or CLI
- required
- type
PER_VRF_LOOPBACK_AUTO_PROVISION
Details
- default
- description
- Auto provision a loopback on a VTEP on VRF attachment
- required
- type
PER_VRF_LOOPBACK_IP_RANGE
Details
- default
- description
- Prefix pool to assign IP addresses to loopbacks on VTEPs on a per VRF basis
- required
- type
PHANTOM_RP_LB_ID1
Details
- default
- description
- 'Used for Bidir-PIM Phantom RP '
- required
- type
PHANTOM_RP_LB_ID2
Details
- default
- description
- 'Used for Fallback Bidir-PIM Phantom RP '
- required
- type
PHANTOM_RP_LB_ID3
Details
- default
- description
- 'Used for second Fallback Bidir-PIM Phantom RP '
- required
- type
PHANTOM_RP_LB_ID4
Details
- default
- description
- 'Used for third Fallback Bidir-PIM Phantom RP '
- required
- type
PIM_HELLO_AUTH_ENABLE
Details
- default
- description
- Valid for IPv4 Underlay only
- required
- type
PIM_HELLO_AUTH_KEY
Details
- default
- description
- required
- type
PM_ENABLE
Details
- default
- description
- required
- type
POWER_REDUNDANCY_MODE
Details
- choices
- ps-redundant
- combined
- insrc-redundant
- default
- description
- Default Power Supply Mode For The Fabric
- required
- type
PTP_DOMAIN_ID
Details
- default
- description
- 'Multiple Independent PTP Clocking Subdomains on a Single Network '
- required
- type
PTP_LB_ID
Details
- default
- description
- required
- type
REPLICATION_MODE
Details
- choices
- default
- description
- Replication Mode for BUM Traffic
- required
- type
ROUTER_ID_RANGE
Details
- default
- description
- required
- type
ROUTE_MAP_SEQUENCE_NUMBER_RANGE
Details
- default
- description
- required
- type
RP_COUNT
Details
- choices
- default
- description
- Number of spines acting as Rendezvous-Point (RP)
- required
- type
RP_LB_ID
Details
- default
- description
- required
- type
RP_MODE
Details
- choices
- default
- description
- required
- type
RR_COUNT
Details
- choices
- default
- description
- Number of spines acting as Route-Reflectors
- required
- type
SEED_SWITCH_CORE_INTERFACES
Details
- default
- description
- Core-facing Interface list on Seed Switch (e.g. e1/1-30,e1/32)
- required
- type
SERVICE_NETWORK_VLAN_RANGE
Details
- default
- description
- 'Per Switch Overlay Service Network VLAN Range '
- required
- type
SITE_ID
Details
- default
- description
- For EVPN Multi-Site Support . Defaults to Fabric ASN
- required
- type
SLA_ID_RANGE
Details
- default
- description
- 'Per switch SLA ID Range '
- required
- type
SNMP_SERVER_HOST_TRAP
Details
- default
- description
- Configure NDFC as a receiver for SNMP traps
- required
- type
SPINE_SWITCH_CORE_INTERFACES
Details
- default
- description
- Core-facing Interface list on all Spines (e.g. e1/1-30,e1/32)
- required
- type
STATIC_UNDERLAY_IP_ALLOC
Details
- default
- description
- Checking this will disable Dynamic Underlay IP Address Allocations
- required
- type
STP_BRIDGE_PRIORITY
Details
- default
- description
- Bridge priority for the spanning tree in increments of 4096
- required
- type
STP_ROOT_OPTION
Details
- choices
- default
- description
- Which protocol to use for configuring root bridge? rpvst+: Rapid Per-VLAN Spanning Tree, mst: Multiple Spanning Tree, unmanaged (default): STP Root not managed by NDFC
- required
- type
STP_VLAN_RANGE
Details
- default
- description
- Vlan range, Example: 1,3-5,7,9-11, Default is 1-3967
- required
- type
STRICT_CC_MODE
Details
- default
- description
- Enable bi-directional compliance checks to flag additional configs in the running config that are not in the intent/expected config
- required
- type
SUBINTERFACE_RANGE
Details
- default
- description
- 'Per Border Dot1q Range For VRF Lite Connectivity '
- required
- type
SUBNET_RANGE
Details
- default
- description
- Address range to assign Numbered and Peer Link SVI IPs
- required
- type
SUBNET_TARGET_MASK
Details
- choices
- default
- description
- Mask for Underlay Subnet IP Range
- required
- type
SYSLOG_SERVER_IP_LIST
Details
- default
- description
- Comma separated list of IP Addresses(v4/v6)
- required
- type
SYSLOG_SERVER_VRF
Details
- default
- description
- One VRF for all Syslog servers or a comma separated list of VRFs, one per Syslog server
- required
- type
SYSLOG_SEV
Details
- default
- description
- 'Comma separated list of Syslog severity values, one per Syslog server '
- required
- type
TCAM_ALLOCATION
Details
- default
- description
- TCAM commands are automatically generated for VxLAN and vPC Fabric Peering when Enabled
- required
- type
UNDERLAY_IS_V6
Details
- default
- description
- If not enabled, IPv4 underlay is used
- required
- type
UNNUM_BOOTSTRAP_LB_ID
Details
- default
- description
- required
- type
UNNUM_DHCP_END
Details
- default
- description
- Must be a subset of IGP/BGP Loopback Prefix Pool
- required
- type
UNNUM_DHCP_START
Details
- default
- description
- Must be a subset of IGP/BGP Loopback Prefix Pool
- required
- type
USE_LINK_LOCAL
Details
- default
- description
- If not enabled, Spine-Leaf interfaces will use global IPv6 addresses
- required
- type
V6_SUBNET_RANGE
Details
- default
- description
- IPv6 Address range to assign Numbered and Peer Link SVI IPs
- required
- type
V6_SUBNET_TARGET_MASK
Details
- choices
- default
- description
- Mask for Underlay Subnet IPv6 Range
- required
- type
VPC_AUTO_RECOVERY_TIME
Details
- default
- description
- required
- type
VPC_DELAY_RESTORE
Details
- default
- description
- required
- type
VPC_DOMAIN_ID_RANGE
Details
- default
- description
- vPC Domain id range to use for new pairings
- required
- type
VPC_ENABLE_IPv6_ND_SYNC
Details
- default
- description
- Enable IPv6 ND synchronization between vPC peers
- required
- type
VPC_PEER_KEEP_ALIVE_OPTION
Details
- choices
- default
- description
- Use vPC Peer Keep Alive with Loopback or Management
- required
- type
VPC_PEER_LINK_PO
Details
- default
- description
- required
- type
VPC_PEER_LINK_VLAN
Details
- default
- description
- 'VLAN range for vPC Peer Link SVI '
- required
- type
VRF_LITE_AUTOCONFIG
Details
- choices
- Manual
- Back2Back&ToExternal
- default
- description
- VRF Lite Inter-Fabric Connection Deployment Options. If Back2Back&ToExternal is selected, VRF Lite IFCs are auto created between border devices of two Easy Fabrics, and between border devices in Easy Fabric and edge routers in External Fabric. The IP address is taken from the VRF Lite Subnet IP Range pool.
- required
- type
VRF_VLAN_RANGE
Details
- default
- description
- 'Per Switch Overlay VRF VLAN Range '
- required
- type
default_network
Details
- choices
- Default_Network_Universal
- Service_Network_Universal
- default
- Default_Network_Universal
- description
- Default Overlay Network Template For Leafs
- required
- type
default_pvlan_sec_network
Details
- choices
- default
- description
- Default PVLAN Secondary Network Template
- required
- type
default_vrf
Details
- choices
- default
- description
- Default Overlay VRF Template For Leafs
- required
- type
enableRealTimeBackup
Details
- default
- description
- Backup hourly only if there is any config deployment since last backup
- required
- type
enableScheduledBackup
Details
- default
- description
- Backup at the specified time
- required
- type
network_extension_template
Details
- choices
- Default_Network_Extension_Universal
- default
- Default_Network_Extension_Universal
- description
- Default Overlay Network Template For Borders
- required
- type
scheduledTime
Details
- default
- description
- Time (UTC) in 24hr format. (00:00 to 23:59)
- required
- type
vrf_extension_template
Details
- choices
- Default_VRF_Extension_Universal
- default
- Default_VRF_Extension_Universal
- description
- Default Overlay VRF Template For Borders
- required
- type
- type
skip_validation
Details
- default
- description
- Skip playbook parameter validation. Useful for debugging.
- type
state
Details
- choices
- deleted
- merged
- query
- replaced
- default
- description
- The state of the feature or object after module completion
- type
Examples
Details
---
# Create the following fabrics with default configuration values
# if they don't already exist. If they exist, the playbook will
# exit without doing anything.
# - 1. VXLAN EVPN fabric
# - 1. VXLAN EVPN Multi-Site fabric
# - 1. LAN Classic fabric
- name: Create fabrics
cisco.dcnm.dcnm_fabric:
state: merged
config:
- FABRIC_NAME: VXLAN_Fabric
FABRIC_TYPE: VXLAN_EVPN
BGP_AS: 65000
- FABRIC_NAME: MSD_Fabric
FABRIC_TYPE: VXLAN_EVPN_MSD
- FABRIC_NAME: LAN_Fabric
FABRIC_TYPE: LAN_CLASSIC
register: result
- debug:
var: result
# Update the above fabrics with additional configurations.
- name: Update fabrics
cisco.dcnm.dcnm_fabric:
state: merged
config:
- FABRIC_NAME: VXLAN_Fabric
FABRIC_TYPE: VXLAN_EVPN
BGP_AS: 65000
ANYCAST_GW_MAC: 0001.aabb.ccdd
UNDERLAY_IS_V6: false
EXTRA_CONF_LEAF: |
interface Ethernet1/1-16
description managed by NDFC
DEPLOY: false
- FABRIC_NAME: MSD_Fabric
FABRIC_TYPE: VXLAN_EVPN_MSD
LOOPBACK100_IP_RANGE: 10.22.0.0/24
DEPLOY: false
- FABRIC_NAME: LAN_Fabric
FABRIC_TYPE: LAN_CLASSIC
BOOTSTRAP_ENABLE: false
IS_READ_ONLY: false
DEPLOY: false
register: result
- debug:
var: result
# Setting skip_validation to True to bypass parameter validation in the module.
# Note, this does not bypass parameter validation in NDFC. skip_validation
# can be useful to verify that the dcnm_fabric module's parameter validation
# is disallowing parameter combinations that would also be disallowed by
# NDFC.
- name: Update fabrics
cisco.dcnm.dcnm_fabric:
state: merged
skip_validation: True
config:
- FABRIC_NAME: VXLAN_Fabric
FABRIC_TYPE: VXLAN_EVPN
BGP_AS: 65000
ANYCAST_GW_MAC: 0001.aabb.ccdd
UNDERLAY_IS_V6: false
EXTRA_CONF_LEAF: |
interface Ethernet1/1-16
description managed by NDFC
DEPLOY: false
# Use replaced state to return the fabrics to their default configurations.
- name: Return fabrics to default configuration.
cisco.dcnm.dcnm_fabric:
state: replaced
config:
- FABRIC_NAME: VXLAN_Fabric
FABRIC_TYPE: VXLAN_EVPN
BGP_AS: 65000
DEPLOY: false
- FABRIC_NAME: MSD_Fabric
FABRIC_TYPE: VXLAN_EVPN_MSD
DEPLOY: false
- FABRIC_NAME: LAN_Fabric
FABRIC_TYPE: LAN_CLASSIC
DEPLOY: false
register: result
- debug:
var: result
# Query the fabrics to get their current configurations.
- name: Query the fabrics.
cisco.dcnm.dcnm_fabric:
state: query
config:
- FABRIC_NAME: VXLAN_Fabric
- FABRIC_NAME: MSD_Fabric
- FABRIC_NAME: LAN_Fabric
register: result
- debug:
var: result
# Delete the fabrics.
- name: Delete the fabrics.
cisco.dcnm.dcnm_fabric:
state: deleted
config:
- FABRIC_NAME: VXLAN_Fabric
- FABRIC_NAME: MSD_Fabric
- FABRIC_NAME: LAN_Fabric
register: result
- debug:
var: result
# When skip_validation is False (the default), some error messages might be
# misleading. For example, with the playbook below, the error message
# that follows should be interpreted as "ENABLE_PVLAN is mutually-exclusive
# to ENABLE_SGT and should be removed from the playbook if ENABLE_SGT is set
# to True." In the NDFC GUI, if Security Groups is enabled, NDFC disables
# the ability to modify the PVLAN option. Hence, even a valid value for
# ENABLE_PVLAN in the playbook will generate an error.
- name: merge fabric MyFabric
cisco.dcnm.dcnm_fabric:
state: merged
skip_validation: false
config:
- FABRIC_NAME: MyFabric
FABRIC_TYPE: VXLAN_EVPN
BGP_AS: 65001
ENABLE_SGT: true
ENABLE_PVLAN: false
# Resulting error message (edited for brevity)
# "The following parameter(value) combination(s) are invalid and need to be reviewed: Fabric: f3, ENABLE_PVLAN(False) requires ENABLE_SGT != True."