一,忘记密码按以下操作超级账号密码passwordforgetme!!Admin 密码修改ArubaS2500-24P) (config) #mgmt-user admin rootPassword:******** //admin123!Re-Type password:******** //admin123!(ArubaS2500-24P) (config) #endEnable 密码重新设置(ArubaS2500-24P) (config) #enable secret?secret Enter the enable password (ArubaS2500-24P) (config) #enable secretPassword:****** 、直接输入新密码、Re-Type password:****** 再次输入这个账号只能用于需改密码,需要配置的话要退出用admin账号进入才能操作二,交换机初始化<<<<< Welcome to Aruba Networks - Aruba S2500-24P >>>>>User: adminPassword: ******** ///admin123//默认密码(ArubaS2500-24P) >enablePassword:****** //enableQuick-setup helps in setting the basic configuration of the systemAutoconfiguration of system will be stopped, if Quick-setup is launched by userInvoke Quick-setup (y|n)??? [y]:y***************** Welcome to the ArubaS2500-24P setup dialog *****************This dialog will help you to set the basic configuration for the switch.These settings, except for the Country Code, can later be changed from theCommand Line Interface or Graphical User Interface.Commands: Submit input or use [default value], Help Back, Forward, Line begin, Line end Delete, Delete back, Delete to end of line Previous question , Restart beginning, to exitEnter System name [ArubaS2500-24P]: aruba2500-xmu-2fConfigure inband management VLAN [yes|no]: yes 是否开启管理VLANInband management vlan id [1]: 711 管理VLAN段Enter the member interfaces for management VLAN (Example 0/0/0,0/0/1): 0/0/23,0/1/1 添加需要trunk的端口Enter management VLAN IP address [172.16.0.254]: 172.31.11.2 管理ipEnter mgmt VLAN interface subnet mask [255.255.255.0]: 回车Enter Out of band management interface IP address [none]: 回车Enter IP Default gateway [none]: 172.31.11.1 网关Enter Country code (ISO-3166), for supported list: CN 中国You have chosen Country code CN for China (yes|no)?: yesEnter Time Zone [PST-8:0]: CST+8:0Enter Time in UTC [03:48:15]: Enter Date (MM/DD/YYYY) [7/4/2013]: Enter Password for admin login (up to 32 chars): ********* //admin123!Re-type Password for admin login: ********* //admin123! Enter Password for enable mode (up to 15 chars): ****** //enablleRe-type Password for enable mode: ****** //enable Current choices are:System name: aruba2500-xmu-2fConfigure inband management VLAN: yesvlan id for inband management [1-4094]: 711Members interfaces of management VLAN: 0/0/23,0/1/1IP address of management VLAN: 172.31.11.2Management VLAN interface subnet mask: 255.255.255.0IP Default gateway: 172.31.11.1Country code: CNTime Zone: CST+8:0Type to go back and change answer for any questionDo you wish to accept the changes (yes|no|abort): yesCreating configuration... Done.Configuring...Saving Configuration...Configuration Saved.(aruba2500-xmu-2f) #configure terEnter Configuration commands, one per line. End with CNTL/Z (aruba2500-xmu-2f) (config) #telnet cli //开启telnet功能(aruba2500-xmu-2f) (config) #end(aruba2500-xmu-2f) #show ip interface brief Interface IP Address / IP Netmask Admin Protocolvlan 711 172.31.11.2 / 255.255.255.0 Up Up mgmt unassigned / unassigned Up Down(aruba2500-xmu-2f) #ping 172.31.11.1 Press q to abort.Sending 5, 100-byte ICMP Echos to 172.31.11.1, timeout is 2 seconds:.....Success rate is 0 percent (0/5)(aruba2500-xmu-2f) #ping 172.31.11.1 (aruba2500-xmu-2f) #configure ter(aruba2500-xmu-2f) (config) #interface-group gigabitethernet ap 创建端口组(aruba2500-xmu-2f) (gigabitethernet "ap") #apply-to 0/0/0-0/0/23 把0/0/0-0/0/23加入组中(aruba2500-xmu-2f) (gigabitethernet "ap") #exit(aruba2500-xmu-2f) (switching profile "ap") #vlan 712 创建 vlan712(我给AP用的)(aruba2500-xmu-2f) (VLAN "712") #exit(aruba2500-xmu-2f) (config) #interface-profile switching-profile ap (aruba2500-xmu-2f) (switching profile "ap") #access-vlan 712 关联(aruba2500-xmu-2f) (switching profile "ap") #exit(aruba2500-xmu-2f) (config) #interface-profile poe-profile ap(aruba2500-xmhu-2f) (Power over Ethernet profile "ap") #enable 开启POE供电功能(aruba2500-xmu-2f) (Power over Ethernet profile "ap") #exit(aruba2500-xmu-2f) (config) #interface-group gigabitethernet ap(aruba2500-xmu-2f) (gigabitethernet "ap") #switching-profile ap 应用到端口(aruba2500-xmu-2f) (gigabitethernet "ap") #poe-profile ap 应用到端口(aruba2500-xmu-2f) (gigabitethernet "ap") #end如果想把那个端口trunk,可以这样(aruba2500-xmu-2f) (config) #interface g 0/0/2 (aruba2500-xmu-2f) #s。