mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 21:24:24 -07:00
junos/junos_config.py: Add RVI Example (#41867)
This commit is contained in:
parent
0cced31795
commit
39ec12f395
1 changed files with 7 additions and 0 deletions
|
@ -149,6 +149,13 @@ EXAMPLES = """
|
||||||
- set vlans vlan01 description "Test vlan"
|
- set vlans vlan01 description "Test vlan"
|
||||||
comment: update config
|
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
|
- name: rollback the configuration to id 10
|
||||||
junos_config:
|
junos_config:
|
||||||
rollback: 10
|
rollback: 10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue