Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-09 Rev B
February 2014
116
Network CLI Commands
First, delete the default bond configuration with all customer ports connected
together:
syscli --del netcfg --devname bond0
Then configure Eth0 for IPADDR1 and, if applicable, configure GATEWAY1:
syscli --add netcfg --devname eth0:1 --ipaddr IPADDR1 --netmask
NETMASK1 --gateway GATEWAY1
Then configure Eth1 for IPADDR2 and, if applicable, configure GATEWAY2:
syscli --add netcfg --devname eth1:1 --ipaddr IPADDR2 --netmask
NETMASK2 --gateway GATEWAY2
Deleting a Bond and Setting Up Independent Interfaces
This section provides an example for using the
netcfg
CLI command to delete a
bond that has eth0 and eth1 as slaves and set them up as independent
interfaces. The DXi ships with all ports bonded, and you must undo bonding if
you want to use the individual Ethernet ports to communicate with other
systems on separate subnets.
1
Display the output of the current runtime network values using
syscli
--show netcfg
to list the current runtime values. (Runtime values are those
values that are currently used by the network service. Values must first be
configured using the add and delete netcfg commands. In order for these
values to become runtime values, the system must be rebooted. This will
restart the network service. You can use the
syscli --nodemanage --reboot
command to reboot the system after all network configuration has been
done.)
Note:
The
WARNING: No Replication IP configured
message at the
bottom means that an interface was not configured specifically for
replication. An interface can be configured for replication using the
--policy REP
option in the
syscli --add netcfg
command if desired.
[root@rok
‐
dxi92
DXi]#
syscli
‐‐
show
netcfg
bond0
Link
encap:Ethernet
HWaddr
00:50:56:AB:00:48
UP
BROADCAST
RUNNING
MASTER
MULTICAST
MTU:1500
Metric:1
RX
packets:557471
errors:155
dropped:0
overruns:0
frame:0
TX
packets:48114
errors:0
dropped:0
overruns:0
carrier:0
collisions:0
txqueuelen:0
RX
bytes:48747984
(46.4
MiB)
TX
bytes:6195223
(5.9
MiB)
bond0:2
Link
encap:Ethernet
HWaddr
00:50:56:AB:00:48
inet
addr:10.20.185.92
Bcast:10.20.191.255
Mask:255.255.248.0
UP
BROADCAST
RUNNING
MASTER
MULTICAST
MTU:1500
Metric:1
eth0
Link
encap:Ethernet
HWaddr
00:50:56:AB:00:48
UP
BROADCAST
RUNNING
SLAVE
MULTICAST
MTU:1500
Metric:1
RX
packets:278735
errors:5
dropped:0
overruns:0
frame:0
TX
packets:24057
errors:0
dropped:0
overruns:0
carrier:0