Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
76
Network CLI Commands
•
--netmask
: Netmask in decimal dotted notation (e.g. 255.255.255.0)
•
--gateway
: IP address of gateway
Note:
If the port is directly connected to another port, or the port is not
connected to a router, then the gateway IP address should be the
same IP address as the
--ipaddr
value.
•
--slaves
: If
--slaves
are specified, use commas to separate two or more slave
device names.
Note:
Slaves must be specified when creating a bond.
•
--mode
: Mode must be specified when creating a bond. Currently LACP
(mode 4) and Round Robin (mode 0) are supported.
•
--mtu
: Enter STD to set the MTU size to the standard frame size of 1500.
Enter JUMBO to set the MTU size to the max JUMBO frame size of 9000. Or
enter a numeric value between 1500 and 9000. If this line is not entered,
the standard MTU frame size of 1500 will be used.
•
--defaultgw:
Uses the entered gateway value as the default gateway.
•
--segments:
Only allow the specified traffic types on this interface.
•
--hosts:
Only allow communication with these hosts via the specified
gateway.
•
--sure:
If specified, the command will execute without asking for
confirmation.
Note that this command creates a network configuration and renders the
following network commands unusable:
•
•
•
•
Setting Up a Segmented Network
•
Setting Up an Unsegmented Network
Deleting Network
Configurations
syscli --del netcfg --devname <DEVNAME> [--sure]
This CLI command allows the admin user to delete the specified network device
and its IP address information. Any slaves associated with the network device
will also be deleted.
Note:
Deleting a device using only the device number,
devno
, will also delete
all of its associated IP information that was added when using the
virtual interface number,
vifno
, option.
CLI command options:
•
--devname
: Device name. The general format is <label><devno>
[:<vifno>] where
•
label
: Device label, which is an alphabetic string (e.g. bond, eth, ...)