1
0
Fork 0
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:
Sean Cavanaugh 2018-05-15 15:07:23 -04:00 committed by Alicia Cozine
parent 64f87867dd
commit 0dc73e7822

View file

@ -72,6 +72,11 @@ EXAMPLES = """
ipv4: 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
ios_l3_interface:
aggregate: