CASES案例

我们的作品,他们的故事
Our work, their stories

华为AP3010DN-AGN胖模式超级终端二层调试

  • 名称:华为AP3010DN-AGN胖模式超级终端二层调试
  • 分类:企业应用
  • TAG:平移闸昆山北京
VISIT SITE 访问该网站
华为AP3010DN-AGN华为无线覆盖华为设备调试,昆山华为网络设备供应商
 
 
Login authentication
 
 
Username:admin
Password:
 
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.130 (AP3010DN FIT V200R003C00SPCa00)
Copyright (C) 2011-2014 HUAWEI TECH CO., LTD
Huawei AP3010DN Router uptime is 0 week, 0 day, 0 hour, 1 minute
 
MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
SDRAM Memory Size    : 128     M bytes
Flash Memory Size    : 32      M bytes
MPU version information :
1. PCB      Version  : H85D2TD1D200 VER.B
2. MAB      Version  : 0
3. Board    Type     : AP3010DN
4. BootROM  Version  : 85
 
 [Huawei]ap-mode-switch prepare
Info: Prepare is ok,Use ap-mode-switch command to switch to fat ap.
 
[Huawei]ap-mode-switch check
Info: Ap-mode-switch check ok.
 
 
[Huawei]ap-mode-switch tftp ?
  STRING<1-127>  Version file name
[Huawei]ap-mode-switch tftp FatAP3X10XN_V200R003C00SPC200.bin ?
  IP_ADDR<X.X.X.X>  Server IP address
[Huawei]ap-mode-switch tftp FatAP3X10XN_V200R003C00SPC200.bin 192.168.1.200 ?
  <cr>  Please press ENTER to execute command
[Huawei]ap-mode-switch tftp FatAP3X10XN_V200R003C00SPC200.bin 192.168.1.200
Error: Can not connect to the remote host or the device can not ap-mode-switch b
y Sub-IP.
 
[Huawei]int vlanif1
[Huawei-Vlanif1]dis this
#
interface Vlanif1
 ip address 169.254.1.1 255.255.0.0
#
return
[Huawei-Vlanif1]ip add 192.168.1.105 255.255.255.0
[Huawei-Vlanif1]qu
[Huawei]ap-mode-switch tftp ?
  STRING<1-127>  Version file name
[Huawei]ap-mode-switch tftp FatAP3X10XN_V200R003C00SPC200.bin ?
  IP_ADDR<X.X.X.X>  Server IP address
[Huawei]ap-mode-switch tftp FatAP3X10XN_V200R003C00SPC200.bin 192.168.1.200 ?
  <cr>  Please press ENTER to execute command
[Huawei]ap-mode-switch tftp FatAP3X10XN_V200R003C00SPC200.bin 192.168.1.200
Warning: Do Not Power-off!
................................................................................
................................................................
Info: Upgrade upgrade-assistant-package successfully!
Warning: System will reboot, if you want to switch to upgrade-assistant-package.
 Are you sure to execute these operations ? [Y/N]: y
Info: system is rebooting ,please wait...
Try hardware rebooting...
 
 
       ************************************************************
       **********************    *********    *********************
       ********************       *******       *******************
       ******************         *******         *****************
       ***********    ***          *****          ***    **********
       *********       ***         *****         ***      *********
       ********          **         ***         **         ********
       ********           **        ***        **          ********
       *********           **       ***       **          *********
       ***********          **      ***      **         ***********
       *****      ***         **    ***    **        ***      *****
       *****          ***      **  *****  **     ***          *****
       ******             ***   **********   ***             ******
       *********                 ********                 *********
       ************************************************************
       **********             **************             **********
       *************  ******************************  *************
       ************************************************************
 
                        Welcome To HUAWEI AP World
 
 
UBoot V200R003 version-085 (Sep 22 2014 - 12:57:30)
 
DRAM:  128 MB
Press c or C to Begin DDR Bus Test in 1 Seconds:  0
Flash: 32 MB
PCIE:  PCIe Clock 40MHz
Board Type:      7
PHY Address:     4
Ethernet Mac: 80-38-BC-01-20-00
 
