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 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 shared_ secret_ 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
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 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 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 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
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
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
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
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