|
|
|
@ -17,33 +17,33 @@ DOCUMENTATION = """
|
|
|
|
|
module: ios_l3_interface
|
|
|
|
|
version_added: "2.5"
|
|
|
|
|
author: "Ganesh Nalawade (@ganeshrn)"
|
|
|
|
|
short_description: Manage L3 interfaces on Cisco IOS network devices.
|
|
|
|
|
short_description: Manage Layer-3 interfaces on Cisco IOS network devices.
|
|
|
|
|
description:
|
|
|
|
|
- This module provides declarative management of L3 interfaces
|
|
|
|
|
- This module provides declarative management of Layer-3 interfaces
|
|
|
|
|
on IOS network devices.
|
|
|
|
|
notes:
|
|
|
|
|
- Tested against IOS 15.2
|
|
|
|
|
options:
|
|
|
|
|
name:
|
|
|
|
|
description:
|
|
|
|
|
- Name of the L3 interface to be configured eg. GigabitEthernet0/2
|
|
|
|
|
- Name of the Layer-3 interface to be configured eg. GigabitEthernet0/2
|
|
|
|
|
ipv4:
|
|
|
|
|
description:
|
|
|
|
|
- IPv4 address to be set for the L3 interface mentioned in I(name) option.
|
|
|
|
|
- IPv4 address to be set for the Layer-3 interface mentioned in I(name) option.
|
|
|
|
|
The address format is <ipv4 address>/<mask>, the mask is number
|
|
|
|
|
in range 0-32 eg. 192.168.0.1/24
|
|
|
|
|
ipv6:
|
|
|
|
|
description:
|
|
|
|
|
- IPv6 address to be set for the L3 interface mentioned in I(name) option.
|
|
|
|
|
- IPv6 address to be set for the Layer-3 interface mentioned in I(name) option.
|
|
|
|
|
The address format is <ipv6 address>/<mask>, the mask is number
|
|
|
|
|
in range 0-128 eg. fd5d:12c9:2201:1::1/64
|
|
|
|
|
aggregate:
|
|
|
|
|
description:
|
|
|
|
|
- List of L3 interfaces definitions. Each of the entry in aggregate list should
|
|
|
|
|
- List of Layer-3 interfaces definitions. Each of the entry in aggregate list should
|
|
|
|
|
define name of interface C(name) and a optional C(ipv4) or C(ipv6) address.
|
|
|
|
|
state:
|
|
|
|
|
description:
|
|
|
|
|
- State of the L3 interface configuration. It indicates if the configuration should
|
|
|
|
|
- State of the Layer-3 interface configuration. It indicates if the configuration should
|
|
|
|
|
be present or absent on remote device.
|
|
|
|
|
default: present
|
|
|
|
|
choices: ['present', 'absent']
|
|
|
|
|