Image: Current Bootup is B
Image: Current Bootup is B
Current master bootup parameter area is B
Boot Kernel A Address: 0x9eae3000
Boot Kernel B Address: 0x9f860000
Info:Environment variable with the address of the actual kernelB in the flash do
es not match, need reset
Erasing Flash...Writing to Flash... done
Press j or J to stop Bus-Test in 1 seconds:   0
Bus test starting...
PCIE  bus  test OK.
Local bus  test OK.
DDR   bus  test OK.
RGMII bus  test OK.
Bus test ending...
 
Save Bus Test Result Successful
 
Press f or F  to stop Auto-Boot in 3 seconds:  0
   Uncompressingzzy Kernel Image ... OK
 
Starting kernel ...
 
Booting Atheros AR934x
Linux version 2.6.34.10-WR4.3.0.0_standard (gcc version 4.5.2 (Sourcery CodeBenc
h Lite 2011.03-93) )
#2 PREEMPT Wed Sep 25 08:26:29 CST 2013
flash_size passed from bootloader = 32 MB
arg 1: console=ttyS0,9600
arg 2: root=/dev/mtdblock10
arg 3: rootfstype=squashfs
arg 4: init=/sbin/init
arg 5: mtdparts=ath-nor0:512k(BiosA),128k(BootupA),128k(BootupB),128k(BootEnv),1
28k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(ResultA),128k(R
esultB),12288k(SysImageB),3072k(configB),256k(ArtArgs);
arg 6: mem=126M
ath_sys_frequency: cpu apb,ddr apb,cpu-480MHZ,ddr-400MHZ,ahb-240MHZ
Zone PFN ranges:
  Normal   0x00000000 -> 0x00007e00
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00007e00
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32004
Kernel command line: console=ttyS0,9600 root=/dev/mtdblock10 rootfstype=squashfs
 init=/sbin/init mtdparts=ath-nor0:512k(BiosA),128k(BootupA),128k(BootupB),128k(
BootEnv),128k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(Resul
tA),128k(ResultB),12288k(SysImageB),3072k(configB),256k(ArtArgs); mem=126M
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
FWD_MEM: aligned address 82000000
FWD_MEM: 02000000
FWD_MEM: Allocating 22MB (5760 pages) of memory at addr 82000000
 
the pci irq_base value: 64
plat_time_init:.............................................................done
 
Mount-cache hash table entries: 512
Registering WDT.............................................................done
 
PCI init:...................................................................done
 
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
Returning IRQ ................................................................64
 
ath_init_ioctl..............................................................done
 
mtd: no mtd-id
ath_flash_init..............................................................done
 
Registering OTP.............................................................done
 
Registering Clock Switch Interface..........................................done
 
starting pid 42, tty '': '/etc/init.d/rcS'
MIMC_KERNEL: Module init.
 
enable_rx 839: init_phy_eee: control = 0x1000
Config ip address, please wait a moment.
Config ip address successfully.
Info: Wait a moment that depending on network environment for downloading versio
n file from server.
FatAP3X10XN_V200R003 100% |*******************************| 22445k --:--:-- ETA
Do not power-off, ap is writing flash...........................................
................................................................................
................................................................................
................................................................................
.....
Info: Upgrade successfully .
starting pid 157, tty '': '/sbin/swapoff -a'
can't run '/sbin/swapoff': No such file or directory
starting pid 158, tty '': '/bin/umount -a -r'
umount: tmpfs busy - remounted read-only
umount: none busy - remounted read-only
umount: /proc busy - remounted read-only
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
Restarting system.
Try hardware rebooting...
 
 
       ************************************************************
       **********************    *********    *********************
       ********************       *******       *******************
       ******************         *******         *****************
       ***********    ***          *****          ***    **********
       *********       ***         *****         ***      *********
       ********          **         ***         **         ********
       ********           **        ***        **          ********
       *********           **       ***       **          *********
       ***********          **      ***      **         ***********
       *****      ***         **    ***    **        ***      *****
       *****          ***      **  *****  **     ***          *****
       ******             ***   **********   ***             ******
       *********                 ********                 *********
       ************************************************************
       **********             **************             **********
       *************  ******************************  *************
       ************************************************************
 
                        Welcome To HUAWEI AP World
 
 
