Chinaunix首页 | 论坛 | 博客
  • 博客访问: 942913
  • 博文数量: 276
  • 博客积分: 4182
  • 博客等级: 上校
  • 技术积分: 4486
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:14
文章分类

全部博文(276)

文章存档

2014年(9)

2013年(132)

2012年(135)

分类: 系统运维

2012-04-27 20:09:14

Cisco AP范例

配置的Cisco无线AP的配置范例:


无线不能代替交换机,只是有线的补充,但是也是不可缺少的网络设备之一,将无线AP看成一个具有路由器特征的交换机,就OK了。


本配置适合用户Cisco 1100系列和1200系列,支持802.11a、g标准。




Building configuration...


Current configuration : 1747 bytes


!


version 12.3


service pad


service timestamps debug datetime msec


service timestamps log datetime msec


service password-encryption


!


hostname ap(设备名称)


!


enable secret 5 $1$dA0R$.SKc/xp5l0tU1oBwIjX1g/


!


subnet-zero


!


!


no aaa new-model


!


dot11 ssid XXXX(设置802.11协议的SSID名称)


   authentication open(802.11认证开启)


!


power inline negotiation prestandard source


!


!


username Cisco password 7 00271A150754(登陆的名和密码)


!


bridge irb


!


!


interface Dot11Radio0(设备AP的无线接口0的配置)


no ip address


no ip route-cache


!


encryption key 1 size 128bit 7 5C7D0E2CA14A8319BBF2C6061D68 transmit-key(1设置一个128bit的密码)


encryption mode wep mandatory(开放式WEP的模式)


!


ssid xxxx (再次设置接口的SSID)


!


speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0(速率)


54.0


station-role root


antenna gain 128


bridge-group 1


bridge-group 1 subscriber-loop-control


bridge-group 1 block-unknown-source


no bridge-group 1 source-learning


no bridge-group 1 unicast-flooding


bridge-group 1 spanning-disabled


!


interface Dot11Radio1


no ip address


no ip route-cache


speed basic-6.0 9.0 basic-12.0 18.0 basic-24.0 36.0 48.0 54.0


station-role root


antenna gain 128 (天线的功率)


bridge-group 1


bridge-group 1 subscriber-loop-control


bridge-group 1 block-unknown-source


no bridge-group 1 source-learning


no bridge-group 1 unicast-flooding


bridge-group 1 spanning-disabled


!


interface FastEthernet0(设备快速以太口的IP地址和掩码)


ip address 192.168.55.250 255.255.254.0


no ip route-cache


duplex auto


speed auto


bridge-group 1


no bridge-group 1 source-learning


bridge-group 1 spanning-disabled


hold-queue 160 in


!


interface BVI1(虚端口的IP地址)


ip address 192.168.55.123 255.255.254.0


no ip route-cache


!


ip http server


no ip http secure-server


ip http help-path


!


!


control-plane


!


bridge 1 route ip


!


!


!


line con 0


line vty 0 4


login local

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