a10_interface_trunk

Synopsis

Trunk interface

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’, ‘absent’]

State of the object to be created.

ansible_host

str/required

Host for AXAPI authentication

ansible_username

str/required

Username for AXAPI authentication

ansible_password

str/required

Password for AXAPI authentication

ansible_port

int/required

Port for AXAPI authentication

a10_device_context_id

int

[‘1-8’]

Device ID for aVCS configuration

a10_partition

str

Destination/target partition for object/command

ifnum

int/required

Trunk interface number

name

str

Name for the interface

l3_vlan_fwd_disable

bool

Disable L3 forwarding between VLANs

mtu

int

Interface mtu (Interface MTU, default 1 (min MTU is 1280 for IPv6))

ports_threshold

int

Threshold for the minimum number of ports that need to be UP for the trunk to remain UP

timer

int

Timer to re-check the threshold under certain conditions (Time in seconds (Default= 10))

use_hw_hash

bool

Enable HW based load balacing decision rule

do_auto_recovery

bool

(Only for LACP trunks) Attempt auto-recovery after ports-treshold is triggered

sync_modify_disable

bool

Disable SYNC bit modify for ports-threshold do-auto-recovery

trap_source

bool

The trap source

action

str

‘enable’= Enable; ‘disable’= Disable;

icmp_rate_limit

dict

Field icmp_rate_limit

normal

int

Normal rate limit. If exceeds this limit, drop the ICMP packet that goes over the limit

lockup

int

Enter lockup state when ICMP rate exceeds lockup rate limit (Maximum rate limit. If exceeds this limit, drop all ICMP packet for a time period)

lockup_period

int

Lockup period (second)

icmpv6_rate_limit

dict

Field icmpv6_rate_limit

normal_v6

int

Normal rate limit. If exceeds this limit, drop the ICMP packet that goes over the limit

lockup_v6

int

Enter lockup state when ICMP rate exceeds lockup rate limit (Maximum rate limit. If exceeds this limit, drop all ICMP packet for a time period)

lockup_period_v6

int

Lockup period (second)

access_list

dict

Field access_list

acl_id

int

ACL id

acl_name

str

Apply an access list (Named Access List)

virtual_wire

bool

Mark trunk as a virtual wire interface

update_l2_info

bool

Update and use received L2 information

vlan_learning

str

‘enable’= Enable VLAN learning; ‘disable’= Disable VLAN learning;

mac_learning

str

‘enable’= Enable MAC learning; ‘disable’= Disable MAC learning; ‘dmac-only’= Enable destination MAC learning only;

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

counters1

str

‘all’= all; ‘num_pkts’= some help string; ‘num_total_bytes’= some help string; ‘num_unicast_pkts’= some help string; ‘num_broadcast_pkts’= some help string; ‘num_multicast_pkts’= some help string; ‘num_tx_pkts’= some help string; ‘num_total_tx_bytes’= some help string; ‘num_unicast_tx_pkts’= some help string; ‘num_broadcast_tx_pkts’= some help string; ‘num_multicast_tx_pkts’= some help string; ‘dropped_dis_rx_pkts’= some help string; ‘dropped_rx_pkts’= some help string; ‘dropped_dis_tx_pkts’= some help string; ‘dropped_tx_pkts’= some help string;

ip

dict

Field ip

dhcp

bool

Use DHCP to configure IP address

address_list

list

Field address_list

allow_promiscuous_vip

bool

Allow traffic to be associated with promiscuous VIP

client

bool

Client facing interface for IPv4/v6 traffic

server

bool

Server facing interface for IPv4/v6 traffic

cache_spoofing_port

bool

This interface connects to spoofing cache

helper_address_list

list

Field helper_address_list

nat

dict

Field nat

ttl_ignore

bool

Ignore TTL decrement for a received packet

syn_cookie

bool

Enable SYN-cookie on the interface

slb_partition_redirect

bool

Redirect SLB traffic across partition

generate_membership_query

bool

Enable Membership Query

query_interval

int

1 - 255 (Default is 125)

max_resp_time

int

Maximum Response Time (Max Response Time (Default is 100))

uuid

str

uuid of the object

stateful_firewall

dict

Field stateful_firewall

router

dict

Field router

rip

dict

Field rip

ospf

dict

Field ospf

ipv6

dict

Field ipv6

address_list

list

Field address_list

ipv6_enable

bool

Enable IPv6 processing

access_list_cfg

dict

Field access_list_cfg

nat

dict

Field nat

ttl_ignore

bool

Ignore TTL decrement for a received packet

router_adver

dict

Field router_adver

uuid

str

uuid of the object

stateful_firewall

dict

Field stateful_firewall

router

dict

Field router

rip

dict

Field rip

ospf

dict

Field ospf

ddos

dict

Field ddos

outside

bool

DDoS inside (trusted) or outside (untrusted) interface

inside

bool

DDoS inside (trusted) or outside (untrusted) interface