UBoot V200R003 version-078 (Sep 25 2013 - 08:21:21)
 
DRAM:  128 MB
Press c or C to Begin DDR Bus Test in 1 Seconds:  0
Flash: 32 MB
PCIE:  PCIe Clock 40MHz
Board Type:      7
PHY Address:     4
Ethernet Mac: 80-38-BC-01-20-00
 
Image: Current Bootup is A
Image: Current Bootup is A
Current master bootup parameter area is A
Boot Kernel A Address: 0x9f53d000
Boot Kernel B Address: 0x9f860000
Info:Environment variable with the address of the actual kernelA in the flash do
es not match, need reset
Erasing Flash...Writing to Flash... done
Info:Environment variable with the address of the actual kernelB in the flash do
es not match, need reset
Erasing Flash...Writing to Flash... done
Press j or J to stop Bus-Test in 1 seconds:   0
Bus test starting...
PCIE  bus  test OK.
Local bus  test OK.
DDR   bus  test OK.
RGMII bus  test OK.
Bus test ending...
 
Save Bus Test Result Successful
 
Press f or F  to stop Auto-Boot in 3 seconds:  0
   Uncompressingzzy Kernel Image ... OK
 
Starting kernel ...
 
Booting Atheros AR934x
Linux version 2.6.34.10-WR4.3.0.0_standard (gcc version 4.5.2 (Sourcery CodeBenc
h Lite 2011.03-93) )
#1 PREEMPT Wed Sep 25 08:11:18 CST 2013
flash_size passed from bootloader = 32 MB
arg 1: console=ttyS0,9600
arg 2: root=/dev/mtdblock5
arg 3: rootfstype=squashfs
arg 4: init=/sbin/init
arg 5: mtdparts=ath-nor0:512k(BiosA),128k(BootupA),128k(BootupB),128k(BootEnv),1
28k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(ResultA),128k(R
esultB),12288k(SysImageB),3072k(configB),256k(ArtArgs);
arg 6: mem=126M
ath_sys_frequency: cpu apb,ddr apb,cpu-480MHZ,ddr-400MHZ,ahb-240MHZ
Zone PFN ranges:
  Normal   0x00000000 -> 0x00007e00
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00007e00
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32004
Kernel command line: console=ttyS0,9600 root=/dev/mtdblock5 rootfstype=squashfs
init=/sbin/init mtdparts=ath-nor0:512k(BiosA),128k(BootupA),128k(BootupB),128k(B
ootEnv),128k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(Result
A),128k(ResultB),12288k(SysImageB),3072k(configB),256k(ArtArgs); mem=126M
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
FWD_MEM: aligned address 82000000
FWD_MEM: 02000000
FWD_MEM: Allocating 22MB (5760 pages) of memory at addr 82000000
 
the pci irq_base value: 64
plat_time_init:.............................................................done
 
Mount-cache hash table entries: 512
Registering WDT.............................................................done
 
PCI init:...................................................................done
 
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
Returning IRQ ................................................................64
 
ath_init_ioctl..............................................................done
 
mtd: no mtd-id
ath_flash_init..............................................................done
 
Registering OTP.............................................................done
 
Registering Clock Switch Interface..........................................done
 
VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
starting pid 21, tty '': '/etc/init.d/rcS'
ifconfig: socket: Address family not supported by protocol
MSS_PUB Version [1.04], build on Date : [Sep 25 2013], Time : [08:22:10]
MIMC_KERNEL: Module init.
Drv_ap_api module:Init
Disabling lock debugging due to kernel taint
Mount fsimage type: patch
User fs folder    : /opt
Loop device       : /dev/loop0
Mount folder      : /mnt/patch
Get file name from fldesc failed,wrong length(0x50)!
AP wa6x5 cap32 start
MSS_PUB Version [1.04], build on Date : [Sep 25 2013], Time : [08:19:28]
 
VOS_Start ......
 
data_pool_read 333: Data pool type 8 does not exist.
 
ERROR:get_ap_protectfile 4947: Get Protect File Fail
......OK
VRP_SockTm_Init create............OK
 
