mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
add SVI example for Cisco IOS/IOS-XE platform (#40021)
on networktocode slack there was a user that wanted an example of how to add a switch vlan interface. This will work and was tested on a 3850 cisco ios switch
This commit is contained in:
parent
64f87867dd
commit
0dc73e7822
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ EXAMPLES = """
|
||||||
ipv4: dhcp
|
ipv4: dhcp
|
||||||
ipv6: dhcp
|
ipv6: dhcp
|
||||||
|
|
||||||
|
- name: Set interface Vlan1 (SVI) IPv4 address
|
||||||
|
ios_l3_interface:
|
||||||
|
name: Vlan1
|
||||||
|
ipv4: 192.168.0.5/24
|
||||||
|
|
||||||
- name: Set IP addresses on aggregate
|
- name: Set IP addresses on aggregate
|
||||||
ios_l3_interface:
|
ios_l3_interface:
|
||||||
aggregate:
|
aggregate:
|
||||||
|
|
Loading…
Reference in a new issue