1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. getTemplate
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.getTemplate

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    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:

    TemplateName string
    Template name
    Device string
    A device name from the provider configuration.
    TemplateName string
    Template name
    Device string
    A device name from the provider configuration.
    templateName String
    Template name
    device String
    A device name from the provider configuration.
    templateName 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.
    templateName String
    Template name
    device String
    A device name from the provider configuration.

    getTemplate Result

    The following output properties are available:

    AccessSessionClosed bool
    Enable closed access on port (disabled by default, i.e. open access)
    AccessSessionControlDirection string
    Set the control-direction on the interface
    AccessSessionHostMode string
    Set the Host mode for authentication on this interface
    AccessSessionInterfaceTemplateSticky bool
    Interface templates set to sticky
    AccessSessionInterfaceTemplateStickyTimer int
    Sticky timer value
    AccessSessionMonitor bool
    Apply template to monitor access sessions on the port
    AccessSessionPortControl string
    Set the port-control value
    AuthenticationPeriodic bool
    Enable or Disable Reauthentication for this port
    AuthenticationTimerReauthenticateRange int
    Enter a value between 1 and 65535
    AuthenticationTimerReauthenticateServer bool
    Obtain re-authentication timeout value from the server
    CtsManual bool
    Supply local configuration for CTS parameters
    CtsManualPolicyStaticSgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic
    CtsManualPolicyStaticTrusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    CtsManualPropagateSgt bool
    CTS SGT Propagation configuration
    CtsRoleBasedEnforcement bool
    Enable Role-based Access Control enforcement
    DeviceTracking bool
    Configure device-tracking on the interface
    DeviceTrackingAttachPolicies List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetTemplateDeviceTrackingAttachPolicy>
    policy name for device tracking
    DeviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    Dot1xMaxReauthReq int
    Max No. of Reauthentication Attempts
    Dot1xMaxReq int
    Max No. of Retries
    Dot1xPae string
    Set 802.1x interface pae type
    Dot1xTimeoutTxPeriod int
    Timeout for supplicant retries
    Id string
    The path of the retrieved object.
    IpAccessGroups List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetTemplateIpAccessGroup>
    Access control list for IP packets
    IpDhcpSnoopingLimitRate int
    DHCP snooping rate limit
    IpDhcpSnoopingTrust bool
    DHCP Snooping trust config
    LoadInterval int
    Load interval delay in seconds
    Mab bool
    MAC Authentication Bypass Interface Config Commands
    MabEap bool
    Use EAP authentication for MAC Auth Bypass
    ServicePolicyInput string
    policy-map name
    ServicePolicyOutput string
    policy-map name
    ServicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    SourceTemplate string
    Get config from a template
    SpanningTreeBpduguardEnable bool
    Enable BPDU guard for this interface
    SpanningTreePortfast bool
    Portfast options for the interface
    SpanningTreePortfastDisable bool
    Disable portfast for this interface
    SpanningTreePortfastEdge bool
    Enable portfast edge on the interface
    SpanningTreePortfastNetwork bool
    Enable portfast network on the interface
    SpanningTreeServicePolicy bool
    help
    StormControlActionShutdown bool
    Shutdown this interface if a storm occurs
    StormControlActionTrap bool
    Send SNMP trap if a storm occurs
    StormControlBroadcastLevelBpsThreshold double
    Enter threshold
    StormControlBroadcastLevelPpsThreshold string
    Enter threshold
    StormControlBroadcastLevelThreshold double
    Enter threshold
    StormControlMulticastLevelBpsThreshold double
    Enter threshold
    StormControlMulticastLevelPpsThreshold string
    Enter threshold
    StormControlMulticastLevelThreshold double
    Enter threshold
    SubscriberAgingInactivityTimerProbe bool
    ARP probe
    SubscriberAgingInactivityTimerValue int
    Enter a value between 1 and 65535 in seconds
    SubscriberAgingProbe bool
    ARP probe
    SwitchportAccessVlan int
    VLAN ID of the VLAN when this port is in access mode
    SwitchportBlockUnicast bool
    Block unknown unicast addresses
    SwitchportModeAccess bool
    Set trunking mode to ACCESS unconditionally
    SwitchportModeTrunk bool
    Set trunking mode to TRUNK unconditionally
    SwitchportNonegotiate bool
    Device will not engage in negotiation protocol on this interface
    SwitchportPortSecurity bool
    Security related command
    SwitchportPortSecurityAgingStatic bool
    Enable aging for configured secure addresses
    SwitchportPortSecurityAgingTime int
    Port-security aging time
    SwitchportPortSecurityAgingType bool
    Port-security aging type
    SwitchportPortSecurityAgingTypeInactivity bool
    Aging based on inactivity time period
    SwitchportPortSecurityMaximumRanges List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetTemplateSwitchportPortSecurityMaximumRange>
    SwitchportPortSecurityViolationProtect bool
    Security violation protect mode
    SwitchportPortSecurityViolationRestrict bool
    Security violation restrict mode
    SwitchportPortSecurityViolationShutdown bool
    Security violation shutdown mode
    SwitchportPrivateVlanHostAssociationPrimaryRange int
    Primary normal range VLAN ID of the private VLAN port association
    SwitchportPrivateVlanHostAssociationSecondaryRange int
    Secondary normal range VLAN ID of the private VLAN host port association
    SwitchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    SwitchportTrunkAllowedVlansAll bool
    all VLANs
    SwitchportTrunkAllowedVlansNone bool
    no VLANs
    SwitchportTrunkNativeVlanTag bool
    Set native VLAN tagging state
    SwitchportTrunkNativeVlanVlanId int
    VLAN ID of the native VLAN when this port is in trunking mode
    SwitchportVoiceVlan int
    Vlan for voice traffic
    TemplateName string
    Template name
    Device string
    A device name from the provider configuration.
    AccessSessionClosed bool
    Enable closed access on port (disabled by default, i.e. open access)
    AccessSessionControlDirection string
    Set the control-direction on the interface
    AccessSessionHostMode string
    Set the Host mode for authentication on this interface
    AccessSessionInterfaceTemplateSticky bool
    Interface templates set to sticky
    AccessSessionInterfaceTemplateStickyTimer int
    Sticky timer value
    AccessSessionMonitor bool
    Apply template to monitor access sessions on the port
    AccessSessionPortControl string
    Set the port-control value
    AuthenticationPeriodic bool
    Enable or Disable Reauthentication for this port
    AuthenticationTimerReauthenticateRange int
    Enter a value between 1 and 65535
    AuthenticationTimerReauthenticateServer bool
    Obtain re-authentication timeout value from the server
    CtsManual bool
    Supply local configuration for CTS parameters
    CtsManualPolicyStaticSgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic
    CtsManualPolicyStaticTrusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    CtsManualPropagateSgt bool
    CTS SGT Propagation configuration
    CtsRoleBasedEnforcement bool
    Enable Role-based Access Control enforcement
    DeviceTracking bool
    Configure device-tracking on the interface
    DeviceTrackingAttachPolicies []GetTemplateDeviceTrackingAttachPolicy
    policy name for device tracking
    DeviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    Dot1xMaxReauthReq int
    Max No. of Reauthentication Attempts
    Dot1xMaxReq int
    Max No. of Retries
    Dot1xPae string
    Set 802.1x interface pae type
    Dot1xTimeoutTxPeriod int
    Timeout for supplicant retries
    Id string
    The path of the retrieved object.
    IpAccessGroups []GetTemplateIpAccessGroup
    Access control list for IP packets
    IpDhcpSnoopingLimitRate int
    DHCP snooping rate limit
    IpDhcpSnoopingTrust bool
    DHCP Snooping trust config
    LoadInterval int
    Load interval delay in seconds
    Mab bool
    MAC Authentication Bypass Interface Config Commands
    MabEap bool
    Use EAP authentication for MAC Auth Bypass
    ServicePolicyInput string
    policy-map name
    ServicePolicyOutput string
    policy-map name
    ServicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    SourceTemplate string
    Get config from a template
    SpanningTreeBpduguardEnable bool
    Enable BPDU guard for this interface
    SpanningTreePortfast bool
    Portfast options for the interface
    SpanningTreePortfastDisable bool
    Disable portfast for this interface
    SpanningTreePortfastEdge bool
    Enable portfast edge on the interface
    SpanningTreePortfastNetwork bool
    Enable portfast network on the interface
    SpanningTreeServicePolicy bool
    help
    StormControlActionShutdown bool
    Shutdown this interface if a storm occurs
    StormControlActionTrap bool
    Send SNMP trap if a storm occurs
    StormControlBroadcastLevelBpsThreshold float64
    Enter threshold
    StormControlBroadcastLevelPpsThreshold string
    Enter threshold
    StormControlBroadcastLevelThreshold float64
    Enter threshold
    StormControlMulticastLevelBpsThreshold float64
    Enter threshold
    StormControlMulticastLevelPpsThreshold string
    Enter threshold
    StormControlMulticastLevelThreshold float64
    Enter threshold
    SubscriberAgingInactivityTimerProbe bool
    ARP probe
    SubscriberAgingInactivityTimerValue int
    Enter a value between 1 and 65535 in seconds
    SubscriberAgingProbe bool
    ARP probe
    SwitchportAccessVlan int
    VLAN ID of the VLAN when this port is in access mode
    SwitchportBlockUnicast bool
    Block unknown unicast addresses
    SwitchportModeAccess bool
    Set trunking mode to ACCESS unconditionally
    SwitchportModeTrunk bool
    Set trunking mode to TRUNK unconditionally
    SwitchportNonegotiate bool
    Device will not engage in negotiation protocol on this interface
    SwitchportPortSecurity bool
    Security related command
    SwitchportPortSecurityAgingStatic bool
    Enable aging for configured secure addresses
    SwitchportPortSecurityAgingTime int
    Port-security aging time
    SwitchportPortSecurityAgingType bool
    Port-security aging type
    SwitchportPortSecurityAgingTypeInactivity bool
    Aging based on inactivity time period
    SwitchportPortSecurityMaximumRanges []GetTemplateSwitchportPortSecurityMaximumRange
    SwitchportPortSecurityViolationProtect bool
    Security violation protect mode
    SwitchportPortSecurityViolationRestrict bool
    Security violation restrict mode
    SwitchportPortSecurityViolationShutdown bool
    Security violation shutdown mode
    SwitchportPrivateVlanHostAssociationPrimaryRange int
    Primary normal range VLAN ID of the private VLAN port association
    SwitchportPrivateVlanHostAssociationSecondaryRange int
    Secondary normal range VLAN ID of the private VLAN host port association
    SwitchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    SwitchportTrunkAllowedVlansAll bool
    all VLANs
    SwitchportTrunkAllowedVlansNone bool
    no VLANs
    SwitchportTrunkNativeVlanTag bool
    Set native VLAN tagging state
    SwitchportTrunkNativeVlanVlanId int
    VLAN ID of the native VLAN when this port is in trunking mode
    SwitchportVoiceVlan int
    Vlan for voice traffic
    TemplateName string
    Template name
    Device string
    A device name from the provider configuration.
    accessSessionClosed Boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection String
    Set the control-direction on the interface
    accessSessionHostMode String
    Set the Host mode for authentication on this interface
    accessSessionInterfaceTemplateSticky Boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer Integer
    Sticky timer value
    accessSessionMonitor Boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl String
    Set the port-control value
    authenticationPeriodic Boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange Integer
    Enter a value between 1 and 65535
    authenticationTimerReauthenticateServer Boolean
    Obtain re-authentication timeout value from the server
    ctsManual Boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt Integer
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic
    ctsManualPolicyStaticTrusted Boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt Boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement Boolean
    Enable Role-based Access Control enforcement
    deviceTracking Boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies List<GetTemplateDeviceTrackingAttachPolicy>
    policy name for device tracking
    deviceTrackingVlanRange String
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq Integer
    Max No. of Reauthentication Attempts
    dot1xMaxReq Integer
    Max No. of Retries
    dot1xPae String
    Set 802.1x interface pae type
    dot1xTimeoutTxPeriod Integer
    Timeout for supplicant retries
    id String
    The path of the retrieved object.
    ipAccessGroups List<GetTemplateIpAccessGroup>
    Access control list for IP packets
    ipDhcpSnoopingLimitRate Integer
    DHCP snooping rate limit
    ipDhcpSnoopingTrust Boolean
    DHCP Snooping trust config
    loadInterval Integer
    Load interval delay in seconds
    mab Boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap Boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput String
    policy-map name
    servicePolicyOutput String
    policy-map name
    servicePolicyTypeControlSubscriber String
    Apply a subscriber control policy to the interface
    sourceTemplate String
    Get config from a template
    spanningTreeBpduguardEnable Boolean
    Enable BPDU guard for this interface
    spanningTreePortfast Boolean
    Portfast options for the interface
    spanningTreePortfastDisable Boolean
    Disable portfast for this interface
    spanningTreePortfastEdge Boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork Boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy Boolean
    help
    stormControlActionShutdown Boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap Boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold Double
    Enter threshold
    stormControlBroadcastLevelPpsThreshold String
    Enter threshold
    stormControlBroadcastLevelThreshold Double
    Enter threshold
    stormControlMulticastLevelBpsThreshold Double
    Enter threshold
    stormControlMulticastLevelPpsThreshold String
    Enter threshold
    stormControlMulticastLevelThreshold Double
    Enter threshold
    subscriberAgingInactivityTimerProbe Boolean
    ARP probe
    subscriberAgingInactivityTimerValue Integer
    Enter a value between 1 and 65535 in seconds
    subscriberAgingProbe Boolean
    ARP probe
    switchportAccessVlan Integer
    VLAN ID of the VLAN when this port is in access mode
    switchportBlockUnicast Boolean
    Block unknown unicast addresses
    switchportModeAccess Boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk Boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate Boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity Boolean
    Security related command
    switchportPortSecurityAgingStatic Boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime Integer
    Port-security aging time
    switchportPortSecurityAgingType Boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity Boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges List<GetTemplateSwitchportPortSecurityMaximumRange>
    switchportPortSecurityViolationProtect Boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict Boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown Boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange Integer
    Primary normal range VLAN ID of the private VLAN port association
    switchportPrivateVlanHostAssociationSecondaryRange Integer
    Secondary normal range VLAN ID of the private VLAN host port association
    switchportTrunkAllowedVlans String
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll Boolean
    all VLANs
    switchportTrunkAllowedVlansNone Boolean
    no VLANs
    switchportTrunkNativeVlanTag Boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId Integer
    VLAN ID of the native VLAN when this port is in trunking mode
    switchportVoiceVlan Integer
    Vlan for voice traffic
    templateName String
    Template name
    device String
    A device name from the provider configuration.
    accessSessionClosed boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection string
    Set the control-direction on the interface
    accessSessionHostMode string
    Set the Host mode for authentication on this interface
    accessSessionInterfaceTemplateSticky boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer number
    Sticky timer value
    accessSessionMonitor boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl string
    Set the port-control value
    authenticationPeriodic boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange number
    Enter a value between 1 and 65535
    authenticationTimerReauthenticateServer boolean
    Obtain re-authentication timeout value from the server
    ctsManual boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt number
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic
    ctsManualPolicyStaticTrusted boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement boolean
    Enable Role-based Access Control enforcement
    deviceTracking boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies GetTemplateDeviceTrackingAttachPolicy[]
    policy name for device tracking
    deviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq number
    Max No. of Reauthentication Attempts
    dot1xMaxReq number
    Max No. of Retries
    dot1xPae string
    Set 802.1x interface pae type
    dot1xTimeoutTxPeriod number
    Timeout for supplicant retries
    id string
    The path of the retrieved object.
    ipAccessGroups GetTemplateIpAccessGroup[]
    Access control list for IP packets
    ipDhcpSnoopingLimitRate number
    DHCP snooping rate limit
    ipDhcpSnoopingTrust boolean
    DHCP Snooping trust config
    loadInterval number
    Load interval delay in seconds
    mab boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput string
    policy-map name
    servicePolicyOutput string
    policy-map name
    servicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    sourceTemplate string
    Get config from a template
    spanningTreeBpduguardEnable boolean
    Enable BPDU guard for this interface
    spanningTreePortfast boolean
    Portfast options for the interface
    spanningTreePortfastDisable boolean
    Disable portfast for this interface
    spanningTreePortfastEdge boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy boolean
    help
    stormControlActionShutdown boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold number
    Enter threshold
    stormControlBroadcastLevelPpsThreshold string
    Enter threshold
    stormControlBroadcastLevelThreshold number
    Enter threshold
    stormControlMulticastLevelBpsThreshold number
    Enter threshold
    stormControlMulticastLevelPpsThreshold string
    Enter threshold
    stormControlMulticastLevelThreshold number
    Enter threshold
    subscriberAgingInactivityTimerProbe boolean
    ARP probe
    subscriberAgingInactivityTimerValue number
    Enter a value between 1 and 65535 in seconds
    subscriberAgingProbe boolean
    ARP probe
    switchportAccessVlan number
    VLAN ID of the VLAN when this port is in access mode
    switchportBlockUnicast boolean
    Block unknown unicast addresses
    switchportModeAccess boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity boolean
    Security related command
    switchportPortSecurityAgingStatic boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime number
    Port-security aging time
    switchportPortSecurityAgingType boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges GetTemplateSwitchportPortSecurityMaximumRange[]
    switchportPortSecurityViolationProtect boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange number
    Primary normal range VLAN ID of the private VLAN port association
    switchportPrivateVlanHostAssociationSecondaryRange number
    Secondary normal range VLAN ID of the private VLAN host port association
    switchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll boolean
    all VLANs
    switchportTrunkAllowedVlansNone boolean
    no VLANs
    switchportTrunkNativeVlanTag boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId number
    VLAN ID of the native VLAN when this port is in trunking mode
    switchportVoiceVlan number
    Vlan for voice traffic
    templateName string
    Template name
    device string
    A device name from the provider configuration.
    access_session_closed bool
    Enable closed access on port (disabled by default, i.e. open access)
    access_session_control_direction str
    Set the control-direction on the interface
    access_session_host_mode str
    Set the Host mode for authentication on this interface
    access_session_interface_template_sticky bool
    Interface templates set to sticky
    access_session_interface_template_sticky_timer int
    Sticky timer value
    access_session_monitor bool
    Apply template to monitor access sessions on the port
    access_session_port_control str
    Set the port-control value
    authentication_periodic bool
    Enable or Disable Reauthentication for this port
    authentication_timer_reauthenticate_range int
    Enter a value between 1 and 65535
    authentication_timer_reauthenticate_server bool
    Obtain re-authentication timeout value from the server
    cts_manual bool
    Supply local configuration for CTS parameters
    cts_manual_policy_static_sgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic
    cts_manual_policy_static_trusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    cts_manual_propagate_sgt bool
    CTS SGT Propagation configuration
    cts_role_based_enforcement bool
    Enable Role-based Access Control enforcement
    device_tracking bool
    Configure device-tracking on the interface
    device_tracking_attach_policies Sequence[GetTemplateDeviceTrackingAttachPolicy]
    policy name for device tracking
    device_tracking_vlan_range str
    VLAN IDs of the VLANs for which this policy applies
    dot1x_max_reauth_req int
    Max No. of Reauthentication Attempts
    dot1x_max_req int
    Max No. of Retries
    dot1x_pae str
    Set 802.1x interface pae type
    dot1x_timeout_tx_period int
    Timeout for supplicant retries
    id str
    The path of the retrieved object.
    ip_access_groups Sequence[GetTemplateIpAccessGroup]
    Access control list for IP packets
    ip_dhcp_snooping_limit_rate int
    DHCP snooping rate limit
    ip_dhcp_snooping_trust bool
    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_input str
    policy-map name
    service_policy_output str
    policy-map name
    service_policy_type_control_subscriber str
    Apply a subscriber control policy to the interface
    source_template str
    Get config from a template
    spanning_tree_bpduguard_enable bool
    Enable BPDU guard for this interface
    spanning_tree_portfast bool
    Portfast options for the interface
    spanning_tree_portfast_disable bool
    Disable portfast for this interface
    spanning_tree_portfast_edge bool
    Enable portfast edge on the interface
    spanning_tree_portfast_network bool
    Enable portfast network on the interface
    spanning_tree_service_policy bool
    help
    storm_control_action_shutdown bool
    Shutdown this interface if a storm occurs
    storm_control_action_trap bool
    Send SNMP trap if a storm occurs
    storm_control_broadcast_level_bps_threshold float
    Enter threshold
    storm_control_broadcast_level_pps_threshold str
    Enter threshold
    storm_control_broadcast_level_threshold float
    Enter threshold
    storm_control_multicast_level_bps_threshold float
    Enter threshold
    storm_control_multicast_level_pps_threshold str
    Enter threshold
    storm_control_multicast_level_threshold float
    Enter threshold
    subscriber_aging_inactivity_timer_probe bool
    ARP probe
    subscriber_aging_inactivity_timer_value int
    Enter a value between 1 and 65535 in seconds
    subscriber_aging_probe bool
    ARP probe
    switchport_access_vlan int
    VLAN ID of the VLAN when this port is in access mode
    switchport_block_unicast bool
    Block unknown unicast addresses
    switchport_mode_access bool
    Set trunking mode to ACCESS unconditionally
    switchport_mode_trunk bool
    Set trunking mode to TRUNK unconditionally
    switchport_nonegotiate bool
    Device will not engage in negotiation protocol on this interface
    switchport_port_security bool
    Security related command
    switchport_port_security_aging_static bool
    Enable aging for configured secure addresses
    switchport_port_security_aging_time int
    Port-security aging time
    switchport_port_security_aging_type bool
    Port-security aging type
    switchport_port_security_aging_type_inactivity bool
    Aging based on inactivity time period
    switchport_port_security_maximum_ranges Sequence[GetTemplateSwitchportPortSecurityMaximumRange]
    switchport_port_security_violation_protect bool
    Security violation protect mode
    switchport_port_security_violation_restrict bool
    Security violation restrict mode
    switchport_port_security_violation_shutdown bool
    Security violation shutdown mode
    switchport_private_vlan_host_association_primary_range int
    Primary normal range VLAN ID of the private VLAN port association
    switchport_private_vlan_host_association_secondary_range int
    Secondary normal range VLAN ID of the private VLAN host port association
    switchport_trunk_allowed_vlans str
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchport_trunk_allowed_vlans_all bool
    all VLANs
    switchport_trunk_allowed_vlans_none bool
    no VLANs
    switchport_trunk_native_vlan_tag bool
    Set native VLAN tagging state
    switchport_trunk_native_vlan_vlan_id int
    VLAN ID of the native VLAN when this port is in trunking mode
    switchport_voice_vlan int
    Vlan for voice traffic
    template_name str
    Template name
    device str
    A device name from the provider configuration.
    accessSessionClosed Boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection String
    Set the control-direction on the interface
    accessSessionHostMode String
    Set the Host mode for authentication on this interface
    accessSessionInterfaceTemplateSticky Boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer Number
    Sticky timer value
    accessSessionMonitor Boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl String
    Set the port-control value
    authenticationPeriodic Boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange Number
    Enter a value between 1 and 65535
    authenticationTimerReauthenticateServer Boolean
    Obtain re-authentication timeout value from the server
    ctsManual Boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt Number
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic
    ctsManualPolicyStaticTrusted Boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt Boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement Boolean
    Enable Role-based Access Control enforcement
    deviceTracking Boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies List<Property Map>
    policy name for device tracking
    deviceTrackingVlanRange String
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq Number
    Max No. of Reauthentication Attempts
    dot1xMaxReq Number
    Max No. of Retries
    dot1xPae String
    Set 802.1x interface pae type
    dot1xTimeoutTxPeriod Number
    Timeout for supplicant retries
    id String
    The path of the retrieved object.
    ipAccessGroups List<Property Map>
    Access control list for IP packets
    ipDhcpSnoopingLimitRate Number
    DHCP snooping rate limit
    ipDhcpSnoopingTrust Boolean
    DHCP Snooping trust config
    loadInterval Number
    Load interval delay in seconds
    mab Boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap Boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput String
    policy-map name
    servicePolicyOutput String
    policy-map name
    servicePolicyTypeControlSubscriber String
    Apply a subscriber control policy to the interface
    sourceTemplate String
    Get config from a template
    spanningTreeBpduguardEnable Boolean
    Enable BPDU guard for this interface
    spanningTreePortfast Boolean
    Portfast options for the interface
    spanningTreePortfastDisable Boolean
    Disable portfast for this interface
    spanningTreePortfastEdge Boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork Boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy Boolean
    help
    stormControlActionShutdown Boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap Boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold Number
    Enter threshold
    stormControlBroadcastLevelPpsThreshold String
    Enter threshold
    stormControlBroadcastLevelThreshold Number
    Enter threshold
    stormControlMulticastLevelBpsThreshold Number
    Enter threshold
    stormControlMulticastLevelPpsThreshold String
    Enter threshold
    stormControlMulticastLevelThreshold Number
    Enter threshold
    subscriberAgingInactivityTimerProbe Boolean
    ARP probe
    subscriberAgingInactivityTimerValue Number
    Enter a value between 1 and 65535 in seconds
    subscriberAgingProbe Boolean
    ARP probe
    switchportAccessVlan Number
    VLAN ID of the VLAN when this port is in access mode
    switchportBlockUnicast Boolean
    Block unknown unicast addresses
    switchportModeAccess Boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk Boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate Boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity Boolean
    Security related command
    switchportPortSecurityAgingStatic Boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime Number
    Port-security aging time
    switchportPortSecurityAgingType Boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity Boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges List<Property Map>
    switchportPortSecurityViolationProtect Boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict Boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown Boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange Number
    Primary normal range VLAN ID of the private VLAN port association
    switchportPrivateVlanHostAssociationSecondaryRange Number
    Secondary normal range VLAN ID of the private VLAN host port association
    switchportTrunkAllowedVlans String
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll Boolean
    all VLANs
    switchportTrunkAllowedVlansNone Boolean
    no VLANs
    switchportTrunkNativeVlanTag Boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId Number
    VLAN ID of the native VLAN when this port is in trunking mode
    switchportVoiceVlan Number
    Vlan for voice traffic
    templateName String
    Template name
    device String
    A device name from the provider configuration.

    Supporting Types

    GetTemplateDeviceTrackingAttachPolicy

    PolicyName string
    VlanRange string
    VLAN IDs of the VLANs for which this policy applies
    PolicyName string
    VlanRange string
    VLAN IDs of the VLANs for which this policy applies
    policyName String
    vlanRange String
    VLAN IDs of the VLANs for which this policy applies
    policyName string
    vlanRange 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
    policyName String
    vlanRange String
    VLAN IDs of the VLANs for which this policy applies

    GetTemplateIpAccessGroup

    AccessList string
    Access control list name
    Direction string
    packet flow direction
    AccessList string
    Access control list name
    Direction string
    packet flow direction
    accessList String
    Access control list name
    direction String
    packet flow direction
    accessList string
    Access control list name
    direction string
    packet flow direction
    access_list str
    Access control list name
    direction str
    packet flow direction
    accessList String
    Access control list name
    direction String
    packet flow direction

    GetTemplateSwitchportPortSecurityMaximumRange

    Range int
    Maximum addresses
    Vlan bool
    Max secure addresses per vlan
    VlanAccess bool
    access vlan
    Range int
    Maximum addresses
    Vlan bool
    Max secure addresses per vlan
    VlanAccess bool
    access vlan
    range Integer
    Maximum addresses
    vlan Boolean
    Max secure addresses per vlan
    vlanAccess Boolean
    access vlan
    range number
    Maximum addresses
    vlan boolean
    Max secure addresses per vlan
    vlanAccess 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
    vlanAccess 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.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs