system_interface_create
Create a new network interface on a FortiGate, supporting types such as physical, VLAN, loopback, and tunnel.
Instructions
Create a new network interface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Interface name. | |
| interface_type | Yes | Interface type: physical, vlan, loopback, tunnel, aggregate, vap-switch, etc. | |
| ip | No | IP address and mask (e.g. '192.168.10.1 255.255.255.0'). | |
| vlanid | No | VLAN ID (1-4094) for VLAN interfaces. | |
| interface | No | Parent physical interface for VLAN sub-interfaces. | |
| description | No | Interface description. | |
| alias | No | Alias name. | |
| status | No | Administrative status: up or down. | up |
| allowaccess | No | Allowed management access (space-separated): ping https ssh snmp http telnet. | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||