The purpose of this article is to illustrate the location of the initial configuration script on the QFabric System and how you can access it to ensure or verify the consistency of various initial configuration parameters on the primary and Backup Director device.
During QFabric installation, the Director device automatically triggers the initial configuration setup script which contains various information such as IP addresses for Director devices and default partition, starting MAC and mac-address ranges for the entire QFabric system, root password, and so on. The initial configuration setup file is mandatory in order to access the QFabric CLI (the default partition). Once you have access to the QFabric CLI, you can then configure the QFabric System. The QFabric System configuration output is stored in a separate configuration file. Because the initial configuration setup file differs from the QFabric System configuration file, it is important to know where this file resides on the director device for troubleshooting purposes and also when validating the initial configuration.
Once the QFabric System is physically set up and Junos OS is installed on the Director groups, accessing the Director group through a console connection will automatically trigger the initial configuration setup script which will prompt you to:
The initial configuration setup script file is saved in the /opt/dcf/config/ directory of both primary and Backup Director group. The name of the saved file is initial.conf . In an ideal working scenario, the content of the initial.conf file should be same on the primary and Backup Director device.
/opt/dcf/config/
initial.conf
[root@dg0 config]# ls /opt/dcf/config/initial.conf /opt/dcf/config/initial.conf <-----file location
Accessing the initial configuration setup file from the QFabric CLI
root@CFTS-BNG-Qfabric-M> file show /opt/dcf/config/initial.conf DG_IP1=10.209.10.100 DG_MASK1=255.255.255.0 DG_GATEWAY1=10.209.10.254 DG_IP2=10.209.10.101 DG_MASK2=255.255.255.0 DG_GATEWAY2=10.209.10.254 DG_IPV6_1= DG_IPV6_2= DG_IPV6_GATEWAY= DCF0=10.209.10.99 MACADDRSTART=00:5a:01:2a:22:34 MACADDRCOUNT=4000 DG_PASSWORD=$6$qfdqfd$ZO08a.cTZkb..cCnTmIPMzIu1K.60/VwlHqOdegove7yhEEj6QMae6Toq9NSIxQYEksEtQvtZeScPxrWQBSBU/ DEV_PASS_CRYPT=$1$f+uslYF0$h.RLheeYEWDfm8na1bf.Z. DEV_PASS_KRYPT=$9$SF9ylMLX-24Z-VbYoaiH5QF3A0IEy FABSERIAL=CFTS-BNG-QFAB-M PRODUCT_TYPE=QFX3000-M:qfx3000-m:product_category=4 DNS_FORWARDER= SYSTEM_ID=d2305a28-c4a2-11e4-a5ed-ab2d289572f4
Accessing the initial configuration setup file from QFabric DG0 (Primary )
[root@dg0]# cat /opt/dcf/config/initial.conf DG_IP1=10.209.10.100 DG_MASK1=255.255.255.0 DG_GATEWAY1=10.209.10.254 DG_IP2=10.209.10.101 DG_MASK2=255.255.255.0 DG_GATEWAY2=10.209.10.254 DG_IPV6_1= DG_IPV6_2= DG_IPV6_GATEWAY= DCF0=10.209.10.99 MACADDRSTART=00:5a:01:2a:22:34 MACADDRCOUNT=4000 DG_PASSWORD=$6$qfdqfd$ZO08a.cTZkb..cCnTmIPMzIu1K.60/VwlHqOdegove7yhEEj6QMae6Toq9NSIxQYEksEtQvtZeScPxrWQBSBU/ DEV_PASS_CRYPT=$1$f+uslYF0$h.RLheeYEWDfm8na1bf.Z. DEV_PASS_KRYPT=$9$SF9ylMLX-24Z-VbYoaiH5QF3A0IEy FABSERIAL=CFTS-BNG-QFAB-M PRODUCT_TYPE=QFX3000-M:qfx3000-m:product_category=4 DNS_FORWARDER= SYSTEM_ID=d2305a28-c4a2-11e4-a5ed-ab2d289572f4
Accessing the initial configuration setup file from QFabric DG1 (Backup)
[root@dg1]# cat /opt/dcf/config/initial.conf DG_IP1=10.209.10.100 DG_MASK1=255.255.255.0 DG_GATEWAY1=10.209.10.254 DG_IP2=10.209.10.101 DG_MASK2=255.255.255.0 DG_GATEWAY2=10.209.10.254 DG_IPV6_1= DG_IPV6_2= DG_IPV6_GATEWAY= DCF0=10.209.10.99 MACADDRSTART=00:5a:01:2a:22:34 MACADDRCOUNT=4000 DG_PASSWORD=$6$qfdqfd$ZO08a.cTZkb..cCnTmIPMzIu1K.60/VwlHqOdegove7yhEEj6QMae6Toq9NSIxQYEksEtQvtZeScPxrWQBSBU/ DEV_PASS_CRYPT=$1$f+uslYF0$h.RLheeYEWDfm8na1bf.Z. DEV_PASS_KRYPT=$9$SF9ylMLX-24Z-VbYoaiH5QF3A0IEy FABSERIAL=CFTS-BNG-QFAB-M PRODUCT_TYPE=QFX3000-M:qfx3000-m:product_category=4 DNS_FORWARDER= SYSTEM_ID=d2305a28-c4a2-11e4-a5ed-ab2d289572f4