Template
Diagram
Classes
configuration (iosxe.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
templates | List | [templates] | No |
templates (iosxe.devices.configuration)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
dot1x_pae | Choice | authenticator , both , supplicant | No | |
dot1x_max_reauth_req | Integer | min: 1 , max: 10 | No | |
dot1x_max_req | Integer | min: 1 , max: 10 | No | |
dot1x_timeout_tx_period | Integer | min: 1 , max: 65535 | No | |
service_policy_type_control_subscriber | String | No | ||
service_policy_input | String | No | ||
service_policy_output | String | No | ||
source_template | String | No | ||
switchport | Class | [switchport] | No | |
mab | Boolean | true , false | No | |
mab_eap | Boolean | true , false | No | |
access_session_closed | Boolean | true , false | No | |
access_session_monitor | Boolean | true , false | No | |
access_session_port_control | Choice | auto , force-authorized , force-unauthorized | No | |
access_session_control_direction | Choice | both , in | No | |
access_session_host_mode | Choice | multi-auth , multi-domain , multi-host , single-host | No | |
access_session_interface_template_sticky | Boolean | true , false | No | |
access_session_interface_template_sticky_timer | Integer | min: 1 , max: 65535 | No | |
authentication_periodic | Boolean | true , false | No | |
authentication_timer_reauthenticate_server | Boolean | true , false | No | |
authentication_timer_reauthenticate_range | Integer | min: 1 , max: 65535 | No | |
spanning_tree_bpduguard_enable | Boolean | true , false | No | |
spanning_tree_service_policy | Boolean | true , false | No | |
spanning_tree_portfast | Boolean | true , false | No | |
spanning_tree_portfast_disable | Boolean | true , false | No | |
spanning_tree_portfast_edge | Boolean | true , false | No | |
spanning_tree_portfast_network | Boolean | true , false | No | |
storm_control_broadcast_level_pps_threshold | String | No | ||
storm_control_broadcast_level_bps_threshold | Number | min: 0 , max: 100000000000.0 | No | |
storm_control_broadcast_level_threshold | Number | min: 0 , max: 10000 | No | |
storm_control_multicast_level_pps_threshold | String | No | ||
storm_control_multicast_level_bps_threshold | Number | min: 0 , max: 100000000000.0 | No | |
storm_control_multicast_level_threshold | Number | min: 0 , max: 10000 | No | |
storm_control_action_shutdown | Boolean | true , false | No | |
storm_control_action_trap | Boolean | true , false | No | |
load_interval | Integer | min: 30 , max: 600 | No | |
ip_dhcp_snooping_limit_rate | Integer | min: 1 , max: 2048 | No | |
ip_dhcp_snooping_trust | Boolean | true , false | No | |
ip_access_groups | List | [ip_access_groups] | No | |
subscriber_aging_inactivity_timer_value | Integer | min: 1 , max: 65535 | No | |
subscriber_aging_inactivity_timer_probe | Boolean | true , false | No | |
subscriber_aging_probe | Boolean | true , false | No | |
device_tracking | Boolean | true , false | No | |
device_tracking_attach_policies | List | [device_tracking_attach_policies] | No | |
device_tracking_vlan_range | String | No | ||
cts_manual | Boolean | true , false | No | |
cts_manual_policy_static_sgt | Integer | min: 2 , max: 65519 | No | |
cts_manual_policy_static_trusted | Boolean | true , false | No | |
cts_manual_propagate_sgt | Boolean | true , false | No | |
cts_role_based_enforcement | Boolean | true , false | No |
switchport (iosxe.devices.configuration.templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
mode | Choice | access , trunk | No | |
nonegotiate | Boolean | true , false | No | |
block_unicast | Boolean | true , false | No | |
port_security | Boolean | true , false | No | |
port_security_aging_static | Boolean | true , false | No | |
port_security_aging_time | Integer | min: 1 , max: 1440 | No | |
port_security_aging_type | Boolean | true , false | No | |
port_security_aging_type_inactivity | Boolean | true , false | No | |
port_security_maximum_ranges | List | [port_security_maximum_ranges] | No | |
port_security_violation_protect | Boolean | true , false | No | |
port_security_violation_restrict | Boolean | true , false | No | |
port_security_violation_shutdown | Boolean | true , false | No | |
access_vlan | Integer | min: 1 , max: 4094 | No | |
voice_vlan | Integer | min: 1 , max: 4094 | No | |
private_vlan_host_association_primary_range | Any | Integer[min: 2 , max: 1001 ] or Integer[min: 1006 , max: 4094 ] or String[Regex: ^.*[\$\%]\{.*$ ] | No | |
private_vlan_host_association_secondary_range | Any | Integer[min: 2 , max: 1001 ] or Integer[min: 1006 , max: 4094 ] or String[Regex: ^.*[\$\%]\{.*$ ] | No | |
trunk_allowed_vlans | Integer | min: 1 , max: 4094 | No | |
trunk_allowed_vlans_none | Boolean | true , false | No | |
trunk_allowed_vlans_all | Boolean | true , false | No | |
trunk_native_vlan_tag | Boolean | true , false | No | |
trunk_native_vlan_id | Integer | min: 1 , max: 4094 | No |
ip_access_groups (iosxe.devices.configuration.templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
direction | Choice | in , out | Yes | |
access_list | String | Yes |
device_tracking_attach_policies (iosxe.devices.configuration.templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | No | ||
vlan_range | String | Yes |
port_security_maximum_ranges (iosxe.devices.configuration.templates.switchport)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
range | Integer | min: 1 , max: 3072 | Yes | |
vlan | Boolean | true , false | No | |
vlan_access | Boolean | true , false | No |
Examples
iosxe: devices: - name: Device1 configuration: templates: - name: TEMPLATE1 dot1x_pae: supplicant dot1x_max_reauth_req: 3 dot1x_max_req: 5 dot1x_timeout_tx_period: 600 service_policy_input: input service_policy_output: output switchport: mode_trunk: true trunk_native_vlan_id: 100 trunk_allowed_vlans: 10-20,30 nonegotiate: true block_unicast: true port_security: true port_security_aging_static: true port_security_aging_time: 600 port_security_aging_type_inactivity: true port_security_maximum_ranges: - range: 10 vlan: true vlan_access: true - range: 20 vlan: true - range: 30 port_security_violation_protect: true voice_vlan: 11 mab: true mab_eap: true access_session_closed: true access_session_monitor: false access_session_port_control: force-authorized access_session_control_direction: in access_session_host_mode: multi-domain access_session_interface_template_sticky: true access_session_interface_template_sticky_timer: 600 authentication_periodic: true authentication_timer_reauthenticate_range: 600 spanning_tree_bpduguard_enable: true spanning_tree_portfast: true spanning_tree_portfast_disable: false storm_control_broadcast_level_threshold: 80 storm_control_multicast_level_threshold: 70 storm_control_action_shutdown: true storm_control_action_trap: true load_interval: 90 ip_dhcp_snooping_limit_rate: 1024 ip_dhcp_snooping_trust: true ip_access_groups: - direction: in access_list: ACL_IN - direction: out access_list: ACL_OUT subscriber_aging_inactivity_timer_value: 600 device_tracking: true cts_manual: true cts_manual_policy_static_sgt: 100 cts_manual_policy_static_trusted: true cts_manual_propagate_sgt: true cts_role_based_enforcement: true