# ios\_l2\_interface  network module add encapsulation

**URL:** <https://forum.ansible.com/t/ios-l2-interface-network-module-add-encapsulation/30206>\
**Category:** Ansible Project\
**Created:** [April 28, 2019, 1:02am UTC](https://forum.ansible.com/t/ios-l2-interface-network-module-add-encapsulation/30206 "2019-04-28T01:02:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Carrena](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@David\_Carrena](https://forum.ansible.com/u/David_Carrena)\
**Post date:** [April 28, 2019, 1:02am UTC](https://forum.ansible.com/t/ios-l2-interface-network-module-add-encapsulation/30206/1 "2019-04-28T01:02:55Z")

</div>

Hello Team,

Is someone able to add with this module the encapsulation of the interface before setting trunk mode?  
I think it is missing on the module.  
I would like suggest to add “encapsulation” parameter otherwise we may need jinja2 script to add it.  
Without the encpasulation command, the others trunk paramters will not pass.

Thanks  
David
