-
Notifications
You must be signed in to change notification settings - Fork 2
/
cli.txt
1575 lines (1342 loc) · 46.7 KB
/
cli.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
BCM53158 SWITCH firmware Feb 22 2018
boot_src = M7. Initializing M7
Copyright 2015-2017 Broadcom Limited
All rights reserved
Unit 0: ChipID: 53161 Rev 17
Unit 0: Straps: 00005041
Unit 0: PLL1 CH1 POSTDIV 13
LED Boot up -> 0s-3s
Unit 0: LED Refresh cycle config
Unit 0: LED Delay config
Unit 0: LED Strap load
Loading LED Firmware
.......
Unit 0: bootloader LED Start
Buffered Logs:
OTP_FLAGS = 0x8c
Broadcom ROBO OS Bootloader Version 2.4
Bootloader: QSPI flash Model: winbond Size: 128 Mbit
DEVFS: Initializing..
DEVFS: Device /dev/ttyS0 registered
DEVFS: Device /dev/flash0 registered
Press any key to interrupt Auto Boot
1 0 Autoboot starting...
Bootloader: Loading image at 1
Bootloader: Image Version SW-UT2206QG_1.00-0.07
Watchdog timeout value is 1250000000 (4a817c80)
Copyright 2015-2017 Broadcom Limited
All rights reserved
ChipId: BCM53161 RevId: 17
Version Regs:
Software: ROBO_OS_REL_1_4_8 Build: Mon Nov 8 10:15:56 2021
MPU enabled
Unit 0: ChipID: 53161 Rev 17
Unit 0: Straps: 00005041
Unit 0: PLL1 CH1 POSTDIV 10
LED Boot up -> 3s-6s
Unit 0: LED Start
Buffered Logs:
OTP_FLAGS = 0x8c
Watchdog Setup with timeout 1250000000 (4a817c80)
Reading Primary Avenger OTP...
Starting Dynamic AVS Using ROs on Primary Avenger...
Applying Saved Core Voltage:9833 with saved DAC Code: 637.
dwl......avs.c:AvsSetDac=637, cur_dac=637 delta=0
........avs.c:SetPVTctrl setting AVS_PVT_MNTR_CONFIG_PVT_MNTR_CTRL from 0x80 to 0x180
SetAvsVoltage - Final Result: 1
Core Voltage After applying saved AVS results on Primary Avenger: 9821
cbxi_slictcam_init()
QSPI FLASH MPU region re-sized to 16 MB
sal_fs_init_all:114 File system initialized
sal_fs_init_all:122 File system obtained from TOC
sal_fs_init_all:128 File system initialized
cbxi_lin_init()
cbxi_encap_init()
cbx_port_init()
Unit 0 Mac init Ports: 8 9 10 11 12 13 14 15
cbx_lag_init()
cbx_port_create()
Unit 0: PBMP_ALL(unit)=ff00
cbxi_trap_init()
cbxi_stg_init()
cbxi_vlan_init()
cbxi_l2_init()
cbxi_mcast_init()
cbx_mirror_init()
cbx_meter_init()
cbx_cosq_init()
cbx_stat_init()
cbx_cfp_init()
cbx_auth_init()
cbx_link_scan_init()
cbx_link_scan_enable_set()
cbx_pktio_init()
LWIP successfully initialized
LBD enabled
QOS disabled
port 8, pri=0, dp=0
port 9, pri=1, dp=0
port 10, pri=2, dp=0
port 11, pri=3, dp=0
port 12, pri=4, dp=0
port 13, pri=5, dp=0
extPhyIdentify: fport=8, phyaddr=1. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=1 !
phyaddr=1, serdes = 0
extPhyIdentify: fport=9, phyaddr=2. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=2 !
phyaddr=2, serdes = 0
extPhyIdentify: fport=10, phyaddr=3. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=3 !
phyaddr=3, serdes = 0
extPhyIdentify: fport=11, phyaddr=4. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=4 !
phyaddr=4, serdes = 0
extPhyIdentify: fport=12, phyaddr=5. id0=0xffff, id1=0xffff, type=0 !
extPhyIdentify: fport=13, phyaddr=6. id0=0xffff, id1=0xffff, type=0 !
LED Normal
Broadcom Cli Starting....
Configuration File Description: '1.4.8.0'
Setting IP address to : 1.1.1.100
Setting Network Mask to : 255.255.255.0
Setting Gateway IP to : 1.1.1.1
app_user_account_cfg_load:85 Failed to parse userCfg
app_host_cfg_load:64 Failed to load TRUSTHOST configuration
app_sntp_cfg_load:98 Failed to load SNTP configuration
Failed to load Loopback Detection config from 'cfg:/config.jsn'
Loaded default config for Loopback Detection from '/json/config.jsn'
cfg_json_get:426 Invalid parameters
Starting web server on port :80
uport = 0, fport=8, flow =0
uport = 1, fport=9, flow =0
uport = 2, fport=10, flow =0
uport = 3, fport=11, flow =0
uport = 4, fport=12, flow =0
uport = 5, fport=13, flow =0
stop ip/arp traffic !
------->rand=0x2b890dc2 , link=1
lbd=enabled, port 0 link up, wait 3 secs to forward traffic!
port set attribute speed , port:8,speed:1000 (last_speed:0)
lbd=enabled, port 0 , reach 3 secs, now forward traffic!
BCMCLI> help
getparam <name>
setparam <name> <value>
ifconfig
ls <dir_name>
rm <file_name>
rmdir <dir_name>
cat <file_name>
format_cfg
heap_stats
lldp print_mib
lldp <all|port_num> <tx|rx> <on|off>
igmpsnoop <enable|disable>
igmpsnoop stats_get
igmpsnoop stats_reset
stack_stats
pkt_trace <tx|rx|all|off>
cb_counters <unit>
port_counters <port|cpu>
<port>
getreg <register>
setreg <register> <value>
hparegdump <unit>
lwipstats
port_status <unit>
rstp forceversion <stp|rstp>
rstp fwddelay <value>
rstp maxage <value>
rstp priority <value>
rstp admin <port> <enable|disable>
rstp edge <port> <enable|disable>
rstp ptpmac <port> <enable|disable>
rstp mcheck <port> <enable|disable>
rstp ppriority <port>dump_table <tid> <start> <num entries>
pkt_send <port> <vlan> <mgid> <tagged> <mode>
Mode is Ucast(0x20000) Mcast(0x40000)
Tagged = 0 for untagged packet
wdt test
fw_toggle
led_dump
led_set <offset> <val>
gpio_read
led_lb_sys <1/0>
dump_phy_driver
phyread <addr> <reg>
phywrite <addr> <reg> <ext> <value>
tscread <port> <reg>
tscwrite <port> <reg> <value>
phy_debug <0/1>
int_phy_sp <int> <int>
cut_thru <0/1>
egress_rate <fport> <kbps>
get_websession
get_system
fdb
speed_set <addr> <speed:10G or 5G or 2_5G or 1000F or 100F or 10G/5G/2_5G/1000F/100F>
speed_get
mac_agingtime_set <second>
mac_agingtime_get
fc_para_get <port>
fc_para_set <port> <int> <int> <int> <int> <int>
sfp_get <port>
loopback_mode <0/1>
reboot
BCMCLI> speed_get
Usage: speed_get <port>Command Failed
BCMCLI> speed_get 0
bcm autonego ability :2.5G
bcm link speed:0
BCMCLI> speed_get 1
rtl autonego ability :2.5G 1000F
rtl link speed:1000
rtl EEE capability, reg:0x7003c,value:0x6:100M 1000M
rtl EEE link partner capability, reg:0x7003d,value:0x0:
BCMCLI> speed_get 2
rtl autonego ability :2.5G 1000F
rtl link speed:0
rtl EEE capability, reg:0x7003c,value:0x6:100M 1000M
rtl EEE link partner capability, reg:0x7003d,value:0x0:
BCMCLI> speed_get 3
rtl autonego ability :2.5G 1000F
rtl link speed:0
rtl EEE capability, reg:0x7003c,value:0x6:100M 1000M
rtl EEE link partner capability, reg:0x7003d,value:0x0:
BCMCLI> speed_get 4
rtl autonego ability :2.5G 1000F
rtl link speed:0
rtl EEE capability, reg:0x7003c,value:0x6:100M 1000M
rtl EEE link partner capability, reg:0x7003d,value:0x0:
BCMCLI> speed_get 5
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 6
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 7
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 8
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 9
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> get_websession
BCMCLI> sfp_get 1
get port: 1, mux=I2C_SDA12, rc=-1 data------------------------------
0xf1,0xd5,0x0c,0x10,0x50,0x93,0x80,0x20,
0x50,0x93,0x80,0x20,0x04,0x16,0x82,0x20,
BCMCLI> sfp_get 5
get port: 5, mux=I2C_SDA12, rc=-1 data------------------------------
0xf1,0xd5,0x0c,0x10,0x50,0x93,0x80,0x20,
0x34,0x00,0x00,0x00,0x66,0x00,0x00,0x00,
BCMCLI> port_status
Command Failed
BCMCLI> port_status 0
PortMacro Status: 0
+----------------------------------------------------------------+
| Port | MacSpeed | PhySpeed | Link | MacLb | PhyLB | EXT-LINK |
+----------------------------------------------------------------+
| 8 | 1000 | 1000 | UP | NO | NO | UP |
| 9 | 2500 | 1000 | DOWN | NO | NO | DOWN |
| 10 | 2500 | 1000 | DOWN | NO | NO | DOWN |
| 11 | 2500 | 1000 | DOWN | NO | NO | DOWN |
| 12 | 2500 | 2500 | DOWN | NO | NO | DOWN |
| 13 | 2500 | 2500 | DOWN | NO | NO | DOWN |
| 14 | 1000 | 0 | DOWN | NO | NO | UP |
| 15 | 1000 | 0 | DOWN | NO | NO | UP |
+----------------------------------------------------------------+
BCMCLI> sfp_get 8
get port: 8, mux=I2C_SDA12, rc=-1 data------------------------------
0xf1,0xd5,0x0c,0x10,0x50,0x93,0x80,0x20,
0x00,0x00,0x00,0x00,0x7d,0xa5,0x16,0x10,
BCMCLI> sfp_get 9
get port: 9, mux=I2C_SDA12, rc=-1 data------------------------------
0xf1,0xd5,0x0c,0x10,0x50,0x93,0x80,0x20,
0x00,0x00,0x00,0x00,0x7d,0xa5,0x16,0x10,
BCMCLI> sfp_get 10
get port: 10, mux=I2C_SDA12, rc=-1 data------------------------------
0xf1,0xd5,0x0c,0x10,0x50,0x93,0x80,0x20,
0x00,0x00,0x00,0x00,0x7d,0xa5,0x16,0x10,
BCMCLI> sfp_get 14
get port: 14, mux=I2C_SDA12, rc=-1 data------------------------------
0xf1,0xd5,0x0c,0x10,0x50,0x93,0x80,0x20,
0x01,0x00,0x00,0x00,0x50,0x95,0x80,0x20,
BCMCLI> speed_get
Usage: speed_get <port>Command Failed
BCMCLI> speed_get 98
WARNING: truncated malformed integer "98"
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 8
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 9
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 10
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> speed_get 14
bcm autonego ability :10G 5G 2.5G 1000F 1000H 100F 100H
bcm link speed:10
bcm EEE capability, reg:0x7003c,value:0xffff :100M 1000M 10G
bcm EEE link partner capability, reg:0x7003d,value:0xffff : 100M 1000M 10G
BCMCLI> fc_para_get 8
get port: 8
thresh0: 69
thresh1: 167
thresh2: 167
thresh3: 167
hysteresis: 39
ac_policy: 2
BCMCLI> fc_para_get 9
get port: 9
thresh0: 69
thresh1: 167
thresh2: 167
thresh3: 167
hysteresis: 39
ac_policy: 2
BCMCLI> fc_para_get 14
get port: 14
thresh0: 69
thresh1: 167
thresh2: 167
thresh3: 167
hysteresis: 39
ac_policy: 2
BCMCLI> lwipstats
LINK
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ETHARP
xmit: 1
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IP_FRAG
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IP
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ICMP
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
UDP
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
TCP
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
MEM HEAP
avail: 5120
used: 0
max: 68
err: 0
MEM RAW_PCB
avail: 4
used: 0
max: 0
err: 0
MEM UDP_PCB
avail: 4
used: 0
max: 0
err: 0
MEM TCP_PCB
avail: 10
used: 0
max: 1
err: 0
MEM TCP_PCB_LISTEN
avail: 8
used: 1
max: 1
err: 0
MEM TCP_SEG
avail: 16
used: 0
max: 0
err: 0
MEM REASSDATA
avail: 5
used: 0
max: 0
err: 0
MEM FRAG_PBUF
avail: 15
used: 0
max: 0
err: 0
MEM NETBUF
avail: 2
used: 0
max: 0
err: 0
MEM NETCONN
avail: 14
used: 1
max: 1
err: 0
MEM TCPIP_MSG_API
avail: 8
used: 0
max: 0
err: 0
MEM TCPIP_MSG_INPKT
avail: 8
used: 0
max: 0
err: 0
MEM SYS_TIMEOUT
avail: 6
used: 5
max: 5
err: 0
MEM NETDB
avail: 1
used: 0
max: 0
err: 0
MEM PBUF_REF/ROM
avail: 16
used: 0
max: 0
err: 0
MEM PBUF_POOL
avail: 26
used: 0
max: 0
err: 0
SYS
sem.used: 2
sem.max: 2
sem.err: 0
mutex.used: 2
mutex.max: 2
mutex.err: 0
mbox.used: 2
mbox.max: 2
mbox.err: 0
BCMCLI> ifconfig
IP Addr : 1.1.1.100
Network Mask : 255.255.255.0
Gateway IP : 1.1.1.1
BCMCLI> ifconfig --help
IP Addr : 1.1.1.100
Network Mask : 255.255.255.0
Gateway IP : 1.1.1.1
BCMCLI> ifconfig 192.168.130.40
IP Addr : 1.1.1.100
Network Mask : 255.255.255.0
Gateway IP : 1.1.1.1
BCMCLI> format_cfg
BCMCLI> ls
Usage: ls <dir_name>
Command Failed
BCMCLI> ls .
EDI_WEB/ 2021-11-08 00:00:00 0000000000 bytes
JSON/ 2021-11-08 00:00:00 0000000000 bytes
CERTS/ 2021-11-08 00:00:00 0000000000 bytes
BCMCLI> ls /
EDI_WEB/ 2021-11-08 00:00:00 0000000000 bytes
JSON/ 2021-11-08 00:00:00 0000000000 bytes
CERTS/ 2021-11-08 00:00:00 0000000000 bytes
BCMCLI> ls edi_web
IMAGES/ 2021-11-08 00:00:00 0000000000 bytes
LOGIN.HTM 2021-11-08 00:00:00 0000003401 bytes
INDEX.HTM 2021-11-08 00:00:00 0000003358 bytes
CSS/ 2021-11-08 00:00:00 0000000000 bytes
JS/ 2021-11-08 00:00:00 0000000000 bytes
ISS/ 2021-11-08 00:00:00 0000000000 bytes
MERGE_~1.SH 2021-11-08 00:00:00 0000000184 bytes
BCMCLI> cat logiedi_web
Error opening file for reading : logiedi_web
Command Failed
BCMCLI> cat edi_web
Error opening file for reading : edi_web
Command Failed
BCMCLI> cat edi/_web/merge_~1.sh
Error opening file for reading : edi/_web/merge_~1.sh
Command Failed
BCMCLI> cat /edi_web/merge_~1.sh
#!/bin/bash
cat js/common.js js/form_com.js js/json_com.js js/jq_diag.js js/err_str.js > js/edimax.js
cat css/style.css css/scrobar.css css/frame.css css/jq_diag.css > css/edimax.css
BCM53158 SWITCH firmware Feb 22 2018
boot_src = M7. Initializing M7
Copyright 2015-2017 Broadcom Limited
All rights reserved
Unit 0: ChipID: 53161 Rev 17
Unit 0: Straps: 00005041
Unit 0: PLL1 CH1 POSTDIV 13
LED Boot up -> 0s-3s
Unit 0: LED Refresh cycle config
Unit 0: LED Delay config
Unit 0: LED Strap load
Loading LED Firmware
.......
Unit 0: bootloader LED Start
Buffered Logs:
OTP_FLAGS = 0x8c
Broadcom ROBO OS Bootloader Version 2.4
Bootloader: QSPI flash Model: winbond Size: 128 Mbit
DEVFS: Initializing..
DEVFS: Device /dev/ttyS0 registered
DEVFS: Device /dev/flash0 registered
Press any key to interrupt Auto Boot
1 0 Autoboot starting...
Bootloader: Loading image at 1
Bootloader: Image Version SW-UT2206QG_1.00-0.07
Watchdog timeout value is 1250000000 (4a817c80)
Copyright 2015-2017 Broadcom Limited
All rights reserved
ChipId: BCM53161 RevId: 17
Version Regs:
Software: ROBO_OS_REL_1_4_8 Build: Mon Nov 8 10:15:56 2021
MPU enabled
Unit 0: ChipID: 53161 Rev 17
Unit 0: Straps: 00005041
Unit 0: PLL1 CH1 POSTDIV 10
LED Boot up -> 3s-6s
Unit 0: LED Start
Buffered Logs:
OTP_FLAGS = 0x8c
Watchdog Setup with timeout 1250000000 (4a817c80)
Reading Primary Avenger OTP...
Starting Dynamic AVS Using ROs on Primary Avenger...
Applying Saved Core Voltage:9833 with saved DAC Code: 637.
dwl......avs.c:AvsSetDac=637, cur_dac=637 delta=0
........avs.c:SetPVTctrl setting AVS_PVT_MNTR_CONFIG_PVT_MNTR_CTRL from 0x80 to 0x180
SetAvsVoltage - Final Result: 1
Core Voltage After applying saved AVS results on Primary Avenger: 9821
cbxi_slictcam_init()
QSPI FLASH MPU region re-sized to 16 MB
sal_fs_init_all:114 File system initialized
sal_fs_init_all:122 File system obtained from TOC
sal_fs_init_all:128 File system initialized
cbxi_lin_init()
cbxi_encap_init()
cbx_port_init()
Unit 0 Mac init Ports: 8 9 10 11 12 13 14 15
cbx_lag_init()
cbx_port_create()
Unit 0: PBMP_ALL(unit)=ff00
cbxi_trap_init()
cbxi_stg_init()
cbxi_vlan_init()
cbxi_l2_init()
cbxi_mcast_init()
cbx_mirror_init()
cbx_meter_init()
cbx_cosq_init()
cbx_stat_init()
cbx_cfp_init()
cbx_auth_init()
cbx_link_scan_init()
cbx_link_scan_enable_set()
cbx_pktio_init()
LWIP successfully initialized
LBD enabled
QOS disabled
port 8, pri=0, dp=0
port 9, pri=1, dp=0
port 10, pri=2, dp=0
port 11, pri=3, dp=0
port 12, pri=4, dp=0
port 13, pri=5, dp=0
extPhyIdentify: fport=8, phyaddr=1. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=1 !
phyaddr=1, serdes = 0
extPhyIdentify: fport=9, phyaddr=2. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=2 !
phyaddr=2, serdes = 0
extPhyIdentify: fport=10, phyaddr=3. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=3 !
phyaddr=3, serdes = 0
extPhyIdentify: fport=11, phyaddr=4. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=4 !
phyaddr=4, serdes = 0
extPhyIdentify: fport=12, phyaddr=5. id0=0xffff, id1=0xffff, type=0 !
extPhyIdentify: fport=13, phyaddr=6. id0=0xffff, id1=0xffff, type=0 !
LED Normal
Broadcom Cli Starting....
BCMCLI> cfg_load:533 Loading default configuration from '/json/config.jsn'
Setting IP address to : 1.1.1.100
Setting Network Mask to : 255.255.255.0
Setting Gateway IP to : 1.1.1.1
app_user_account_cfg_load:85 Failed to parse userCfg
app_host_cfg_load:64 Failed to load TRUSTHOST configuration
app_sntp_cfg_load:98 Failed to load SNTP configuration
Failed to load Loopback Detection config from 'cfg:/config.jsn'
Loaded default config for Loopback Detection from '/json/config.jsn'
cfg_json_get:426 Invalid parameters
Starting web server on port :80
uport = 0, fport=8, flow =0
uport = 1, fport=9, flow =0
uport = 2, fport=10, flow =0
uport = 3, fport=11, flow =0
uport = 4, fport=12, flow =0
uport = 5, fport=13, flow =0
------->rand=0x10993dc2 , link=1
lbd=enabled, port 1 link up, wait 3 secs to forward traffic!
port set attribute speed , port:9,speed:2500 (last_speed:0)
uport = 1, fport=9, flow =1
lbd=enabled, port 1 , reach 3 secs, now forward traffic!
ifconfig
IP Addr : 1.1.1.100
Network Mask : 255.255.255.0
Gateway IP : 1.1.1.1
BCMCLI> ls
Usage: ls <dir_name>
Command Failed
BCMCLI>
BCMCLI> ls /
EDI_WEB/ 2021-11-08 00:00:00 0000000000 bytes
JSON/ 2021-11-08 00:00:00 0000000000 bytes
CERTS/ 2021-11-08 00:00:00 0000000000 bytes
BCMCLI>
BCMCLI> ls json/
Command Failed
BCMCLI>
BCMCLI> ls /json
CONFIG.JSN 2021-11-08 00:00:00 0000004389 bytes
README.TXT 2021-11-08 00:00:00 0000000028 bytes
BCMCLI>
BCMCLI> ls
Usage: ls <dir_name>
Command Failed
BCMCLI> stop ip/arp traffic !
reboot␃␄
BCM53158 SWITCH firmware Feb 22 2018
boot_src = M7. Initializing M7
Copyright 2015-2017 Broadcom Limited
All rights reserved
Unit 0: ChipID: 53161 Rev 17
Unit 0: Straps: 00005041
Unit 0: PLL1 CH1 POSTDIV 13
LED Boot up -> 0s-3s
Unit 0: LED Refresh cycle config
Unit 0: LED Delay config
Unit 0: LED Strap load
Loading LED Firmware
.......
Unit 0: bootloader LED Start
Buffered Logs:
OTP_FLAGS = 0x8c
Broadcom ROBO OS Bootloader Version 2.4
Bootloader: QSPI flash Model: winbond Size: 128 Mbit
DEVFS: Initializing..
DEVFS: Device /dev/ttyS0 registered
DEVFS: Device /dev/flash0 registered
Press any key to interrupt Auto Boot
1 0 Autoboot starting...
Bootloader: Loading image at 1
Bootloader: Image Version SW-UT2206QG_1.00-0.07
Watchdog timeout value is 1250000000 (4a817c80)
Copyright 2015-2017 Broadcom Limited
All rights reserved
ChipId: BCM53161 RevId: 17
Version Regs:
Software: ROBO_OS_REL_1_4_8 Build: Mon Nov 8 10:15:56 2021
MPU enabled
Unit 0: ChipID: 53161 Rev 17
Unit 0: Straps: 00005041
Unit 0: PLL1 CH1 POSTDIV 10
LED Boot up -> 3s-6s
Unit 0: LED Start
Buffered Logs:
OTP_FLAGS = 0x8c
Watchdog Setup with timeout 1250000000 (4a817c80)
Reading Primary Avenger OTP...
Starting Dynamic AVS Using ROs on Primary Avenger...
Applying Saved Core Voltage:9833 with saved DAC Code: 637.
dwl......avs.c:AvsSetDac=637, cur_dac=637 delta=0
........avs.c:SetPVTctrl setting AVS_PVT_MNTR_CONFIG_PVT_MNTR_CTRL from 0x80 to 0x180
SetAvsVoltage - Final Result: 1
Core Voltage After applying saved AVS results on Primary Avenger: 9816
cbxi_slictcam_init()
QSPI FLASH MPU region re-sized to 16 MB
sal_fs_init_all:114 File system initialized
sal_fs_init_all:122 File system obtained from TOC
sal_fs_init_all:128 File system initialized
cbxi_lin_init()
cbxi_encap_init()
cbx_port_init()
Unit 0 Mac init Ports: 8 9 10 11 12 13 14 15
cbx_lag_init()
cbx_port_create()
Unit 0: PBMP_ALL(unit)=ff00
cbxi_trap_init()
cbxi_stg_init()
cbxi_vlan_init()
cbxi_l2_init()
cbxi_mcast_init()
cbx_mirror_init()
cbx_meter_init()
cbx_cosq_init()
cbx_stat_init()
cbx_cfp_init()
cbx_auth_init()
cbx_link_scan_init()
cbx_link_scan_enable_set()
cbx_pktio_init()
LWIP successfully initialized
LBD enabled
QOS disabled
port 8, pri=0, dp=0
port 9, pri=1, dp=0
port 10, pri=2, dp=0
port 11, pri=3, dp=0
port 12, pri=4, dp=0
port 13, pri=5, dp=0
extPhyIdentify: fport=8, phyaddr=1. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=1 !
phyaddr=1, serdes = 0
extPhyIdentify: fport=9, phyaddr=2. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=2 !
phyaddr=2, serdes = 0
extPhyIdentify: fport=10, phyaddr=3. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=3 !
phyaddr=3, serdes = 0
extPhyIdentify: fport=11, phyaddr=4. id0=0x1c, id1=0xc848, type=3 !
rtlPhyInit: phyaddr=4 !
phyaddr=4, serdes = 0
extPhyIdentify: fport=12, phyaddr=5. id0=0xffff, id1=0xffff, type=0 !
extPhyIdentify: fport=13, phyaddr=6. id0=0xffff, id1=0xffff, type=0 !
LED Normal
Broadcom Cli Starting....
BCMCLI> cfg_load:533 Loading default configuration from '/json/config.jsn'
Setting IP address to : 1.1.1.100
Setting Network Mask to : 255.255.255.0
Setting Gateway IP to : 1.1.1.1
app_user_account_cfg_load:85 Failed to parse userCfg
app_host_cfg_load:64 Failed to load TRUSTHOST configuration
app_sntp_cfg_load:98 Failed to load SNTP configuration
Failed to load Loopback Detection config from 'cfg:/config.jsn'
Loaded default config for Loopback Detection from '/json/config.jsn'
cfg_json_get:426 Invalid parameters
Starting web server on port :80
uport = 0, fport=8, flow =0
uport = 1, fport=9, flow =0
uport = 2, fport=10, flow =0
uport = 3, fport=11, flow =0
uport = 4, fport=12, flow =0
uport = 5, fport=13, flow =0
------->rand=0xbf7dd5c2 , link=1
lbd=enabled, port 1 link up, wait 3 secs to forward traffic!
port set attribute speed , port:9,speed:2500 (last_speed:0)
uport = 1, fport=9, flow =1
lbd=enabled, port 1 , reach 3 secs, now forward traffic!
can_login_sec=50, current_s_count=0
can_login_sec=38, current_s_count=0
can_login_sec=30, current_s_count=0
stop ip/arp traffic !
list
Unknown Command list
BCMCLI> help
getparam <name>
setparam <name> <value>
ifconfig
ls <dir_name>
rm <file_name>
rmdir <dir_name>
cat <file_name>
format_cfg
heap_stats
lldp print_mib
lldp <all|port_num> <tx|rx> <on|off>
igmpsnoop <enable|disable>
igmpsnoop stats_get
igmpsnoop stats_reset
stack_stats
pkt_trace <tx|rx|all|off>
cb_counters <unit>
port_counters <port|cpu>
<port>
getreg <register>
setreg <register> <value>
hparegdump <unit>
lwipstats
port_status <unit>
rstp forceversion <stp|rstp>
rstp fwddelay <value>
rstp maxage <value>
rstp priority <value>
rstp admin <port> <enable|disable>
rstp edge <port> <enable|disable>
rstp ptpmac <port> <enable|disable>
rstp mcheck <port> <enable|disable>
rstp ppriority <port>dump_table <tid> <start> <num entries>
pkt_send <port> <vlan> <mgid> <tagged> <mode>
Mode is Ucast(0x20000) Mcast(0x40000)
Tagged = 0 for untagged packet
wdt test
fw_toggle
led_dump
led_set <offset> <val>
gpio_read
led_lb_sys <1/0>
dump_phy_driver
phyread <addr> <reg>