Chinaunix首页 | 论坛 | 博客
  • 博客访问: 236397
  • 博文数量: 49
  • 博客积分: 3040
  • 博客等级: 少校
  • 技术积分: 450
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-29 09:28
文章分类

全部博文(49)

文章存档

2011年(8)

2010年(16)

2009年(25)

分类: 系统运维

2011-07-20 11:42:39

    公司在初始建设的时候采购了Cisco WLC4404,这是一台很好的设备。在前一个公司,我做梦都想搞自己的无线网络。可以到了现在单位,这个无线完全由移动的WLAN来覆盖,使用WLAN的设备,负载上我们自己的SSID,移动的网络,可想而知,用起来不是今天这里有问题,就是那里信号不好。老郁闷了。。。。
终于有一天,一年后的一天,老板因为活动的需要,要增加无线覆盖点,而且要求不与移动网络有瓜葛,要自己做。好激动啊。。。。
    方案,报价都来了,结果老板说要整合工程方案,将无线方案整合到另一个合同中,而这个合同一直拖着批不下来,等ing.....
 
    好在,在拿方案的时候,从以前一个很好的vendor那里借了一个cisco1130G的胖AP过来,想测试无线覆盖是否能够达到设计的需要。方案一直拖,但那哥们比较好,AP一直放在我这里,这两天,心情来了,有这样好的条件,不实践一下,那可真浪费资源啊!万一哪天,哥们要AP了,自己手都没有练到,对于我这样一个热爱新技术的人,那不是伤心死了。。。。
    于是乎,说动手就动手,先研究AP,因为要将设备连接到WLC,必须将AP刷成LWAP,有一个前辈已经做过了,抄过来就好

POE Ethernet configuration on switchport is in VLAN 1 (the default) and VLAN 1 on that switch has a DCHP server configured. You’ll plug the AP in to this switchport and attach a console cable to the AP.

The AP comes with a default config, which we won’t use at all. We’ll first reset the AP to clear the config. To do this, you’ll hold down the reset button and plug the AP in to a POE port. Continue holding the reset button for 15 seconds to reset the AP.

You’ll get the following prompt when the AP starts up:

ap>

You can then enter the “en” command to enter enable mode. The default password is “Cisco.” From within enable mode, you can use the “dir flash:” command to list the files in flash. You’ll want to remove all of these. The IOS file may actually be a directory. Mine’s called “c1130-k9w7-mx.124-10b.JA.” To remove this, enter the following command:

delete /recursive flash:/c1130-k9w7-mx.124-10b.JA

You’ll have to press Enter quite a few times after that as it goes through and removes all of the files. Remove the rest of the files in flash and then restart the AP by issuing the “reload” command.

When the system comes up you will be in a raw command mode where you should enter the following commands:

ap: flash_init
ap: ether_init
ap: IP_ADDR=10.255.1.30
ap: NETMASK=255.255.255.0
ap: DEFAULT_ROUTER=10.255.1.
ap: tftp_init
ap: tar -xtract tftp://10.1.1.50/c1130-rcvk9w8-tar.124-10b.JA3.tar flash:

You will have to adjust the IP addresses and filename of the lightweight IOS file you downloaded from Cisco’s site in your command, but this was my network addressing scheme and the latest LWAP firmware for the 1131 at the time of this document.

When the files are done extracting (shouldn’t take too long), you need to issue the command:

ap: BOOT=flash:/c1130-rcvk9w8-mx/c1130-rcvk9w8-mx

This will change in your configuration, and is the path to the LWAP firmware that gets untar’ed on your AP. You can manually extract the TAR file on a PC to determine this path.

After that command, you can power cycle the AP and it should come back up, find your wireless LAN controller, and udpate itself. If it doesn’t, you should check your IP addressing scheme and make sure everything is correct. This same procedure can also be used to revert an LWAP 1131 AP to standalone AP mode.

==================================

这样,AP准备好了。那就准备WLC啦。consol连接WLC,配置它,主要几个接口,现在来说明一下。我的是4404.

1.4个光纤口都是连接我的核心交换机用的,它默认为trunk中,所以不用其实也配置不了它。它与核心连接,在核心上配置链路聚合并且为trunk,编码为dot1q.就可以啦。

2.service port,这个口主要是作为在机器边上连接设备的口,作为本地管理使用。配置一个IP,拿根线连接上,与你的电脑在一个网段就好,因为没有NETMASK,所以只能本地连接。

3.utility port,这个口我现在还没有搞明白怎么用它。以后再看吧。

4.consol port,当然这个口是至关重要的,大家也都知道怎么用。

好了,配置WLC,主要是配置manage port ip 与ap_manamge port IP,其中manage port IP,就是你连接上核心后,可以管理到的IP地址,不一定要与ap_manage port一样。例如:我的manage port ip:10.48.32.9/24 gw10.48.32.5,ap_manage port ip:10.48.44.253/24 gw10.48.44.5,注意一定要配置vlan与你自己的相应vlan相同。这样就可以通讯了。

搞定这些,可以连接上网线打开管理IP,进行管理啦。配置就要慢慢做了。初始化就这样啦。

阅读(2794) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~