1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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