mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 04:41:27 +00:00
junos/junos_config.py: Add RVI Example (#41867)
This commit is contained in:
committed by
Alicia Cozine
parent
0cced31795
commit
39ec12f395
@@ -149,6 +149,13 @@ EXAMPLES = """
|
||||
- set vlans vlan01 description "Test vlan"
|
||||
comment: update config
|
||||
|
||||
- name: Set routed VLAN interface (RVI) IPv4 address
|
||||
junos_config:
|
||||
lines:
|
||||
- set vlans vlan01 vlan-id 1
|
||||
- set interfaces irb unit 10 family inet address 10.0.0.1/24
|
||||
- set vlans vlan01 l3-interface irb.10
|
||||
|
||||
- name: rollback the configuration to id 10
|
||||
junos_config:
|
||||
rollback: 10
|
||||
|
||||
Reference in New Issue
Block a user