![background image](http://html1.mh-extra.com/html/quantum/dxi4500/dxi4500_manual_3756124083.webp)
Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A
July 2011
Netcfg CLI Commands
83
Figure 3 Netcfg Example –
2 x 2 x 2 Networks
The following syscli sequences can be used to configure a similar setup.
To display the existing configuration:
syscli --show netcfg
First, delete the default bond configuration with all customer ports connected
together:
syscli --del netcfg --devname bond0:2
Then configure bond0:2 for IPADDR1 and for the replication source, if
applicable, configure GATEWAY1:
syscli --add netcfg --devname bond0:2 --slaves eth0, eth1 --ipaddr IPADDR1
--netmask NETMASK1 --gateway GATEWAY1 --policy REP
Then configure bond1:2 for IPADDR2 and, if applicable, configure GATEWAY2:
syscli --add netcfg --devname bond1:2 --slaves eth2, eth3 --ipaddr IPADDR2
--netmask NETMASK2 --gateway GATEWAY2
Then configure bond2:2 for IPADDR3 and, if applicable, configure GATEWAY3:
syscli --add netcfg --devname bond2:2 --slaves eth4, eth5 --ipaddr IPADDR3
--netmask NETMASK3 --gateway GATEWAY3
DXi 6540 With One Bond and Two Independent Interfaces
The two independent interfaces have to be connected to a non-aggregated port
on a switch. The bonded ports are connected to appropriately link aggregated
switch ports.