Switchport Feature Template
Use the Switch Port template to configure bridging for Cisco Catalyst SD-WAN.
Diagram
Classes
edge_feature_templates (sdwan)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
switchport_templates | List | [switchport_templates] | No |
switchport_templates (sdwan.edge_feature_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[^<>!&" ]{1,128}$ | Yes | |
description | String | Yes | ||
device_types | List | Choice[C1111-4PLTEEA , C1161-8P , C1117-4PLTEEAW , C1121X-8P , C8200-1N-4T , ISR-4331 , C1127X-8PMLTEP , C1117-4PMLTEEAWE , ISR-4451-X , C8200L-1N-4T , C1113-8PLTEEA , IR-1821 , ISR-4321 , C1116-4PLTEEAWE , C1109-4PLTE2P , C1121-8P , C1111-8PLTEEAW , C1112-8PWE , C1101-4PLTEP , ISR1100-4GLTENA-XE , C1111-8PLTELA , IR-1835 , C1121X-8PLTEP , IR-1833 , C8300-1N1S-4T2X , C1121-4P , ISR-4351 , C1117-4PLTELA , C1116-4PWE , C1113-8PM , IR-1831 , C1127-8PLTEP , C1121-8PLTEPW , C1113-8PW , C1128-8PLTEP , IR-8340 , C1113-8PLTEEAW , C1117-4PW , C1116-4P , C1113-8PMLTEEA , C1112-8P , ISR-4461 , C1116-4PLTEEA , ISR-4221 , C1117-4PM , C1113-8PLTELAWZ , C1117-4PMWE , C1131-8PLTEPW , C1109-2PLTEVZ , C1113-8P , C1117-4P , C8300-2N2S-6T , C1127-8PMLTEP , ISR-4221X , ISR1100-4GLTEGB-XE , C1109-2PLTEGB , C1113-8PLTEW , C1121X-8PLTEPW , ISR1100-6G-XE , C1121-4PLTEP , C1111-8PLTEEA , C1117-4PLTEEA , C1127X-8PLTEP , C1109-2PLTEUS , C1112-8PLTEEAWE , C1161X-8P , C1111-8PW , C1161X-8PLTEP , C1101-4PLTEPW , ISR1100X-4G-XE , IR-1101 , C1111-4P , C1111-4PW , C1111-8P , C1117-4PMLTEEA , C1113-8PLTELA , C1131X-8PW , C1111-8PLTELAW , C1131-8PW , C1161-8PLTEP , ISR1100X-6G-XE , ISR-4431 , C1101-4P , C1109-4PLTE2PW , C1113-8PMWE , C1118-8P , C1126-8PLTEP , C8300-1N1S-6T , C1121-8PLTEP , C8300-2N2S-4T2X , C1131X-8PLTEPW , C1112-8PLTEEA , C1111-4PLTELA , C1111X-8P , C1126X-8PLTEP , C8000V , ISR1100-4G-XE , C1117-4PLTELAWZ ] | No | |
age_out_time | Integer | min: 0 , max: 1000000 | No | |
age_out_time_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
interfaces | List | [interfaces] | No | |
slot | Integer | min: 0 , max: 31 | Yes | |
static_mac_addresses | List | [static_mac_addresses] | No | |
sub_slot | Integer | min: 0 , max: 31 | Yes | |
module_type | Choice | 4 , 8 , 22 , 50 | Yes |
interfaces (sdwan.edge_feature_templates.switchport_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
access_vlan | Integer | min: 1 , max: 4094 | No | |
access_vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
dot1x | Class | [dot1x] | No | |
duplex | Choice | half , full | No | |
duplex_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
mode | Choice | access , trunk | Yes | |
name | String | No | ||
name_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
optional | Boolean | true , false | No | |
shutdown | Boolean | true , false | No | |
shutdown_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
speed | Choice | 10 , 100 , 1000 , 2500 , 10000 | No | |
speed_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
trunk_allowed_vlans | List | Integer[min: 1 , max: 4094 ] | No | |
trunk_allowed_vlans_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
trunk_allowed_vlans_ranges | List | [trunk_allowed_vlans_ranges] | No | |
trunk_native_vlan | Integer | min: 1 , max: 4094 | No | |
trunk_native_vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
voice_vlan | Integer | min: 1 , max: 4094 | No | |
voice_vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No |
static_mac_addresses (sdwan.edge_feature_templates.switchport_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
interface_name | String | No | ||
interface_name_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
mac_address | String | Regex: ^(([a-fA-F\d]{2}:){5}[a-fA-F\d]{2})$ | No | |
mac_address_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
optional | Boolean | true , false | No | |
vlan | Integer | min: 1 , max: 4094 | No | |
vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No |
dot1x (sdwan.edge_feature_templates.switchport_templates.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
control_direction | Choice | both , in | No | |
control_direction_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
critical_vlan | Integer | min: 1 , max: 4094 | No | |
critical_vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
enable | Boolean | true , false | Yes | |
enable_criticial_voice_vlan | Boolean | true , false | No | |
enable_criticial_voice_vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
enable_pae | Boolean | true , false | No | |
enable_pae_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
enable_periodic_reauth | Boolean | true , false | No | |
enable_periodic_reauth_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
guest_vlan | Integer | min: 1 , max: 4094 | No | |
guest_vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
host_mode | Choice | single-host , multi-auth , multi-host , multi-domain | No | |
host_mode_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
mac_authentication_bypass | Boolean | true , false | No | |
mac_authentication_bypass_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
periodic_reauth_inactivity_timeout | Integer | min: 1 , max: 1440 | No | |
periodic_reauth_inactivity_timeout_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
periodic_reauth_interval | Integer | min: 0 , max: 1440 | No | |
periodic_reauth_interval_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
port_control_mode | Choice | auto , force-unauthorized , force-authorized | No | |
port_control_mode_variable | String | Regex: ^[^"~ $&+,]255$` | No | |
restricted_vlan | Integer | min: 1 , max: 4094 | No | |
restricted_vlan_variable | String | Regex: ^[^"~ $&+,]255$` | No |
trunk_allowed_vlans_ranges (sdwan.edge_feature_templates.switchport_templates.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
from | Integer | min: 1 , max: 4094 | Yes | |
to | Integer | min: 1 , max: 4094 | Yes |
Examples
sdwan:
edge_feature_templates:
switchport_templates:
- name: FT-CEDGE-SWITCHPORT-V01
description: "Switchport Template"
slot: 0
sub_slot: 1
module_type: 8
interfaces:
- name_variable: switchport_access_interface_name
mode: access
access_vlan: 10
optional: true
shutdown: false
dot1x:
enable: true
guest_vlan: 20
- name_variable: switchport_trunk_interface_name
mode: trunk
trunk_native_vlan: 100
trunk_allowed_vlans:
- 100
- 105
- 110
optional: true
shutdown: false