mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +00:00
junos_config: Add VLAN trunking example (#41972)
This commit is contained in:
committed by
Alicia Cozine
parent
8606fb33f0
commit
0cced31795
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user