data_pool_read 333: Data pool type 6 does not exist.
 
ERROR:get_ap_factoryresetflag 4756: get data_pool_read failed!
Calling stub: SYN_PreStart_SetInterfaceNull
 
 
  Press any key to get started
 
Please configure the login password (maximum length 16)
Enter password:
Confirm password:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.130 (AP3010DN FAT V200R003C00SPC200)
Copyright (C) 2011-2013 HUAWEI TECH CO., LTD
Huawei AP3010DN Router uptime is 0 week, 0 day, 0 hour, 1 minute
 
MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
SDRAM Memory Size    : 128     M bytes
Flash Memory Size    : 32      M bytes
MPU version information :
1. PCB      Version  : H85D2TD1D200 VER.B
2. MAB      Version  : 0
3. Board    Type     : AP3010DN
4. BootROM  Version  : 78
 
从这里开始:
[Huawei]int GigabitEthernet 0/0/0
 
[Huawei-GigabitEthernet0/0/0]undo lldp en
Info: The LLDP is disable on the port successfully.
[Huawei-GigabitEthernet0/0/0]qu
[Huawei]int Wlan-Bss 1  
[Huawei-Wlan-Bss1]port hybrid pvid vlan 1
[Huawei-Wlan-Bss1]port hybrid untagged vlan 1
[Huawei-Wlan-Bss1]dis this
#
interface Wlan-Bss1
#
return
[Huawei-Wlan-Bss1]qu
[Huawei]wlan
[Huawei-wlan-view]wmm-profile name huawei
[Huawei-wlan-wmm-prof-huawei]quit
[Huawei-wlan-view]radio-profile name huawei
[Huawei-wlan-radio-prof-huawei]wmm-profile name huawei
[Huawei-wlan-radio-prof-huawei]quit
[Huawei-wlan-view]traffic-profile name huawei
[Huawei-wlan-traffic-prof-huawei]quit
 
[Huawei-wlan-view]security-profile name huawei
[Huawei-wlan-sec-prof-huawei]security-policy ?
  wapi      WLAN authentication and privacy infrastructure
  wep       Wired equivalent privacy
  wpa       Wi-Fi protected access
  wpa-wpa2  Wi-Fi protected access version 1&2
  wpa2      Wi-Fi protected access version 2
 
[Huawei-wlan-sec-prof-huawei]wpa2 authentication-method psk pass-phrase cipher h
uawei.com encryption-method ccmp
[Huawei-wlan-sec-prof-huawei]dis this
#
  security-policy wpa2
  wpa2 authentication-method psk pass-phrase cipher %@%@]8a70$tpAQYQ1R*(;}1Oz$Yi
%@%@ encryption-method ccmp
#
return
[Huawei-wlan-sec-prof-huawei]
 
[Huawei-wlan-view]service-set name huawei
[Huawei-wlan-service-set-huawei]ssid JRBAP
[Huawei-wlan-service-set-huawei]security-profile name ?
  STRING<1-31>  Security profile name
[Huawei-wlan-service-set-huawei]security-profile name huawei
[Huawei-wlan-service-set-huawei]traffic-profile name huawei
[Huawei-wlan-service-set-huawei]wlan-bss 1
[Huawei-wlan-service-set-huawei]dis this
#
  Wlan-Bss 1
  ssid JRBAP
  traffic-profile id 0
  security-profile id 0
#
return
[Huawei-wlan-service-set-huawei]qu
[Huawei-wlan-view]qu
 
[Huawei]int Wlan-Radio 0/0/0
[Huawei-Wlan-Radio0/0/0]radio-profile name huawei
 Warning: Modify the Radio type may cause some parameters of Radio resume defaul
t value, are you sure to continue?[Y/N]:y
[Huawei-Wlan-Radio0/0/0]service-set name huawei
[Huawei-Wlan-Radio0/0/0]dis this
#
interface Wlan-Radio0/0/0
 radio-profile id 0
 service-set id 0 wlan 1
#
return
[Huawei-Wlan-Radio0/0/0]qu
[Huawei]qu
<Huawei>sa
  The current configuration will be written to the device.
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait..........
.....................
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<Huawei>