uuid

str

uuid of the object

nptv6

dict

Field nptv6

domain_list

list

Field domain_list

map

dict

Field map

inside

bool

Configure MAP inside interface (connected to MAP domains)

outside

bool

Configure MAP outside interface

map_t_inside

bool

Configure MAP inside interface (connected to MAP domains)

map_t_outside

bool

Configure MAP outside interface

uuid

str

uuid of the object

lw_4o6

dict

Field lw_4o6

outside

bool

Configure LW-4over6 inside interface

inside

bool

Configure LW-4over6 outside interface

uuid

str

uuid of the object

bfd

dict

Field bfd

authentication

dict

Field authentication

echo

bool

Enable BFD Echo

demand

bool

Demand mode

interval_cfg

dict

Field interval_cfg

uuid

str

uuid of the object

isis

dict

Field isis

authentication

dict

Field authentication

bfd_cfg

dict

Field bfd_cfg

circuit_type

str

‘level-1’= Level-1 only adjacencies are formed; ‘level-1-2’= Level-1-2 adjacencies are formed; ‘level-2-only’= Level-2 only adjacencies are formed;

csnp_interval_list

list

Field csnp_interval_list

padding

bool

Add padding to IS-IS hello packets

hello_interval_list

list

Field hello_interval_list

hello_interval_minimal_list

list

Field hello_interval_minimal_list

hello_multiplier_list

list

Field hello_multiplier_list

lsp_interval

int

Set LSP transmission interval (LSP transmission interval (milliseconds))

mesh_group

dict

Field mesh_group

metric_list

list

Field metric_list

network

str

‘broadcast’= Specify IS-IS broadcast multi-access network; ‘point-to-point’= Specify IS-IS point-to-point network;

password_list

list

Field password_list

priority_list

list

Field priority_list

retransmit_interval

int

Set per-LSP retransmission interval (Interval between retransmissions of the same LSP (seconds))

wide_metric_list

list

Field wide_metric_list

uuid

str

uuid of the object

spanning_tree

dict

Field spanning_tree

auto_edge

bool

Enable auto-edge

admin_edge

bool

Enable admin-edge

instance_list

list

Field instance_list

path_cost

int

Path cost (Limit)

uuid

str

uuid of the object

oper

dict

Field oper

state

str

Field state

line_protocol

str

Field line_protocol

trunk_member

list

Field trunk_member

Hardware

str

Field Hardware

Address

str

Field Address

ipv4_address

str

IP address

ipv4_netmask

str

IP subnet mask

ipv6_link_local

str

Field ipv6_link_local

ipv6_link_local_prefix

str

Field ipv6_link_local_prefix

ipv6_link_local_type

str

Field ipv6_link_local_type

ipv6_link_local_scope

str

Field ipv6_link_local_scope

ipv4_addr_count

int

Field ipv4_addr_count

ipv4_list

list

Field ipv4_list

ipv6_addr_count

int

Field ipv6_addr_count

ipv6_list

list

Field ipv6_list

igmp_query_sent

int

Field igmp_query_sent

icmp_rate_limit_current

int

Field icmp_rate_limit_current

icmp_rate_over_limit_drop

int

Field icmp_rate_over_limit_drop

icmp6_rate_limit_current

int

Field icmp6_rate_limit_current

icmp6_rate_over_limit_drop

int

Field icmp6_rate_over_limit_drop

vlan_id

int

Field vlan_id

ip_unnumbered_oper

int

Field ip_unnumbered_oper

ip_unnumbered_enabled

int

Field ip_unnumbered_enabled

ip_unnumbered_mac_learned

int

Field ip_unnumbered_mac_learned

ip_unnumbered_peer_lla

str

Field ip_unnumbered_peer_lla

ifnum

int

Trunk interface number

stats

dict

Field stats

num_pkts

str

some help string

num_total_bytes

str

some help string

num_unicast_pkts

str

some help string

num_broadcast_pkts

str

some help string

num_multicast_pkts

str

some help string

num_tx_pkts

str

some help string

num_total_tx_bytes

str

some help string

num_unicast_tx_pkts

str

some help string

num_broadcast_tx_pkts

str

some help string

num_multicast_tx_pkts

str

some help string

dropped_dis_rx_pkts

str

some help string

dropped_rx_pkts

str

some help string

dropped_dis_tx_pkts

str

some help string

dropped_tx_pkts

str

some help string

ifnum

int

Trunk interface number

Examples


Return Values

modified_values (changed, dict, )

Values modified (or potential changes if using check_mode) as a result of task operation

axapi_calls (always, list, )

Sequential list of AXAPI calls made by the task

endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])

The AXAPI endpoint being accessed.

http_method (, str, [‘POST’, ‘GET’])

HTTP method being used by the primary task to interact with the AXAPI endpoint.

request_body (, complex, )

Params used to query the AXAPI

response_body (, complex, )

Response from the AXAPI

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • A10 Networks 2021