junos_config: Add VLAN trunking example (#41972)

This commit is contained in:
Jackson Isaac 2018-07-07 01:01:15 +05:30 committed by Alicia Cozine
parent 8606fb33f0
commit 0cced31795

View file

@ -157,6 +157,13 @@ EXAMPLES = """
junos_config:
zeroize: yes
- name: Set VLAN access and trunking
junos_config:
lines:
- set vlans vlan02 vlan-id 6
- set interfaces ge-0/0/6.0 family ethernet-switching interface-mode access vlan members vlan02
- set interfaces ge-0/0/6.0 family ethernet-switching interface-mode trunk vlan members vlan02
- name: confirm a previous commit
junos_config:
confirm_commit: yes