IFINFO
Description
Gives the information of the network interfaces configurations.
Command
ifinfo <name> <command> [<index>] <name> : in out dialup pptp ethernet vlan ipsec gretun gretap loopback <command> : mac_name : get the name of the network interface mac_address : get the MAC address of the network interface mac_throughput : get the maximum media throughput ip_address : get the configured IP address ip_netmask : get the network address ip_broadcast : get the broadcast address ip_network : get the network address count : get the count of interface type ( <name> = dialup, pptp, ethernet, vlan, ipsec, gretun, gretap, loopback) ip_config : get the configured IP address/mask bridge_name : if bridged, return bridgename peer_address : get the peer address of P2P interface [<index>] : optional.
Results
Example
U2504C099999999999>ifinfo interface list: bridge0 10.2.32.254/255.255.0.0 out (fxp1) in (protected,fxp0) dmz1 (protected,fxp2) dmz2 (protected,fxp3) ipsec (enc0) U2504C099999999999>