ZyXEL Communications VMG1312 Cli Reference Manual page 29

Hide thumbs Also See for VMG1312:
Table of Contents

Advertisement

www.zyxel.com
ifconfig [interface]
ifconfig interface [aftype] options | address ...
DESCRIPTION
Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up
interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is
needed.
If no arguments are given, ifconfig displays the status of the currently active interfaces. If a single interface
argument is given, it displays the status of the given interface only; if a single -a argument is given, it
displays the status of all interfaces, even those that are down. Otherwise, it configures an interface.
COMMANDS
None.
OPTIONS
interface
The name of the interface. This is usually a driver name followed by a unit number, for example eth0
for the first Ethernet interface.
address
The IP address to be assigned to this interface.
up
This flag causes the interface to be activated. It is implicitly specified if an address is assigned to the
interface.
down
This flag causes the driver for this interface to be shut down.
[-]arp
Enable or disable the use of the ARP protocol on this interface.
[-]promisc
Enable or disable the promiscuous mode of the interface. If selected, all packets on the network will
be received by the interface.
[-]allmulti
Enable or disable all-multicast mode. If selected, all multicast packets on the network will be received
by the interface.
metric N
This parameter sets the interface metric.
ZyXEL Confidential
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents