Dell X1052 upgrade
[dell-switch] / doc / upgrade-X1052.txt
1 # Dell X1052
2
3 https://www.dell.com/support/home/en-us/product-support/product/networking-x1000-series/drivers
4
5 sw-b000-2#show version
6 SW version    3.0.1.2 ( date  26-May-2019 time  16:24:43 )
7 Boot version    1.0.0.25 ( date  05-Apr-2017 time  09:55:19 )
8 HW version    00.00.04
9
10 dpavlin@black:~/Dell-X1052$ wget https://dl.dell.com/FOLDER07885413M/1/x10xx-3019.zip
11
12 dpavlin@black:~/Dell-X1052$ unzip x10xx-3019.zip
13
14 ## check which switches are this version
15
16 dpavlin@black:~/dell-switch$ git -C out/ grep X1052 | cut -d_ -f2 | sort -u
17 sw-b000-2
18 sw-b100-2
19 sw-b200-2
20 sw-c300-2
21 sw-fond
22
23 dpavlin@black:~/dell-switch$ git -C out/ grep X1052 | cut -d_ -f2 | sort -u | xargs -i ./dell-switch.pl {} 'show version'
24
25 ## ssh 10.20.0.60
26
27 sw-b000-2#show version
28
29 SW version    3.0.1.2 ( date  26-May-2019 time  16:24:43 )
30 Boot version    1.0.0.25 ( date  05-Apr-2017 time  09:55:19 )
31 HW version    00.00.04
32
33 ## ssh 10.20.0.61
34
35 sw-b100-2#show version
36 SW version    3.0.1.2 ( date  26-May-2019 time  16:24:43 )
37 Boot version    1.0.0.25 ( date  05-Apr-2017 time  09:55:19 )
38 HW version    00.00.04
39
40 ## ssh 10.20.0.62
41
42 sw-b200-2#show version
43 SW version    3.0.1.2 ( date  26-May-2019 time  16:24:43 )
44 Boot version    1.0.0.25 ( date  05-Apr-2017 time  09:55:19 )
45 HW version    00.00.04
46
47 ## ssh 10.20.0.65
48
49 sw-c300-2#show version
50 SW version    3.0.1.2 ( date  26-May-2019 time  16:24:43 )
51 Boot version    1.0.0.25 ( date  05-Apr-2017 time  09:55:19 )
52 HW version    00.00.04
53
54 ## ssh 10.20.0.24
55
56 sw-fond#show version
57 SW version    3.0.1.2 ( date  26-May-2019 time  16:24:43 )
58 Boot version    1.0.0.25 ( date  05-Apr-2017 time  09:55:19 )
59 HW version    00.00.04
60
61
62
63
64 dpavlin@black:~/Dell-X1052$ unzip x10xx-3019.zip
65 Archive:  x10xx-3019.zip
66 replace x10xx-3019/Dell_X1000-X4000_Series_UG.pdf? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
67   inflating: x10xx-3019/Dell_X1000-X4000_Series_UG.pdf
68   inflating: x10xx-3019/MIBs.zip
69   inflating: x10xx-3019/MicroUSB-FTDI2.12.00WindowsDrivers.zip
70   inflating: x10xx-3019/X1000 Series and X4012 Release Notes 3.0.1.9.pdf
71   inflating: x10xx-3019/x10xx-3019.ros
72   inflating: x10xx-3019/x10xx_boot-10025.rfb
73   inflating: x10xx-3019/X10xx_X4012_CLI_Software_Upgrade_Instructions.pdf       # XXX read this file
74   inflating: x10xx-3019/X10xx_X4012_GUI_Software_Upgrade_Instructions.pdf
75
76 - HW version update to 00.00.04 doesn't require 10-15 minutes to update CPLD
77
78 copy tftp://10.20.0.216/x10xx-3019.ros image
79 copy tftp://10.20.0.216/x10xx_boot-10025.rfb boot
80 show bootvar
81 reload
82
83 dpavlin@black:~/dell-switch$ sh x1052.sh | xargs -i ./dell-switch.pl {} 'show bootvar'
84
85 dpavlin@black:~/dell-switch$ grep . out/*bootvar* | sed -e 's/^[^_]*_//' -e 's/_[^:]*:/   /'
86 sw-fond   Image  Filename   Version     Date                    Status
87 sw-fond   -----  ---------  ---------   ---------------------   -----------
88 sw-fond   1      image-1    3.0.0.82    03-Nov-2016  17:20:11   Not active
89 sw-fond   2      image-2    3.0.1.2     26-May-2019  16:25:00   Active*
90 sw-fond   "*" designates that the image was selected for the next boot
91 sw-fond   sw-fond#
92 sw-b000-2   Image  Filename   Version     Date                    Status
93 sw-b000-2   -----  ---------  ---------   ---------------------   -----------
94 sw-b000-2   1      image-1    3.0.0.95    24-Dec-2017  17:48:44   Not active
95 sw-b000-2   2      image-2    3.0.1.2     26-May-2019  16:25:00   Active*
96 sw-b000-2   "*" designates that the image was selected for the next boot
97 sw-b000-2   sw-b000-2#
98 sw-b100-2   Image  Filename   Version     Date                    Status
99 sw-b100-2   -----  ---------  ---------   ---------------------   -----------
100 sw-b100-2   1      image-1    3.0.1.2     26-May-2019  16:25:00   Active*
101 sw-b100-2   2      image-2    3.0.0.95    24-Dec-2017  17:48:44   Not active
102 sw-b100-2   "*" designates that the image was selected for the next boot
103 sw-b100-2   sw-b100-2#
104 sw-b200-2   Image  Filename   Version     Date                    Status
105 sw-b200-2   -----  ---------  ---------   ---------------------   -----------
106 sw-b200-2   1      image-1    3.0.1.2     26-May-2019  16:25:00   Active*
107 sw-b200-2   2      image-2    3.0.0.95    24-Dec-2017  17:48:44   Not active
108 sw-b200-2   "*" designates that the image was selected for the next boot
109 sw-b200-2   sw-b200-2#
110 sw-c300-2   Image  Filename   Version     Date                    Status
111 sw-c300-2   -----  ---------  ---------   ---------------------   -----------
112 sw-c300-2   1      image-1    3.0.1.2     26-May-2019  16:25:00   Active*
113 sw-c300-2   2      image-2    3.0.0.95    24-Dec-2017  17:48:44   Not active
114 sw-c300-2   "*" designates that the image was selected for the next boot
115 sw-c300-2   sw-c300-2#
116 d
117
118 dpavlin@black:~/dell-switch$ sh x1052.sh | xargs -i ./dell-switch.pl {} 'show bootvar'
119
120 dpavlin@black:~/dell-switch$ grep . out/*bootvar* | sed -e 's/^[^_]*_//' -e 's/_[^:]*:/   /'
121 sw-fond   Image  Filename   Version     Date                    Status
122 sw-fond   -----  ---------  ---------   ---------------------   -----------
123 sw-fond   1      image-1    3.0.0.82    03-Nov-2016  17:20:11   Not active
124 sw-fond   2      image-2    3.0.1.2     26-May-2019  16:25:00   Active*
125 sw-fond   "*" designates that the image was selected for the next boot
126 sw-fond   sw-fond#
127 sw-b000-2   Image  Filename   Version     Date                    Status
128 sw-b000-2   -----  ---------  ---------   ---------------------   -----------
129 sw-b000-2   1      image-1    3.0.0.95    24-Dec-2017  17:48:44   Not active
130 sw-b000-2   2      image-2    3.0.1.2     26-May-2019  16:25:00   Active*
131 sw-b000-2   "*" designates that the image was selected for the next boot
132 sw-b000-2   sw-b000-2#
133 sw-b100-2   Image  Filename   Version     Date                    Status
134 sw-b100-2   -----  ---------  ---------   ---------------------   -----------
135 sw-b100-2   1      image-1    3.0.1.2     26-May-2019  16:25:00   Active*
136 sw-b100-2   2      image-2    3.0.0.95    24-Dec-2017  17:48:44   Not active
137 sw-b100-2   "*" designates that the image was selected for the next boot
138 sw-b100-2   sw-b100-2#
139 sw-b200-2   Image  Filename   Version     Date                    Status
140 sw-b200-2   -----  ---------  ---------   ---------------------   -----------
141 sw-b200-2   1      image-1    3.0.1.2     26-May-2019  16:25:00   Active*
142 sw-b200-2   2      image-2    3.0.0.95    24-Dec-2017  17:48:44   Not active
143 sw-b200-2   "*" designates that the image was selected for the next boot
144 sw-b200-2   sw-b200-2#
145 sw-c300-2   Image  Filename   Version     Date                    Status
146 sw-c300-2   -----  ---------  ---------   ---------------------   -----------
147 sw-c300-2   1      image-1    3.0.1.2     26-May-2019  16:25:00   Active*
148 sw-c300-2   2      image-2    3.0.0.95    24-Dec-2017  17:48:44   Not active
149 sw-c300-2   "*" designates that the image was selected for the next boot
150 sw-c300-2   sw-c300-2#
151
152
153
154 dpavlin@black:~/Dell-X1052$ cp -pv x10xx-3019/x10xx-3019.ros ~/dell-switch/running-config/
155 'x10xx-3019/x10xx-3019.ros' -> '/home/dpavlin/dell-switch/running-config/x10xx-3019.ros'
156 You have new mail in /var/mail/dpavlin
157 dpavlin@black:~/Dell-X1052$ cp -pv x10xx-3019/x10xx_boot-10025.rfb ~/dell-switch/running-config/
158 'x10xx-3019/x10xx_boot-10025.rfb' -> '/home/dpavlin/dell-switch/running-config/x10xx_boot-10025.rfb'
159
160
161
162 dpavlin@black:~/dell-switch$ ./ssh.sh sw-b000-2
163
164
165
166
167 User Name:admin
168 Password:********
169
170
171 sw-b000-2#
172 sw-b000-2#show bootvar
173 Image  Filename   Version     Date                    Status
174 -----  ---------  ---------   ---------------------   -----------
175 1      image-1    3.0.0.95    24-Dec-2017  17:48:44   Not active
176 2      image-2    3.0.1.2     26-May-2019  16:25:00   Active*
177
178 "*" designates that the image was selected for the next boot
179
180 sw-b000-2#copy tftp://10.20.0.216/x10xx-3019.ros image
181 12-Aug-2022 18:07:37 %COPY-I-FILECPY: Files Copy - source URL tftp://10.20.0.216/x10xx-3019.ros destination URL flash://image
182 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!12-Aug-2022 18:10:18 %COPY-N-TRAP: The copy operation was completed successfully
183 !
184 Copy: 11506394 bytes copied in 00:02:41 [hh:mm:ss]
185
186 sw-b000-2#copy tftp://10.20.0.216/x10xx_boot-10025.rfb boot
187 12-Aug-2022 18:11:02 %COPY-I-FILECPY: Files Copy - source URL tftp://10.20.0.216/x10xx_boot-10025.rfb destination URL flash://BOOT
188 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!12-Aug-2022 18:11:09 %COPY-N-TRAP: The copy operation was completed successfully
189 !
190 Copy: 524304 bytes copied in 00:00:07 [hh:mm:ss]
191
192 sw-b000-2#show bootvar
193 Image  Filename   Version     Date                    Status
194 -----  ---------  ---------   ---------------------   -----------
195 1      image-1    3.0.1.9     12-Oct-2021  11:42:18   Not active*
196 2      image-2    3.0.1.2     26-May-2019  16:25:00   Active
197
198 "*" designates that the image was selected for the next boot
199
200 sw-b000-2#reload
201 This command will reset the whole system and disconnect your current session. Do you want to continue ? (Y/N)[N] Y
202 Shutting down ...
203 Shutting down ...
204 Shutting down ...
205
206 # cca 190 sec to reboot
207
208