junos/junos_config.py: Add RVI Example (#41867)

pull/42433/head
Jackson Isaac 6 years ago 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

Loading…
Cancel
Save