Location in GUI :
Administration » Network Resources » Network Devices
Name Type Constraint Mandatory Default Value network_devices List [network_devices]No
Name Type Constraint Mandatory Default Value name String Regex: ^[\w\d_\-\.]+$ Yes description String No ips List [ips]No profile_name String No Ciscomodel_name String No software_version String No network_device_groups List String No authentication_network_protocol Choice RADIUS, TACACS_PLUSNo radius Class [radius]No tacacs Class [tacacs]No snmp Class [snmp]No trust_sec Class [trust_sec]No
Name Type Constraint Mandatory Default Value ip String Yes ip_exclude String No mask Integer min: 0, max: 128 No 32
Name Type Constraint Mandatory Default Value shared_secret String No shared_secret_version Integer min: 1 No second_shared_secret String No second_shared_secret_version Integer min: 1 No coa_port Integer min: 0, max: 65535 No 1700dtls_required Boolean true, falseNo falsedtls_dns_name String No enable_key_wrap Boolean true, falseNo falseencryption_key String No encryption_key_version Integer min: 1 No encryption_key_format Choice ASCII, HEXADECIMALNo ASCIImessage_authenticator_code_key String No message_authenticator_code_key_version Integer min: 1 No
Name Type Constraint Mandatory Default Value connect_mode_options Choice OFF, ON_LEGACY, ON_DRAFT_COMPLIANTNo OFFshared_secret String No shared_secret_version Integer min: 1 No
Name Type Constraint Mandatory Default Value link_trap_query Boolean true, falseNo truemac_trap_query Boolean true, falseNo trueoriginating_policy_services_node String No polling_interval Any Integer[min: 600, max: 86400] or Integer[min: 0, max: 0] No 28800ro_community String No version Choice ONE, TWO_C, THREENo username String No security_level Choice NO_AUTH, AUTH, PRIVNo auth_protocol Choice MD5, SHA, SHA2No auth_password String No auth_password_version Integer min: 1 No privacy_protocol Choice DES, AES128, AES192, AES256, 3DESNo privacy_password String No privacy_password_version Integer min: 1 No
Name Type Constraint Mandatory Default Value device_id String No device_password String No device_password_version Integer min: 1 No rest_api_username String No rest_api_password String No rest_api_password_version Integer min: 1 No download_environment_data_every_x_seconds Integer min: 0 No 86400download_peer_authorization_policy_every_x_seconds Integer min: 0 No 86400re_authentication_every_x_seconds Integer min: 0 No 86400download_sgacl_lists_every_x_seconds Integer min: 0 No 86400other_sga_devices_to_trust_this_device Boolean true, falseNo truesend_configuration_to_device Boolean true, falseNo falsesend_configuration_to_device_using Choice ENABLE_USING_COA, ENABLE_USING_CLI, DISABLE_ALLNo DISABLE_ALLcoa_source_host String No include_when_deploying_sgt_updates Boolean true, falseNo falseexec_mode_username String No exec_mode_password String No exec_mode_password_version Integer min: 1 No enable_mode_password String No enable_mode_password_version Integer min: 1 No
Simple example:
Full example:
description : My first switch
software_version : " 17.10.1 "
authentication_network_protocol : RADIUS
second_shared_secret : Cisco1234
encryption_key : Cisco123Cisco123
encryption_key_format : ASCII
message_authenticator_code_key : Cisco123Cisco1231234
connect_mode_options : ON_LEGACY
originating_policy_services_node : ise1
device_password : Cisco123
rest_api_password : Cisco123
download_environment_data_every_x_seconds : 10000
download_peer_authorization_policy_every_x_seconds : 10000
re_authentication_every_x_seconds : 10000
download_sgacl_lists_every_x_seconds : 10000
other_sga_devices_to_trust_this_device : false
send_configuration_to_device : true
send_configuration_to_device_using : ENABLE_USING_COA
coa_source_host : ise1.cisco.com
include_when_deploying_sgt_updates : true
exec_mode_password : Cisco123
enable_mode_password : Cisco123
SNMPv3 example:
privacy_password : Cisco12345
Write-only secrets example:
Opt a secret into Terraform’s write-only handling so it is never persisted to Terraform state (requires the ISE provider 0.5.0+ and Terraform 1.11+). Declaring a <secret>_version key next to a secret opts that secret in; a secret without a _version key keeps using the existing state-storing attribute unchanged. Because the write-only value itself is invisible to Terraform’s plan, the _version integer is the only signal it has that the secret changed — bump it to any higher value whenever the secret value changes, in the same apply.
Network devices support this for radius.shared_secret, radius.second_shared_secret, radius.encryption_key, radius.message_authenticator_code_key, tacacs.shared_secret, snmp.auth_password, snmp.privacy_password, trust_sec.device_password, trust_sec.rest_api_password, trust_sec.exec_mode_password and trust_sec.enable_mode_password.
shared_secret_version : 1 # bump alongside `shared_secret` to rotate it; the value itself is never written to state
connect_mode_options : ON_LEGACY
privacy_password : Cisco12345
privacy_password_version : 1
device_password : Cisco123
device_password_version : 1
Location in GUI :
Administration » Network Resources » Network Devices
Name Type Constraint Mandatory Default Value network_devices List [network_devices]No
Name Type Constraint Mandatory Default Value name String Regex: ^[\w\d_\-\.]+$ Yes description String No ips List [ips]No profile_name String No Ciscomodel_name String No software_version String No network_device_groups List String No authentication_network_protocol Choice RADIUS, TACACS_PLUSNo radius Class [radius]No tacacs Class [tacacs]No snmp Class [snmp]No trust_sec Class [trust_sec]No
Name Type Constraint Mandatory Default Value ip String Yes ip_exclude String No mask Integer min: 0, max: 128 No 32
Name Type Constraint Mandatory Default Value shared_secret String No second_shared_secret String No coa_port Integer min: 1, max: 65535 No 1700dtls_required Boolean true, falseNo falsedtls_dns_name String No enable_key_wrap Boolean true, falseNo falseencryption_key String No encryption_key_format Choice ASCII, HEXADECIMALNo ASCIImessage_authenticator_code_key String No
Name Type Constraint Mandatory Default Value connect_mode_options Choice OFF, ON_LEGACY, ON_DRAFT_COMPLIANTNo OFFshared_secret String No
Name Type Constraint Mandatory Default Value link_trap_query Boolean true, falseNo truemac_trap_query Boolean true, falseNo trueoriginating_policy_services_node String No polling_interval Any Integer[min: 600, max: 86400] or Integer[min: 0, max: 0] No 28800ro_community String No version Choice ONE, TWO_C, THREENo username String No security_level Choice NO_AUTH, AUTH, PRIVNo auth_protocol Choice MD5, SHA, SHA2No auth_password String No privacy_protocol Choice DES, AES128, AES192, AES256, 3DESNo privacy_password String No
Name Type Constraint Mandatory Default Value device_id String No device_password String No rest_api_username String No rest_api_password String No download_environment_data_every_x_seconds Integer min: 0 No 86400download_peer_authorization_policy_every_x_seconds Integer min: 0 No 86400re_authentication_every_x_seconds Integer min: 0 No 86400download_sgacl_lists_every_x_seconds Integer min: 0 No 86400other_sga_devices_to_trust_this_device Boolean true, falseNo truesend_configuration_to_device Boolean true, falseNo falsesend_configuration_to_device_using Choice ENABLE_USING_COA, ENABLE_USING_CLI, DISABLE_ALLNo DISABLE_ALLcoa_source_host String No include_when_deploying_sgt_updates Boolean true, falseNo falseexec_mode_username String No exec_mode_password String No enable_mode_password String No
Simple example:
Full example:
description : My first switch
software_version : " 17.10.1 "
authentication_network_protocol : RADIUS
second_shared_secret : Cisco1234
encryption_key : Cisco123Cisco123
encryption_key_format : ASCII
message_authenticator_code_key : Cisco123Cisco1231234
connect_mode_options : ON_LEGACY
originating_policy_services_node : ise1
device_password : Cisco123
rest_api_password : Cisco123
download_environment_data_every_x_seconds : 10000
download_peer_authorization_policy_every_x_seconds : 10000
re_authentication_every_x_seconds : 10000
download_sgacl_lists_every_x_seconds : 10000
other_sga_devices_to_trust_this_device : false
send_configuration_to_device : true
send_configuration_to_device_using : ENABLE_USING_COA
coa_source_host : ise1.cisco.com
include_when_deploying_sgt_updates : true
exec_mode_password : Cisco123
enable_mode_password : Cisco123
SNMPv3 example:
privacy_password : Cisco12345
Location in GUI :
Administration » Network Resources » Network Devices
Name Type Constraint Mandatory Default Value network_devices List [network_devices]No
Name Type Constraint Mandatory Default Value name String Regex: ^[\w\d_\-\.]+$ Yes description String No ips List [ips]No profile_name String No Ciscomodel_name String No software_version String No network_device_groups List String No authentication_network_protocol Choice RADIUS, TACACS_PLUSNo radius Class [radius]No tacacs Class [tacacs]No snmp Class [snmp]No trust_sec Class [trust_sec]No
Name Type Constraint Mandatory Default Value ip String Yes ip_exclude String No mask Integer min: 0, max: 128 No 32
Name Type Constraint Mandatory Default Value shared_secret String No second_shared_secret String No coa_port Integer min: 1, max: 65535 No 1700dtls_required Boolean true, falseNo falsedtls_dns_name String No enable_key_wrap Boolean true, falseNo falseencryption_key String No encryption_key_format Choice ASCII, HEXADECIMALNo ASCIImessage_authenticator_code_key String No
Name Type Constraint Mandatory Default Value connect_mode_options Choice OFF, ON_LEGACY, ON_DRAFT_COMPLIANTNo OFFshared_secret String No
Name Type Constraint Mandatory Default Value link_trap_query Boolean true, falseNo truemac_trap_query Boolean true, falseNo trueoriginating_policy_services_node String No polling_interval Any Integer[min: 600, max: 86400] or Integer[min: 0, max: 0] No 28800ro_community String No version Choice ONE, TWO_C, THREENo
Name Type Constraint Mandatory Default Value device_id String No device_password String No rest_api_username String No rest_api_password String No download_environment_data_every_x_seconds Integer min: 0 No 86400download_peer_authorization_policy_every_x_seconds Integer min: 0 No 86400re_authentication_every_x_seconds Integer min: 0 No 86400download_sgacl_lists_every_x_seconds Integer min: 0 No 86400other_sga_devices_to_trust_this_device Boolean true, falseNo truesend_configuration_to_device Boolean true, falseNo falsesend_configuration_to_device_using Choice ENABLE_USING_COA, ENABLE_USING_CLI, DISABLE_ALLNo DISABLE_ALLcoa_source_host String No include_when_deploying_sgt_updates Boolean true, falseNo falseexec_mode_username String No exec_mode_password String No enable_mode_password String No
Simple example:
Full example:
description : My first switch
software_version : " 17.10.1 "
authentication_network_protocol : RADIUS
second_shared_secret : Cisco1234
encryption_key : Cisco123Cisco123
encryption_key_format : ASCII
message_authenticator_code_key : Cisco123Cisco1231234
connect_mode_options : ON_LEGACY
originating_policy_services_node : ise1
device_password : Cisco123
rest_api_password : Cisco123
download_environment_data_every_x_seconds : 10000
download_peer_authorization_policy_every_x_seconds : 10000
re_authentication_every_x_seconds : 10000
download_sgacl_lists_every_x_seconds : 10000
other_sga_devices_to_trust_this_device : false
send_configuration_to_device : true
send_configuration_to_device_using : ENABLE_USING_COA
coa_source_host : ise1.cisco.com
include_when_deploying_sgt_updates : true
exec_mode_password : Cisco123
enable_mode_password : Cisco123