During controller expansion, SmartKit reports incorrect network connection, but the actual cable connection between the devices is correct. How do I check whether the switch configuration is correct?
Answer
NOTE: Use a serial cable to connect to the data switch (baud rate: 115200). Enter the default user name _user_admin and password to log in to the data switch. (The initial password of the data switch is Admin@dsw. Use the actual password if you have changed it.)
- Log in to the CLI of data switch 0.
- Run the os showstatus command to check whether the plane ID of data switch 0 is configured correctly.
If the Plane ID in the command output is 0, it is correct for data switch 0.
_user_admin:/diagnose>os showstatus
OS Status : Normal
Eth0 IP :
Eth0 MAC : 24:BC:F8:7C:28:A0
Eth1 IP :
Eth1 MAC : 24:BC:F8:7C:28:19
Plane ID : 0
USB Stauts : OK
Time : 2017/04/12-11:48:25
Version :
PKGVER=PANGEAV200R002C02_DSW
XLOADER=18.01.01T20
UBOOT=18.02.01T26
VMLINUZ=18.04.01T17
INITRD=18.05.00T01
DTB=18.03.00T02
DEV=1.19.40
DB=18.06.01T10
FRAME=1.01.005
PCIEDSW=1.04.157
PCIE30DSW=1.04.182
MML=20081219A
NAE=1.2.3
EEPROM8680=31
EEPROM8609=19
EEPROM8796=32
EEPROM8717=21
DSWDEMO=V1R8D05.05
CPLDVER=300T05
CPLD30VER=100T12
DSWVER=10010136 - Run the os showipconfig command to check whether the network segment of data switch 0 is configured correctly.
If eth0IP0, eth1IP0, eth0IP1, and eth1IP1 of data switch 0 are on the same network segment as the internal IP addresses configured on SmartKit during controller expansion, the IP network segment of data switch 0 is correct. _user_admin:/diagnose>os showipconfig
eth0IP_30=0.0.0.0
eth0IP0=172.16.192.132
eth1IP0=172.16.194.132
eth0IP1=172.16.194.133
eth1IP1=172.16.193.133
MASK=255.255.255.0
HOST1=172.16.192.0
HOST0=172.16.193.0 - Check whether the VLAN tags of switch 0 are configured correctly.
- For V300R001C21 and later versions, run the os showipconfig command to check the VLAN tags of switch 0.
- For the Dorado5000 V3 series (SAS), if the value of dsw0eth0vlantag in the command output is 100 and the values of dsw0eth1vlantag, dsw1eth0vlantag, and dsw1eth1vlantag are 101, the VLAN tags of the switch are correct.
- For the Dorado5000 V3 (NVMe) and Dorado6000 V3 series, if the values of dsw0eth0vlantag, dsw0eth1vlantag, dsw1eth0vlantag, and dsw1eth1vlantag are 100, the VLAN tags of the switch are correct.
eth0IP_30=0.0.0.0
eth0IP0=172.16.192.132
eth1IP0=172.16.194.132
eth0IP1=172.16.194.133
eth1IP1=172.16.193.133
MASK=255.255.255.0
HOST1=172.16.192.0
HOST0=172.16.193.0
dsw0eth0vlantag=100
dsw0eth1vlantag=100
dsw1eth0vlantag=100
dsw1eth1vlantag=100 - For V300R001C01, connect to the serial port of switch 0 and restart the switch. The VLAN tags are listed at the end of the serial port log.
- For the Dorado5000 V3 series (SAS), if the value of dsw0eth0_vlan_tag in the log is 100 and the values of dsw0eth1_vlan_tag, dsw1eth0_vlan_tag, and dsw1eth1_vlan_tag are 101, the VLAN tags of the switch are correct.
- For the Dorado5000 V3 (NVMe) and Dorado6000 V3 series, if the values of dsw0eth0_vlan_tag, dsw0eth1_vlan_tag, dsw1eth0_vlan_tag, and dsw1eth1_vlan_tag are 100, the VLAN tags of the switch are correct.
Copying diagnose & debug shell
Launching dswemp in backgroud
Launching script to set dsw ip
execute setip.sh.
Launching script to monitor dswemp
Monitor dswemp
dsw0eth0_vlan_tag=100
dsw0eth1_vlan_tag=100
dsw1eth0_vlan_tag=100
dsw1eth1_vlan_tag=100
DSW type is PCIE3.0
DSW type is PCIE3.0
- For V300R001C21 and later versions, run the os showipconfig command to check the VLAN tags of switch 0.
- Log in to the CLI of data switch 1.
- Run the os showstatus command to check whether the plane ID of data switch 1 is configured correctly.
If the Plane ID in the command output is 1, it is correct for data switch 1.
_user_admin:/diagnose>os showstatus
OS Status : Normal
Eth0 IP :
Eth0 MAC : 24:BC:F8:7C:28:A0
Eth1 IP :
Eth1 MAC : 24:BC:F8:7C:28:19
Plane ID : 1
USB Stauts : OK
Time : 2017/04/12-11:54:19
Version :
PKGVER=PANGEAV200R002C02_DSW
XLOADER=18.01.01T20
UBOOT=18.02.01T26
VMLINUZ=18.04.01T17
INITRD=18.05.00T01
DTB=18.03.00T02
DEV=1.19.40
DB=18.06.01T10
FRAME=1.01.005
PCIEDSW=1.04.157
PCIE30DSW=1.04.182
MML=20081219A
NAE=1.2.3
EEPROM8680=31
EEPROM8609=19
EEPROM8796=32
EEPROM8717=21
DSWDEMO=V1R8D05.05
CPLDVER=300T05
CPLD30VER=100T12
DSWVER=10010136 - Run the os showipconfig command to check whether the network segment of data switch 1 is configured correctly.
If eth0IP0, eth1IP0, eth0IP1, and eth1IP1 of data switch 1 are on the same network segment as the internal IP addresses configured on SmartKit during controller expansion, the IP network segment of data switch 1 is correct. _user_admin:/diagnose>os showipconfig
eth0IP_30=0.0.0.0
eth0IP0=172.16.191.132
eth1IP0=172.16.192.132
eth0IP1=172.16.192.133
eth1IP1=172.16.191.133
MASK=255.255.255.0
HOST1=172.16.194.0
HOST0=172.16.195.0 - Check whether the VLAN tags of switch 1 are configured correctly.
- For V300R001C21 and later versions, run the os showipconfig command to check the VLAN tags of switch 1.
- For the Dorado5000 V3 series (SAS), if the value of dsw0eth0vlantag in the command output is 100 and the values of dsw0eth1vlantag, dsw1eth0vlantag, and dsw1eth1vlantag are 101, the VLAN tags of the switch are correct.
- For the Dorado5000 V3 (NVMe) and Dorado6000 V3 series, if the values of dsw0eth0vlantag, dsw0eth1vlantag, dsw1eth0vlantag, and dsw1eth1vlantag are 100, the VLAN tags of the switch are correct.
eth0IP_30=0.0.0.0
eth0IP0=172.16.191.132
eth1IP0=172.16.192.132
eth0IP1=172.16.192.133
eth1IP1=172.16.191.133
MASK=255.255.255.0
HOST1=172.16.194.0
HOST0=172.16.195.0
dsw0eth0vlantag=100
dsw0eth1vlantag=100
dsw1eth0vlantag=100
dsw1eth1vlantag=100 - For V300R001C01, connect to the serial port of switch 1 and restart the switch. The VLAN tags are listed at the end of the serial port log.
- For the Dorado5000 V3 series (SAS), if the value of dsw0eth0_vlan_tag in the log is 100 and the values of dsw0eth1_vlan_tag, dsw1eth0_vlan_tag, and dsw1eth1_vlan_tag are 101, the VLAN tags of the switch are correct.
- For the Dorado5000 V3 (NVMe) and Dorado6000 V3 series, if the values of dsw0eth0_vlan_tag, dsw0eth1_vlan_tag, dsw1eth0_vlan_tag, and dsw1eth1_vlan_tag are 100, the VLAN tags of the switch are correct.
Copying diagnose & debug shell
Launching dswemp in backgroud
Launching script to set dsw ip
execute setip.sh.
Launching script to monitor dswemp
Monitor dswemp
dsw0eth0_vlan_tag=100
dsw0eth1_vlan_tag=100
dsw1eth0_vlan_tag=100
dsw1eth1_vlan_tag=100
DSW type is PCIE3.0
DSW type is PCIE3.0
- For V300R001C21 and later versions, run the os showipconfig command to check the VLAN tags of switch 1.