Add examples (#58819)
* Add examples to the ios_vlan docs: vlan using aggregate and move vlan interface example
This commit is contained in:
parent
6a5bc5f206
commit
5689cc08ce
1 changed files with 13 additions and 0 deletions
|
@ -85,6 +85,19 @@ EXAMPLES = """
|
|||
ios_vlan:
|
||||
vlan_id: 100
|
||||
state: absent
|
||||
|
||||
- name: Add vlan using aggregate
|
||||
ios_vlan:
|
||||
aggregate:
|
||||
- { vlan_id: 100, name: test-vlan, interfaces: [GigabitEthernet0/1, GigabitEthernet0/2], delay: 15, state: suspend }
|
||||
- { vlan_id: 101, name: test-vlan, interfaces: GigabitEthernet0/3 }
|
||||
|
||||
- name: Move interfaces to a different VLAN
|
||||
ios_vlan:
|
||||
vlan_id: 102
|
||||
interfaces:
|
||||
- GigabitEthernet0/0
|
||||
- GigabitEthernet0/1
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
|
|
Loading…
Reference in a new issue