CONFIG NETWORK INTERFACE SHOW

Level

base

History

Appears in 6.0.0

Description

Show interfaces' configurations

Implementation notes

Dumps sections from NETWORK_FN

Usage

[ifname=<interface name>|filter=<comma,separated,types,of,interfaces>]
- The filter accept the type: Bridge, Ethernet, Wifi, Vlan, Dialup, Agg, Ipsec, Openvpn, Loopback, Gretun, Gretap, UsbEthernet
- by default, the filter is set to Bridge,Ethernet,Wifi,Vlan,Dialup,Agg,Gretap,UsbEthernet

Returns

One section for each interface, with its parameters

Example

CONFIG NETWORK INTERFACE SHOW filter=Bridge,Ethernet
[ethernet0]
...
[ethernet1]
...
[Bridge0]
...

CONFIG NETWORK INTERFACE SHOW ifname=ethernet0
[ethernet0]
Name="out"
State="1"
Protected="0"
Gateway=""
Media="0"
Type="0"
Color="111111"
Bridge="bridge0"
comment="Out interface"