aruba交换机配置-实战篇
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
(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)
Commands: <Enter> Submit input or use [default value], <ctrl-I> Help <ctrl-B> Back, <ctrl-F> Forward, <ctrl-A> Line begin, <ctrl-E> Line end <ctrl-D> Delete, <BackSpace> Delete back, <ctrl-K> Delete to end of line <ctrl-P> Previous question <ctrl-X>, Restart beginning, <ctrl-C> to exit
(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 供电功能
//admin123!
Enter Password for enable mode (up to 15 chars): ******
Байду номын сангаас
//enablle
Re-type Password for enable mode: ******
//enable
Current choices are:
System name: aruba2500-xmu-2f
//开启telnet功能
(aruba2500-xmu-2f) (config) #end
(aruba2500-xmu-2f) #show ip interface brief
Interface vlan 711 mgmt
IP Address / IP Netmask Admin Protocol 172.31.11.2 / 255.255.255.0 Up Up unassigned / unassigned Up Down
Configure inband management VLAN: yes vlan id for inband management [1-4094]: 711 Members interfaces of management VLAN: 0/0/23,0/1/1 IP address of management VLAN: 172.31.11.2 Management VLAN interface subnet mask: 255.255.255.0 IP Default gateway: 172.31.11.1 Country code: CN Time Zone: CST+8:0
(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) #switching-profile Upstream-profile 删除的话就加no (aruba2500-xmu-2f) #no switching-profile Upstream-profile
二,交换机初始化 <<<<< Welcome to Aruba Networks - Aruba S2500-24P >>>>>
User: admin Password: ******** ///admin123//默认密码 (ArubaS2500-24P) >enable Password:****** //enable Quick-setup helps in setting the basic configuration of the system
一,忘记密码按以下操作 超级账号密码
password forgetme! ! Admin 密码修改
ArubaS2500-24P) (config) #mgmt-user admin root Password:******** //admin123! Re-Type password:******** //admin123! (ArubaS2500-24P) (config) #end Enable 密码重新设置
Enter 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: *********
网关
Enter Country code (ISO-3166), <ctrl-I> for supported list: CN 中国
You have chosen Country code CN for China (yes|no)?: yes
Enter Time Zone [PST-8:0]: CST+8:0
如果要把那个端口加入vlan20 (aruba2500-xmu-2f) #vlan 20 (aruba2500-xmu-2f) (VLAN "20") #exit (aruba2500-xmu-2f) (config) #interface-profile switching-profile 20
(aruba2500-xmu-2f) (switching profile "ap") #access-vlan 20
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 管理ip
Autoconfiguration of system will be stopped, if Quick-setup is launched by user
Invoke 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 the Command Line Interface or Graphical User Interface.
Type <ctrl-P> to go back and change answer for any question Do you wish to accept the changes (yes|no|abort): yes Creating configuration... Done.
Configuring...
Saving Configuration...
Configuration Saved.
(aruba2500-xmu-2f) #configure ter
Enter Configuration commands, one per line. End with CNTL/Z
(aruba2500-xmu-2f) (config) #telnet cli
(ArubaS2500-24P) (config) #enable secret?
secret
Enter the enable password
(ArubaS2500-24P) (config) #enable secret Password:****** 、直接输入新密码、 Re-Type password:****** 再次输入 这个账号只能用于需改密码,需要配置的话要退出用admin账号进入才 能操作
Enter System name [ArubaS2500-24P]: aruba2500-xmu-2f
Configure inband management VLAN [yes|no]: yes 是否开启管理VLAN
Inband management vlan id [1]: 711
管理VLAN段
Enter 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
(aruba2500-xmu-2f) (config) #interface g 0/0/2
(aruba2500-xmu-2f) #switching-profile 20 删除就加no (aruba2500-xmu-2f) #no switching-profile 20或者 (aruba2500-xmu-2f) #no switching-profile 三,升级配置把网线接到23口,电脑开启tftp服务器软件 ArubaS2500-24P) (config) #interface-profile switching-profile ftp //--创建模 板FTP (ArubaS2500-24P) (switching profile "ftp") #access-vlan 1 关联vlan1 (ArubaS2500-24P) (switching profile "ftp") #exit (ArubaS2500-24P) (config) #interface gigabitethernet 0/0/23 (ArubaS2500-24P) (gigabitethernet "0/0/23") #switching-profile ftp //启用 ftp (ArubaS2500-24P) (gigabitethernet "0/0/23") #exit (ArubaS2500-24P) (config) #interface vlan 1 (ArubaS2500-24P) (vlan "1") #ip address 10.0.0.1 255.0.0.0 (ArubaS2500-24P) (vlan "1") #exit (ArubaS2500-24P) (config) #end (ArubaS2500-24P) #ping 10.0.0.5