Aruba 交换机基本操作命令

登录:

(Aruba2400)
User: admin
Password: *****  (缺省口令通常是admin
NOTICE
NOTICE -- This switch has active licenses that will expire in 26 days
NOTICE
NOTICE -- See 'show license' for details.
NOTICE

 

(Aruba2400) >en
Password:*****  (缺省口令通常是admin
(Aruba2400) #

 

恢复出厂值:

(Aruba2400) #write erase
All the configuration will be deleted. Press 'y' to proceed :
Write Erase successful
(Aruba2400) #reload
Do you really want to reset the system(y/n): y
――――――――
Aruba交换机重启
――――――――

 

 

初始化配置:

Enter System name [Aruba2400]:
Enter VLAN 1 interface IP address [172.16.0.254]:
Enter VLAN 1 interface subnet mask [255.255.255.0]:
Enter IP Default gateway [none]:
Enter Switch Role, (master|local) [master]:
Enter Country code (ISO-3166), for supported list: CN
You have chosen Country code CN for China (yes|no)?: y
Enter Password for admin login (up to 32 chars): *****
Re-type Password for admin login: *****
Enter Password for enable mode (up to 15 chars): *****
Re-type Password for enable mode: *****
Do you wish to shutdown all the ports (yes|no)? [no]:

 

Current choices are:

 

System name: Aruba2400
VLAN 1 interface IP address: 172.16.0.254
VLAN 1 interface subnet mask: 255.255.255.0
IP Default gateway: none
Switch Role: master
Country code: CN
Ports shutdown: no

 

If you accept the changes the switch will restart!
Type to go back and change answer for any question
Do you wish to accept the changes (yes|no)y
Creating configuration... Done.

 

 

保存配置参数:

(Aruba2400) #configure t
(Aruba2400) #write m

 

 

保存配置文件:

(Aruba2400) >en
Password:*****
(Aruba2400) #configure t
(Aruba2400) # copy running-config tftp: 192.168.4.100 aruba2400-0904.cfg

 

 

恢复配置文件:

(Aruba2400) >en
Password:*****
(Aruba2400) #configure t
(Aruba2400) (config) #copy tftp: 172.16.0.100 aruba2400-0904.cfg flash: 2400.bak
(Aruba2400) (config) #copy flash: 2400.bak flash: 2400.cfg

 

(Aruba2400) (config) #boot config-file 2400.cfg
(Aruba2400) (config) #reload
Do you really want to reset the system(y/n): y
System will now restart!

 

 

Image 升级:

(Aruba200) #show boot
Config File: default.cfg

 

 

Boot Partition: PARTITION 0

 

(Aruba2400) #show p_w_picpath version
(Aruba2400) #copy tftp: 172.16.1.50 A2400_FCS2.0.X_6577 system: partition 1
Upgrading partition 1

 

 

(Aruba2400) #reload
(Aruba200) #boot system partition 1

 

 

 

 

PCSOE
重启AP
2秒内Stop
>purge
>save
>boot

 

 

A800
login as: admin

[email protected]'s password:

(Aruba-master) >enable

Password:******

(Aruba-master) #configure terminal

Enter Configuration commands, one per line. End with CNTL/Z

 

(Aruba-master) (config) #telnet soe

 

telnet 172.16.0.254 2300
connect 1/2

 

 

 

Once SOE is enabled, you can connect to the AP serial port with the following procedure:

 

1           Telnet to the Aruba mobility controller using port 2300
2           Log in using the admin account
3           Connect to the Ethernet port that the AP is attached to

 

User: admin

Password: *****

Available commands:

  connect

  exit (no args)

soe> connect 2/0

Connecting to 2/0 at 9600 baud 8N1

Type "~." to disconnect