junos_config: Add VLAN trunking example (#41972)
This commit is contained in:
parent
8606fb33f0
commit
0cced31795
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue