Specifies the VLAN binding to a BD(Bridge Domain). The value is an integer ranging ranging from 1 to 4094.
bridge_domain_id
-
Specifies a bridge domain ID. The value is an integer ranging from 1 to 16777215.
ce_vid
-
When encapsulation is 'dot1q', specifies a VLAN ID in the outer VLAN tag. When encapsulation is 'qinq', specifies an outer VLAN ID for double-tagged packets to be received by a Layer 2 sub-interface. The value is an integer ranging from 1 to 4094.
encapsulation
-
Choices:
dot1q
default
untag
qinq
none
Specifies an encapsulation type of packets allowed to pass through a Layer 2 sub-interface.
l2_sub_interface
-
Specifies an Sub-Interface full name, i.e. "10GE1/0/41.1". The value is a string of 1 to 63 case-insensitive characters, spaces supported.
pe_vid
-
When encapsulation is 'qinq', specifies an inner VLAN ID for double-tagged packets to be received by a Layer 2 sub-interface. The value is an integer ranging from 1 to 4094.
state
-
Choices:
present ←
absent
Determines whether the config should be present or not on the device.
-name:vxlan vap module testhosts:ce128connection:localgather_facts:novars:cli:host:"{{inventory_hostname}}"port:"{{ansible_ssh_port}}"username:"{{username}}"password:"{{password}}"transport:clitasks:-name:Create a mapping between a VLAN and a BDce_vxlan_vap:bridge_domain_id:100bind_vlan_id:99provider:"{{cli}}"-name:Bind a Layer 2 sub-interface to a BDce_vxlan_vap:bridge_domain_id:100l2_sub_interface:10GE2/0/20.1provider:"{{cli}}"-name:Configure an encapsulation type on a Layer 2 sub-interfacece_vxlan_vap:l2_sub_interface:10GE2/0/20.1encapsulation:dot1qprovider:"{{cli}}"