Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getTemplate
Explore with Pulumi AI
This data source can read the Template configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetTemplate.Invoke(new()
{
TemplateName = "TEMP1",
});
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.LookupTemplate(ctx, &iosxe.LookupTemplateArgs{
TemplateName: "TEMP1",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = IosxeFunctions.getTemplate(GetTemplateArgs.builder()
.templateName("TEMP1")
.build());
}
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_template(template_name="TEMP1")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getTemplate({
templateName: "TEMP1",
});
variables:
example:
fn::invoke:
Function: iosxe:getTemplate
Arguments:
templateName: TEMP1
Using getTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTemplate(args: GetTemplateArgs, opts?: InvokeOptions): Promise<GetTemplateResult>
function getTemplateOutput(args: GetTemplateOutputArgs, opts?: InvokeOptions): Output<GetTemplateResult>
def get_template(device: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTemplateResult
def get_template_output(device: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTemplateResult]
func LookupTemplate(ctx *Context, args *LookupTemplateArgs, opts ...InvokeOption) (*LookupTemplateResult, error)
func LookupTemplateOutput(ctx *Context, args *LookupTemplateOutputArgs, opts ...InvokeOption) LookupTemplateResultOutput
> Note: This function is named LookupTemplate
in the Go SDK.
public static class GetTemplate
{
public static Task<GetTemplateResult> InvokeAsync(GetTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: iosxe:index/getTemplate:getTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Template
Name string - Template name
- Device string
- A device name from the provider configuration.
- Template
Name string - Template name
- Device string
- A device name from the provider configuration.
- template
Name String - Template name
- device String
- A device name from the provider configuration.
- template
Name string - Template name
- device string
- A device name from the provider configuration.
- template_
name str - Template name
- device str
- A device name from the provider configuration.
- template
Name String - Template name
- device String
- A device name from the provider configuration.
getTemplate Result
The following output properties are available:
- Access
Session boolClosed - Enable closed access on port (disabled by default, i.e. open access)
- Access
Session stringControl Direction - Set the control-direction on the interface
- Access
Session stringHost Mode - Set the Host mode for authentication on this interface
- Access
Session boolInterface Template Sticky - Interface templates set to sticky
- Access
Session intInterface Template Sticky Timer - Sticky timer value
- Access
Session boolMonitor - Apply template to monitor access sessions on the port
- Access
Session stringPort Control - Set the port-control value
- Authentication
Periodic bool - Enable or Disable Reauthentication for this port
- Authentication
Timer intReauthenticate Range - Enter a value between 1 and 65535
- Authentication
Timer boolReauthenticate Server - Obtain re-authentication timeout value from the server
- Cts
Manual bool - Supply local configuration for CTS parameters
- Cts
Manual intPolicy Static Sgt - Source Security Group Tag to apply to untagged or non-trusted incoming traffic
- Cts
Manual boolPolicy Static Trusted - Trust the Source Group Tags (SGT) that the peer uses for sending
- Cts
Manual boolPropagate Sgt - CTS SGT Propagation configuration
- Cts
Role boolBased Enforcement - Enable Role-based Access Control enforcement
- Device
Tracking bool - Configure device-tracking on the interface
- Device
Tracking List<Lbrlabs.Attach Policies Pulumi Package. Iosxe. Outputs. Get Template Device Tracking Attach Policy> - policy name for device tracking
- Device
Tracking stringVlan Range - VLAN IDs of the VLANs for which this policy applies
- Dot1x
Max intReauth Req - Max No. of Reauthentication Attempts
- Dot1x
Max intReq - Max No. of Retries
- Dot1x
Pae string - Set 802.1x interface pae type
- Dot1x
Timeout intTx Period - Timeout for supplicant retries
- Id string
- The path of the retrieved object.
- Ip
Access List<Lbrlabs.Groups Pulumi Package. Iosxe. Outputs. Get Template Ip Access Group> - Access control list for IP packets
- Ip
Dhcp intSnooping Limit Rate - DHCP snooping rate limit
- Ip
Dhcp boolSnooping Trust - DHCP Snooping trust config
- Load
Interval int - Load interval delay in seconds
- Mab bool
- MAC Authentication Bypass Interface Config Commands
- Mab
Eap bool - Use EAP authentication for MAC Auth Bypass
- Service
Policy stringInput - policy-map name
- Service
Policy stringOutput - policy-map name
- Service
Policy stringType Control Subscriber - Apply a subscriber control policy to the interface
- Source
Template string - Get config from a template
- Spanning
Tree boolBpduguard Enable - Enable BPDU guard for this interface
- Spanning
Tree boolPortfast - Portfast options for the interface
- Spanning
Tree boolPortfast Disable - Disable portfast for this interface
- Spanning
Tree boolPortfast Edge - Enable portfast edge on the interface
- Spanning
Tree boolPortfast Network - Enable portfast network on the interface
- Spanning
Tree boolService Policy - help
- Storm
Control boolAction Shutdown - Shutdown this interface if a storm occurs
- Storm
Control boolAction Trap - Send SNMP trap if a storm occurs
- Storm
Control doubleBroadcast Level Bps Threshold - Enter threshold
- Storm
Control stringBroadcast Level Pps Threshold - Enter threshold
- Storm
Control doubleBroadcast Level Threshold - Enter threshold
- Storm
Control doubleMulticast Level Bps Threshold - Enter threshold
- Storm
Control stringMulticast Level Pps Threshold - Enter threshold
- Storm
Control doubleMulticast Level Threshold - Enter threshold
- Subscriber
Aging boolInactivity Timer Probe - ARP probe
- Subscriber
Aging intInactivity Timer Value - Enter a value between 1 and 65535 in seconds
- Subscriber
Aging boolProbe - ARP probe
- Switchport
Access intVlan - VLAN ID of the VLAN when this port is in access mode
- Switchport
Block boolUnicast - Block unknown unicast addresses
- Switchport
Mode boolAccess - Set trunking mode to ACCESS unconditionally
- Switchport
Mode boolTrunk - Set trunking mode to TRUNK unconditionally
- Switchport
Nonegotiate bool - Device will not engage in negotiation protocol on this interface
- Switchport
Port boolSecurity - Security related command
- Switchport
Port boolSecurity Aging Static - Enable aging for configured secure addresses
- Switchport
Port intSecurity Aging Time - Port-security aging time
- Switchport
Port boolSecurity Aging Type - Port-security aging type
- Switchport
Port boolSecurity Aging Type Inactivity - Aging based on inactivity time period
- Switchport
Port List<Lbrlabs.Security Maximum Ranges Pulumi Package. Iosxe. Outputs. Get Template Switchport Port Security Maximum Range> - Switchport
Port boolSecurity Violation Protect - Security violation protect mode
- Switchport
Port boolSecurity Violation Restrict - Security violation restrict mode
- Switchport
Port boolSecurity Violation Shutdown - Security violation shutdown mode
- Switchport
Private intVlan Host Association Primary Range - Primary normal range VLAN ID of the private VLAN port association
- Switchport
Private intVlan Host Association Secondary Range - Secondary normal range VLAN ID of the private VLAN host port association
- Switchport
Trunk stringAllowed Vlans - VLAN IDs of the allowed VLANs when this port is in trunking mode
- Switchport
Trunk boolAllowed Vlans All - all VLANs
- Switchport
Trunk boolAllowed Vlans None - no VLANs
- Switchport
Trunk boolNative Vlan Tag - Set native VLAN tagging state
- Switchport
Trunk intNative Vlan Vlan Id - VLAN ID of the native VLAN when this port is in trunking mode
- Switchport
Voice intVlan - Vlan for voice traffic
- Template
Name string - Template name
- Device string
- A device name from the provider configuration.
- Access
Session boolClosed - Enable closed access on port (disabled by default, i.e. open access)
- Access
Session stringControl Direction - Set the control-direction on the interface
- Access
Session stringHost Mode - Set the Host mode for authentication on this interface
- Access
Session boolInterface Template Sticky - Interface templates set to sticky
- Access
Session intInterface Template Sticky Timer - Sticky timer value
- Access
Session boolMonitor - Apply template to monitor access sessions on the port
- Access
Session stringPort Control - Set the port-control value
- Authentication
Periodic bool - Enable or Disable Reauthentication for this port
- Authentication
Timer intReauthenticate Range - Enter a value between 1 and 65535
- Authentication
Timer boolReauthenticate Server - Obtain re-authentication timeout value from the server
- Cts
Manual bool - Supply local configuration for CTS parameters
- Cts
Manual intPolicy Static Sgt - Source Security Group Tag to apply to untagged or non-trusted incoming traffic
- Cts
Manual boolPolicy Static Trusted - Trust the Source Group Tags (SGT) that the peer uses for sending
- Cts
Manual boolPropagate Sgt - CTS SGT Propagation configuration
- Cts
Role boolBased Enforcement - Enable Role-based Access Control enforcement
- Device
Tracking bool - Configure device-tracking on the interface
- Device
Tracking []GetAttach Policies Template Device Tracking Attach Policy - policy name for device tracking
- Device
Tracking stringVlan Range - VLAN IDs of the VLANs for which this policy applies
- Dot1x
Max intReauth Req - Max No. of Reauthentication Attempts
- Dot1x
Max intReq - Max No. of Retries
- Dot1x
Pae string - Set 802.1x interface pae type
- Dot1x
Timeout intTx Period - Timeout for supplicant retries
- Id string
- The path of the retrieved object.
- Ip
Access []GetGroups Template Ip Access Group - Access control list for IP packets
- Ip
Dhcp intSnooping Limit Rate - DHCP snooping rate limit
- Ip
Dhcp boolSnooping Trust - DHCP Snooping trust config
- Load
Interval int - Load interval delay in seconds
- Mab bool
- MAC Authentication Bypass Interface Config Commands
- Mab
Eap bool - Use EAP authentication for MAC Auth Bypass
- Service
Policy stringInput - policy-map name
- Service
Policy stringOutput - policy-map name
- Service
Policy stringType Control Subscriber - Apply a subscriber control policy to the interface
- Source
Template string - Get config from a template
- Spanning
Tree boolBpduguard Enable - Enable BPDU guard for this interface
- Spanning
Tree boolPortfast - Portfast options for the interface
- Spanning
Tree boolPortfast Disable - Disable portfast for this interface
- Spanning
Tree boolPortfast Edge - Enable portfast edge on the interface
- Spanning
Tree boolPortfast Network - Enable portfast network on the interface
- Spanning
Tree boolService Policy - help
- Storm
Control boolAction Shutdown - Shutdown this interface if a storm occurs
- Storm
Control boolAction Trap - Send SNMP trap if a storm occurs
- Storm
Control float64Broadcast Level Bps Threshold - Enter threshold
- Storm
Control stringBroadcast Level Pps Threshold - Enter threshold
- Storm
Control float64Broadcast Level Threshold - Enter threshold
- Storm
Control float64Multicast Level Bps Threshold - Enter threshold
- Storm
Control stringMulticast Level Pps Threshold - Enter threshold
- Storm
Control float64Multicast Level Threshold - Enter threshold
- Subscriber
Aging boolInactivity Timer Probe - ARP probe
- Subscriber
Aging intInactivity Timer Value - Enter a value between 1 and 65535 in seconds
- Subscriber
Aging boolProbe - ARP probe
- Switchport
Access intVlan - VLAN ID of the VLAN when this port is in access mode
- Switchport
Block boolUnicast - Block unknown unicast addresses
- Switchport
Mode boolAccess - Set trunking mode to ACCESS unconditionally
- Switchport
Mode boolTrunk - Set trunking mode to TRUNK unconditionally
- Switchport
Nonegotiate bool - Device will not engage in negotiation protocol on this interface
- Switchport
Port boolSecurity - Security related command
- Switchport
Port boolSecurity Aging Static - Enable aging for configured secure addresses
- Switchport
Port intSecurity Aging Time - Port-security aging time
- Switchport
Port boolSecurity Aging Type - Port-security aging type
- Switchport
Port boolSecurity Aging Type Inactivity - Aging based on inactivity time period
- Switchport
Port []GetSecurity Maximum Ranges Template Switchport Port Security Maximum Range - Switchport
Port boolSecurity Violation Protect - Security violation protect mode
- Switchport
Port boolSecurity Violation Restrict - Security violation restrict mode
- Switchport
Port boolSecurity Violation Shutdown - Security violation shutdown mode
- Switchport
Private intVlan Host Association Primary Range - Primary normal range VLAN ID of the private VLAN port association
- Switchport
Private intVlan Host Association Secondary Range - Secondary normal range VLAN ID of the private VLAN host port association
- Switchport
Trunk stringAllowed Vlans - VLAN IDs of the allowed VLANs when this port is in trunking mode
- Switchport
Trunk boolAllowed Vlans All - all VLANs
- Switchport
Trunk boolAllowed Vlans None - no VLANs
- Switchport
Trunk boolNative Vlan Tag - Set native VLAN tagging state
- Switchport
Trunk intNative Vlan Vlan Id - VLAN ID of the native VLAN when this port is in trunking mode
- Switchport
Voice intVlan - Vlan for voice traffic
- Template
Name string - Template name
- Device string
- A device name from the provider configuration.
- access
Session BooleanClosed - Enable closed access on port (disabled by default, i.e. open access)
- access
Session StringControl Direction - Set the control-direction on the interface
- access
Session StringHost Mode - Set the Host mode for authentication on this interface
- access
Session BooleanInterface Template Sticky - Interface templates set to sticky
- access
Session IntegerInterface Template Sticky Timer - Sticky timer value
- access
Session BooleanMonitor - Apply template to monitor access sessions on the port
- access
Session StringPort Control - Set the port-control value
- authentication
Periodic Boolean - Enable or Disable Reauthentication for this port
- authentication
Timer IntegerReauthenticate Range - Enter a value between 1 and 65535
- authentication
Timer BooleanReauthenticate Server - Obtain re-authentication timeout value from the server
- cts
Manual Boolean - Supply local configuration for CTS parameters
- cts
Manual IntegerPolicy Static Sgt - Source Security Group Tag to apply to untagged or non-trusted incoming traffic
- cts
Manual BooleanPolicy Static Trusted - Trust the Source Group Tags (SGT) that the peer uses for sending
- cts
Manual BooleanPropagate Sgt - CTS SGT Propagation configuration
- cts
Role BooleanBased Enforcement - Enable Role-based Access Control enforcement
- device
Tracking Boolean - Configure device-tracking on the interface
- device
Tracking List<GetAttach Policies Template Device Tracking Attach Policy> - policy name for device tracking
- device
Tracking StringVlan Range - VLAN IDs of the VLANs for which this policy applies
- dot1x
Max IntegerReauth Req - Max No. of Reauthentication Attempts
- dot1x
Max IntegerReq - Max No. of Retries
- dot1x
Pae String - Set 802.1x interface pae type
- dot1x
Timeout IntegerTx Period - Timeout for supplicant retries
- id String
- The path of the retrieved object.
- ip
Access List<GetGroups Template Ip Access Group> - Access control list for IP packets
- ip
Dhcp IntegerSnooping Limit Rate - DHCP snooping rate limit
- ip
Dhcp BooleanSnooping Trust - DHCP Snooping trust config
- load
Interval Integer - Load interval delay in seconds
- mab Boolean
- MAC Authentication Bypass Interface Config Commands
- mab
Eap Boolean - Use EAP authentication for MAC Auth Bypass
- service
Policy StringInput - policy-map name
- service
Policy StringOutput - policy-map name
- service
Policy StringType Control Subscriber - Apply a subscriber control policy to the interface
- source
Template String - Get config from a template
- spanning
Tree BooleanBpduguard Enable - Enable BPDU guard for this interface
- spanning
Tree BooleanPortfast - Portfast options for the interface
- spanning
Tree BooleanPortfast Disable - Disable portfast for this interface
- spanning
Tree BooleanPortfast Edge - Enable portfast edge on the interface
- spanning
Tree BooleanPortfast Network - Enable portfast network on the interface
- spanning
Tree BooleanService Policy - help
- storm
Control BooleanAction Shutdown - Shutdown this interface if a storm occurs
- storm
Control BooleanAction Trap - Send SNMP trap if a storm occurs
- storm
Control DoubleBroadcast Level Bps Threshold - Enter threshold
- storm
Control StringBroadcast Level Pps Threshold - Enter threshold
- storm
Control DoubleBroadcast Level Threshold - Enter threshold
- storm
Control DoubleMulticast Level Bps Threshold - Enter threshold
- storm
Control StringMulticast Level Pps Threshold - Enter threshold
- storm
Control DoubleMulticast Level Threshold - Enter threshold
- subscriber
Aging BooleanInactivity Timer Probe - ARP probe
- subscriber
Aging IntegerInactivity Timer Value - Enter a value between 1 and 65535 in seconds
- subscriber
Aging BooleanProbe - ARP probe
- switchport
Access IntegerVlan - VLAN ID of the VLAN when this port is in access mode
- switchport
Block BooleanUnicast - Block unknown unicast addresses
- switchport
Mode BooleanAccess - Set trunking mode to ACCESS unconditionally
- switchport
Mode BooleanTrunk - Set trunking mode to TRUNK unconditionally
- switchport
Nonegotiate Boolean - Device will not engage in negotiation protocol on this interface
- switchport
Port BooleanSecurity - Security related command
- switchport
Port BooleanSecurity Aging Static - Enable aging for configured secure addresses
- switchport
Port IntegerSecurity Aging Time - Port-security aging time
- switchport
Port BooleanSecurity Aging Type - Port-security aging type
- switchport
Port BooleanSecurity Aging Type Inactivity - Aging based on inactivity time period
- switchport
Port List<GetSecurity Maximum Ranges Template Switchport Port Security Maximum Range> - switchport
Port BooleanSecurity Violation Protect - Security violation protect mode
- switchport
Port BooleanSecurity Violation Restrict - Security violation restrict mode
- switchport
Port BooleanSecurity Violation Shutdown - Security violation shutdown mode
- switchport
Private IntegerVlan Host Association Primary Range - Primary normal range VLAN ID of the private VLAN port association
- switchport
Private IntegerVlan Host Association Secondary Range - Secondary normal range VLAN ID of the private VLAN host port association
- switchport
Trunk StringAllowed Vlans - VLAN IDs of the allowed VLANs when this port is in trunking mode
- switchport
Trunk BooleanAllowed Vlans All - all VLANs
- switchport
Trunk BooleanAllowed Vlans None - no VLANs
- switchport
Trunk BooleanNative Vlan Tag - Set native VLAN tagging state
- switchport
Trunk IntegerNative Vlan Vlan Id - VLAN ID of the native VLAN when this port is in trunking mode
- switchport
Voice IntegerVlan - Vlan for voice traffic
- template
Name String - Template name
- device String
- A device name from the provider configuration.
- access
Session booleanClosed - Enable closed access on port (disabled by default, i.e. open access)
- access
Session stringControl Direction - Set the control-direction on the interface
- access
Session stringHost Mode - Set the Host mode for authentication on this interface
- access
Session booleanInterface Template Sticky - Interface templates set to sticky
- access
Session numberInterface Template Sticky Timer - Sticky timer value
- access
Session booleanMonitor - Apply template to monitor access sessions on the port
- access
Session stringPort Control - Set the port-control value
- authentication
Periodic boolean - Enable or Disable Reauthentication for this port
- authentication
Timer numberReauthenticate Range - Enter a value between 1 and 65535
- authentication
Timer booleanReauthenticate Server - Obtain re-authentication timeout value from the server
- cts
Manual boolean - Supply local configuration for CTS parameters
- cts
Manual numberPolicy Static Sgt - Source Security Group Tag to apply to untagged or non-trusted incoming traffic
- cts
Manual booleanPolicy Static Trusted - Trust the Source Group Tags (SGT) that the peer uses for sending
- cts
Manual booleanPropagate Sgt - CTS SGT Propagation configuration
- cts
Role booleanBased Enforcement - Enable Role-based Access Control enforcement
- device
Tracking boolean - Configure device-tracking on the interface
- device
Tracking GetAttach Policies Template Device Tracking Attach Policy[] - policy name for device tracking
- device
Tracking stringVlan Range - VLAN IDs of the VLANs for which this policy applies
- dot1x
Max numberReauth Req - Max No. of Reauthentication Attempts
- dot1x
Max numberReq - Max No. of Retries
- dot1x
Pae string - Set 802.1x interface pae type
- dot1x
Timeout numberTx Period - Timeout for supplicant retries
- id string
- The path of the retrieved object.
- ip
Access GetGroups Template Ip Access Group[] - Access control list for IP packets
- ip
Dhcp numberSnooping Limit Rate - DHCP snooping rate limit
- ip
Dhcp booleanSnooping Trust - DHCP Snooping trust config
- load
Interval number - Load interval delay in seconds
- mab boolean
- MAC Authentication Bypass Interface Config Commands
- mab
Eap boolean - Use EAP authentication for MAC Auth Bypass
- service
Policy stringInput - policy-map name
- service
Policy stringOutput - policy-map name
- service
Policy stringType Control Subscriber - Apply a subscriber control policy to the interface
- source
Template string - Get config from a template
- spanning
Tree booleanBpduguard Enable - Enable BPDU guard for this interface
- spanning
Tree booleanPortfast - Portfast options for the interface
- spanning
Tree booleanPortfast Disable - Disable portfast for this interface
- spanning
Tree booleanPortfast Edge - Enable portfast edge on the interface
- spanning
Tree booleanPortfast Network - Enable portfast network on the interface
- spanning
Tree booleanService Policy - help
- storm
Control booleanAction Shutdown - Shutdown this interface if a storm occurs
- storm
Control booleanAction Trap - Send SNMP trap if a storm occurs
- storm
Control numberBroadcast Level Bps Threshold - Enter threshold
- storm
Control stringBroadcast Level Pps Threshold - Enter threshold
- storm
Control numberBroadcast Level Threshold - Enter threshold
- storm
Control numberMulticast Level Bps Threshold - Enter threshold
- storm
Control stringMulticast Level Pps Threshold - Enter threshold
- storm
Control numberMulticast Level Threshold - Enter threshold
- subscriber
Aging booleanInactivity Timer Probe - ARP probe
- subscriber
Aging numberInactivity Timer Value - Enter a value between 1 and 65535 in seconds
- subscriber
Aging booleanProbe - ARP probe
- switchport
Access numberVlan - VLAN ID of the VLAN when this port is in access mode
- switchport
Block booleanUnicast - Block unknown unicast addresses
- switchport
Mode booleanAccess - Set trunking mode to ACCESS unconditionally
- switchport
Mode booleanTrunk - Set trunking mode to TRUNK unconditionally
- switchport
Nonegotiate boolean - Device will not engage in negotiation protocol on this interface
- switchport
Port booleanSecurity - Security related command
- switchport
Port booleanSecurity Aging Static - Enable aging for configured secure addresses
- switchport
Port numberSecurity Aging Time - Port-security aging time
- switchport
Port booleanSecurity Aging Type - Port-security aging type
- switchport
Port booleanSecurity Aging Type Inactivity - Aging based on inactivity time period
- switchport
Port GetSecurity Maximum Ranges Template Switchport Port Security Maximum Range[] - switchport
Port booleanSecurity Violation Protect - Security violation protect mode
- switchport
Port booleanSecurity Violation Restrict - Security violation restrict mode
- switchport
Port booleanSecurity Violation Shutdown - Security violation shutdown mode
- switchport
Private numberVlan Host Association Primary Range - Primary normal range VLAN ID of the private VLAN port association
- switchport
Private numberVlan Host Association Secondary Range - Secondary normal range VLAN ID of the private VLAN host port association
- switchport
Trunk stringAllowed Vlans - VLAN IDs of the allowed VLANs when this port is in trunking mode
- switchport
Trunk booleanAllowed Vlans All - all VLANs
- switchport
Trunk booleanAllowed Vlans None - no VLANs
- switchport
Trunk booleanNative Vlan Tag - Set native VLAN tagging state
- switchport
Trunk numberNative Vlan Vlan Id - VLAN ID of the native VLAN when this port is in trunking mode
- switchport
Voice numberVlan - Vlan for voice traffic
- template
Name string - Template name
- device string
- A device name from the provider configuration.
- access_
session_ boolclosed - Enable closed access on port (disabled by default, i.e. open access)
- access_
session_ strcontrol_ direction - Set the control-direction on the interface
- access_
session_ strhost_ mode - Set the Host mode for authentication on this interface
- access_
session_ boolinterface_ template_ sticky - Interface templates set to sticky
- access_
session_ intinterface_ template_ sticky_ timer - Sticky timer value
- access_
session_ boolmonitor - Apply template to monitor access sessions on the port
- access_
session_ strport_ control - Set the port-control value
- authentication_
periodic bool - Enable or Disable Reauthentication for this port
- authentication_
timer_ intreauthenticate_ range - Enter a value between 1 and 65535
- authentication_
timer_ boolreauthenticate_ server - Obtain re-authentication timeout value from the server
- cts_
manual bool - Supply local configuration for CTS parameters
- cts_
manual_ intpolicy_ static_ sgt - Source Security Group Tag to apply to untagged or non-trusted incoming traffic
- cts_
manual_ boolpolicy_ static_ trusted - Trust the Source Group Tags (SGT) that the peer uses for sending
- cts_
manual_ boolpropagate_ sgt - CTS SGT Propagation configuration
- cts_
role_ boolbased_ enforcement - Enable Role-based Access Control enforcement
- device_
tracking bool - Configure device-tracking on the interface
- device_
tracking_ Sequence[Getattach_ policies Template Device Tracking Attach Policy] - policy name for device tracking
- device_
tracking_ strvlan_ range - VLAN IDs of the VLANs for which this policy applies
- dot1x_
max_ intreauth_ req - Max No. of Reauthentication Attempts
- dot1x_
max_ intreq - Max No. of Retries
- dot1x_
pae str - Set 802.1x interface pae type
- dot1x_
timeout_ inttx_ period - Timeout for supplicant retries
- id str
- The path of the retrieved object.
- ip_
access_ Sequence[Getgroups Template Ip Access Group] - Access control list for IP packets
- ip_
dhcp_ intsnooping_ limit_ rate - DHCP snooping rate limit
- ip_
dhcp_ boolsnooping_ trust - DHCP Snooping trust config
- load_
interval int - Load interval delay in seconds
- mab bool
- MAC Authentication Bypass Interface Config Commands
- mab_
eap bool - Use EAP authentication for MAC Auth Bypass
- service_
policy_ strinput - policy-map name
- service_
policy_ stroutput - policy-map name
- service_
policy_ strtype_ control_ subscriber - Apply a subscriber control policy to the interface
- source_
template str - Get config from a template
- spanning_
tree_ boolbpduguard_ enable - Enable BPDU guard for this interface
- spanning_
tree_ boolportfast - Portfast options for the interface
- spanning_
tree_ boolportfast_ disable - Disable portfast for this interface
- spanning_
tree_ boolportfast_ edge - Enable portfast edge on the interface
- spanning_
tree_ boolportfast_ network - Enable portfast network on the interface
- spanning_
tree_ boolservice_ policy - help
- storm_
control_ boolaction_ shutdown - Shutdown this interface if a storm occurs
- storm_
control_ boolaction_ trap - Send SNMP trap if a storm occurs
- storm_
control_ floatbroadcast_ level_ bps_ threshold - Enter threshold
- storm_
control_ strbroadcast_ level_ pps_ threshold - Enter threshold
- storm_
control_ floatbroadcast_ level_ threshold - Enter threshold
- storm_
control_ floatmulticast_ level_ bps_ threshold - Enter threshold
- storm_
control_ strmulticast_ level_ pps_ threshold - Enter threshold
- storm_
control_ floatmulticast_ level_ threshold - Enter threshold
- subscriber_
aging_ boolinactivity_ timer_ probe - ARP probe
- subscriber_
aging_ intinactivity_ timer_ value - Enter a value between 1 and 65535 in seconds
- subscriber_
aging_ boolprobe - ARP probe
- switchport_
access_ intvlan - VLAN ID of the VLAN when this port is in access mode
- switchport_
block_ boolunicast - Block unknown unicast addresses
- switchport_
mode_ boolaccess - Set trunking mode to ACCESS unconditionally
- switchport_
mode_ booltrunk - Set trunking mode to TRUNK unconditionally
- switchport_
nonegotiate bool - Device will not engage in negotiation protocol on this interface
- switchport_
port_ boolsecurity - Security related command
- switchport_
port_ boolsecurity_ aging_ static - Enable aging for configured secure addresses
- switchport_
port_ intsecurity_ aging_ time - Port-security aging time
- switchport_
port_ boolsecurity_ aging_ type - Port-security aging type
- switchport_
port_ boolsecurity_ aging_ type_ inactivity - Aging based on inactivity time period
- switchport_
port_ Sequence[Getsecurity_ maximum_ ranges Template Switchport Port Security Maximum Range] - switchport_
port_ boolsecurity_ violation_ protect - Security violation protect mode
- switchport_
port_ boolsecurity_ violation_ restrict - Security violation restrict mode
- switchport_
port_ boolsecurity_ violation_ shutdown - Security violation shutdown mode
- switchport_
private_ intvlan_ host_ association_ primary_ range - Primary normal range VLAN ID of the private VLAN port association
- switchport_
private_ intvlan_ host_ association_ secondary_ range - Secondary normal range VLAN ID of the private VLAN host port association
- switchport_
trunk_ strallowed_ vlans - VLAN IDs of the allowed VLANs when this port is in trunking mode
- switchport_
trunk_ boolallowed_ vlans_ all - all VLANs
- switchport_
trunk_ boolallowed_ vlans_ none - no VLANs
- switchport_
trunk_ boolnative_ vlan_ tag - Set native VLAN tagging state
- switchport_
trunk_ intnative_ vlan_ vlan_ id - VLAN ID of the native VLAN when this port is in trunking mode
- switchport_
voice_ intvlan - Vlan for voice traffic
- template_
name str - Template name
- device str
- A device name from the provider configuration.
- access
Session BooleanClosed - Enable closed access on port (disabled by default, i.e. open access)
- access
Session StringControl Direction - Set the control-direction on the interface
- access
Session StringHost Mode - Set the Host mode for authentication on this interface
- access
Session BooleanInterface Template Sticky - Interface templates set to sticky
- access
Session NumberInterface Template Sticky Timer - Sticky timer value
- access
Session BooleanMonitor - Apply template to monitor access sessions on the port
- access
Session StringPort Control - Set the port-control value
- authentication
Periodic Boolean - Enable or Disable Reauthentication for this port
- authentication
Timer NumberReauthenticate Range - Enter a value between 1 and 65535
- authentication
Timer BooleanReauthenticate Server - Obtain re-authentication timeout value from the server
- cts
Manual Boolean - Supply local configuration for CTS parameters
- cts
Manual NumberPolicy Static Sgt - Source Security Group Tag to apply to untagged or non-trusted incoming traffic
- cts
Manual BooleanPolicy Static Trusted - Trust the Source Group Tags (SGT) that the peer uses for sending
- cts
Manual BooleanPropagate Sgt - CTS SGT Propagation configuration
- cts
Role BooleanBased Enforcement - Enable Role-based Access Control enforcement
- device
Tracking Boolean - Configure device-tracking on the interface
- device
Tracking List<Property Map>Attach Policies - policy name for device tracking
- device
Tracking StringVlan Range - VLAN IDs of the VLANs for which this policy applies
- dot1x
Max NumberReauth Req - Max No. of Reauthentication Attempts
- dot1x
Max NumberReq - Max No. of Retries
- dot1x
Pae String - Set 802.1x interface pae type
- dot1x
Timeout NumberTx Period - Timeout for supplicant retries
- id String
- The path of the retrieved object.
- ip
Access List<Property Map>Groups - Access control list for IP packets
- ip
Dhcp NumberSnooping Limit Rate - DHCP snooping rate limit
- ip
Dhcp BooleanSnooping Trust - DHCP Snooping trust config
- load
Interval Number - Load interval delay in seconds
- mab Boolean
- MAC Authentication Bypass Interface Config Commands
- mab
Eap Boolean - Use EAP authentication for MAC Auth Bypass
- service
Policy StringInput - policy-map name
- service
Policy StringOutput - policy-map name
- service
Policy StringType Control Subscriber - Apply a subscriber control policy to the interface
- source
Template String - Get config from a template
- spanning
Tree BooleanBpduguard Enable - Enable BPDU guard for this interface
- spanning
Tree BooleanPortfast - Portfast options for the interface
- spanning
Tree BooleanPortfast Disable - Disable portfast for this interface
- spanning
Tree BooleanPortfast Edge - Enable portfast edge on the interface
- spanning
Tree BooleanPortfast Network - Enable portfast network on the interface
- spanning
Tree BooleanService Policy - help
- storm
Control BooleanAction Shutdown - Shutdown this interface if a storm occurs
- storm
Control BooleanAction Trap - Send SNMP trap if a storm occurs
- storm
Control NumberBroadcast Level Bps Threshold - Enter threshold
- storm
Control StringBroadcast Level Pps Threshold - Enter threshold
- storm
Control NumberBroadcast Level Threshold - Enter threshold
- storm
Control NumberMulticast Level Bps Threshold - Enter threshold
- storm
Control StringMulticast Level Pps Threshold - Enter threshold
- storm
Control NumberMulticast Level Threshold - Enter threshold
- subscriber
Aging BooleanInactivity Timer Probe - ARP probe
- subscriber
Aging NumberInactivity Timer Value - Enter a value between 1 and 65535 in seconds
- subscriber
Aging BooleanProbe - ARP probe
- switchport
Access NumberVlan - VLAN ID of the VLAN when this port is in access mode
- switchport
Block BooleanUnicast - Block unknown unicast addresses
- switchport
Mode BooleanAccess - Set trunking mode to ACCESS unconditionally
- switchport
Mode BooleanTrunk - Set trunking mode to TRUNK unconditionally
- switchport
Nonegotiate Boolean - Device will not engage in negotiation protocol on this interface
- switchport
Port BooleanSecurity - Security related command
- switchport
Port BooleanSecurity Aging Static - Enable aging for configured secure addresses
- switchport
Port NumberSecurity Aging Time - Port-security aging time
- switchport
Port BooleanSecurity Aging Type - Port-security aging type
- switchport
Port BooleanSecurity Aging Type Inactivity - Aging based on inactivity time period
- switchport
Port List<Property Map>Security Maximum Ranges - switchport
Port BooleanSecurity Violation Protect - Security violation protect mode
- switchport
Port BooleanSecurity Violation Restrict - Security violation restrict mode
- switchport
Port BooleanSecurity Violation Shutdown - Security violation shutdown mode
- switchport
Private NumberVlan Host Association Primary Range - Primary normal range VLAN ID of the private VLAN port association
- switchport
Private NumberVlan Host Association Secondary Range - Secondary normal range VLAN ID of the private VLAN host port association
- switchport
Trunk StringAllowed Vlans - VLAN IDs of the allowed VLANs when this port is in trunking mode
- switchport
Trunk BooleanAllowed Vlans All - all VLANs
- switchport
Trunk BooleanAllowed Vlans None - no VLANs
- switchport
Trunk BooleanNative Vlan Tag - Set native VLAN tagging state
- switchport
Trunk NumberNative Vlan Vlan Id - VLAN ID of the native VLAN when this port is in trunking mode
- switchport
Voice NumberVlan - Vlan for voice traffic
- template
Name String - Template name
- device String
- A device name from the provider configuration.
Supporting Types
GetTemplateDeviceTrackingAttachPolicy
- Policy
Name string - Vlan
Range string - VLAN IDs of the VLANs for which this policy applies
- Policy
Name string - Vlan
Range string - VLAN IDs of the VLANs for which this policy applies
- policy
Name String - vlan
Range String - VLAN IDs of the VLANs for which this policy applies
- policy
Name string - vlan
Range string - VLAN IDs of the VLANs for which this policy applies
- policy_
name str - vlan_
range str - VLAN IDs of the VLANs for which this policy applies
- policy
Name String - vlan
Range String - VLAN IDs of the VLANs for which this policy applies
GetTemplateIpAccessGroup
- Access
List string - Access control list name
- Direction string
- packet flow direction
- Access
List string - Access control list name
- Direction string
- packet flow direction
- access
List String - Access control list name
- direction String
- packet flow direction
- access
List string - Access control list name
- direction string
- packet flow direction
- access_
list str - Access control list name
- direction str
- packet flow direction
- access
List String - Access control list name
- direction String
- packet flow direction
GetTemplateSwitchportPortSecurityMaximumRange
- Range int
- Maximum addresses
- Vlan bool
- Max secure addresses per vlan
- Vlan
Access bool - access vlan
- Range int
- Maximum addresses
- Vlan bool
- Max secure addresses per vlan
- Vlan
Access bool - access vlan
- range Integer
- Maximum addresses
- vlan Boolean
- Max secure addresses per vlan
- vlan
Access Boolean - access vlan
- range number
- Maximum addresses
- vlan boolean
- Max secure addresses per vlan
- vlan
Access boolean - access vlan
- range int
- Maximum addresses
- vlan bool
- Max secure addresses per vlan
- vlan_
access bool - access vlan
- range Number
- Maximum addresses
- vlan Boolean
- Max secure addresses per vlan
- vlan
Access Boolean - access vlan
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.