CONFIG NETWORK INTERFACE SHOW

Level

base

History

Appears in Netasq 6.0.0
useclone appears in 4.0.0

Description

Show interfaces' configurations

Usage

[useclone=<0|1>] [ifname=<interface name>|filter=<comma,separated,types,of,interfaces>]
- The filter accept the type: Bridge, Ethernet, Wifi, Vlan, Dialup, Agg, Ipsec, 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"