思科无线AP 2802无法注册,手工指定控制器的IP

背景

Cisco AP 2802I
Default username and password: Cisco Cisco
无法注册成功到wlc 5520上,AP上红灯一直闪烁。
Console连接AP,发现有获得Ip,但因为跨3层又没有dhcp option 43下发WLC IP,所以无法注册成功 。
获得IP地址,

[*07/13/2019 15:42:58.9727] ethernet_port wired0, ip 10.129.101.139, netmask 255.255.254.0, gw 10.129.101.254, mtu 1500, bcast 10.129.101.255, dns1 10.138.92.77, dns2 10.138.92.76, domain corp.haier.com, vid 0, static_ip_failover false, dhcp_vlan_failover false
[*07/13/2019 15:43:02.3531] Waiting for POE negotiation to complete

发广播找WLC失败,

[*07/13/2019 15:43:20.2833] CAPWAP State: Discovery
[*07/13/2019 15:43:20.2841] IP DNS query for CISCO-CAPWAP-CONTROLLER.corp.haier.com
[*07/13/2019 15:43:20.2894] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)
[*07/13/2019 15:43:20.2895] 
[*07/13/2019 15:43:20.2895] CAPWAP State: Discovery
[*07/13/2019 15:43:29.8251] 
[*07/13/2019 15:43:29.8251] CAPWAP State: Discovery
[*07/13/2019 15:43:29.8259] IP DNS query for CISCO-CAPWAP-CONTROLLER.corp.haier.com
[*07/13/2019 15:43:29.8327] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)
[*07/13/2019 15:43:39.4140] 
[*07/13/2019 15:43:39.4140] CAPWAP State: Discovery
[*07/13/2019 15:43:39.4147] IP DNS query for CISCO-CAPWAP-CONTROLLER.corp.haier.com
[*07/13/2019 15:43:39.4226] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)[*07/13/2019 15:43:48.8124]

配置步骤

手工指定WLC IP

AP5C5A.C711.3B14#  capwap ap primary-base wlc 10.131.99.100

指定后,AP向WLC发起capwap注册请求,并收到response

AP5C5A.C711.3B14#
AP5C5A.C711.3B14#[*07/13/2019 15:47:32.1296] 
[*07/13/2019 15:47:32.1296] CAPWAP State: Discovery
[*07/13/2019 15:47:32.1312] Discovery Request sent to 10.131.99.100, discovery type STATIC_CONFIG(1)
[*07/13/2019 15:47:32.1314] IP DNS query for CISCO-CAPWAP-CONTROLLER.corp.haier.com
[*07/13/2019 15:47:32.1356] Discovery Request sent to 10.131.99.100, discovery type STATIC_CONFIG(1)
[*07/13/2019 15:47:32.1367] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)
[*07/13/2019 15:47:32.1371] Discovery Response from 10.131.99.100
[*07/13/2019 15:47:32.1449] Discovery Response from 10.131.99.100
[*09/17/2019 01:45:07.0001] 
[*09/17/2019 01:45:07.0001] CAPWAP State: DTLS Setup
[*09/17/2019 01:45:07.6768] 
[*09/17/2019 01:45:07.6768] CAPWAP State: Join
[*09/17/2019 01:45:07.6784] Sending Join request to 10.131.99.100 through port 5264
[*09/17/2019 01:45:12.3377] Join Response from 10.131.99.100 
[*09/17/2019 01:45:12.3415] 
[*09/17/2019 01:45:12.3415] CAPWAP State: Image Data
[*09/17/2019 01:45:12.3784] do PRECHECK, part1 is active part

AP向WLC请求镜像,并下载完成后自动重启

[*09/17/2019 01:45:12.5267] Image Data Request sent to 10.131.99.100
[*09/17/2019 01:45:12.7613] ..................................................
[*09/17/2019 01:45:24.2017] ............ ......................................
[*09/17/2019 01:45:35.6324] ..................................................
[*09/17/2019 01:45:47.0306] .....
[*09/17/2019 01:45:48.0219] Successfully downloaded image.
[*09/17/2019 01:45:48.0590] do PREDOWNLOAD, part1 is active part
[*09/17/2019 01:45:52.6246] Image signing verify success.
[*09/17/2019 01:45:54.1258] upgrade.sh: part to upgrade is part2
[*09/17/2019 01:45:54.2868] root: Adjusting boot partition "part1" size[09/17/2019 01:45:58.4700] UBI: reserved more 6 PEBs for bad PEB handling[*09/17/2019 01:46:36.7716] upgrade.sh: AP backup version: 8.5.135.0
[*09/17/2019 01:46:36.8367] do ACTIVATE, part1 is active part
[*09/17/2019 01:46:36.9384] upgrade.sh: activate part2, set BOOT to part2
[*09/17/2019 01:46:37.4739] upgrade.sh: AP primary version: 8.5.135.0
[*09/17/2019 01:46:37.4754] upgrade.sh: AP backup version: 8.5.140.0
[*09/17/2019 01:46:40.4811] AP Rebooting: Reset Reason - **Image Upgrade**

重新启动完成后,注册到WLC上

为啥这里端口是5248 ?

[*09/17/2019 01:47:49.2620] CAPWAP State: Discovery
[*09/17/2019 01:47:49.2639] Discovery Request sent to 10.131.99.100, discovery type STATIC_CONFIG(1)
[*09/17/2019 01:47:49.2643] IP DNS query for CISCO-CAPWAP-CONTROLLER.corp.haier.com
[*09/17/2019 01:47:49.2699] Discovery Request sent to 10.131.99.100, discovery type STATIC_CONFIG(1)
[*09/17/2019 01:47:49.2710] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0)
[*09/17/2019 01:47:49.2710] 
[*09/17/2019 01:47:49.2710] CAPWAP State: Discovery
[*09/17/2019 01:47:49.2715] Discovery Response from 10.131.99.100
[*09/17/2019 01:47:49.2829] Discovery Response from 10.131.99.100[*09/17/2019 01:49:06.0000] 
[*09/17/2019 01:49:06.0000] CAPWAP State: DTLS Setup
[*09/17/2019 01:49:06.6844] 
[*09/17/2019 01:49:06.6844] CAPWAP State: Join
[*09/17/2019 01:49:06.6886] Sending Join request to 10.131.99.100 through port 5248
[*09/17/2019 01:49:06.7045] Join Response from 10.131.99.100 
[*09/17/2019 01:49:06.7848] HW CAPWAP tunnel is ADDED
[*09/17/2019 01:49:06.7997] 
[*09/17/2019 01:49:06.7997] CAPWAP State: Image Data
[*09/17/2019 01:49:06.8366] do NO_UPGRADE, part2 is active part
[*09/17/2019 01:49:06.8429] 
[*09/17/2019 01:49:06.8429] CAPWAP State: Configure
[*09/17/2019 01:49:06.8452] DOT11_CFG[0] Radio Mode is changed from Local to Local
[*09/17/2019 01:49:06.8457] DOT11_CFG[1] Radio Mode is changed from Local to Local
[*09/17/2019 01:49:07.5069] Started Radio 0
[*09/17/2019 01:49:07.5226] Stopped Radio 0

3 Logging

4 Capwap命令及配置举例
Capwap命令参考链接
https://www.cisco.com/c/en/us/td/docs/wireless/access_point/wave2-ap/command-reference/8-7/b-cisco-wave2-ap-cr/capwap_commands.pdf
4.1 AP配置hostname
cisco-wave2-ap# capwap ap hostname BJ-14F-MEETING-1
4.2 AP静态配置IP网关
Ip address, netmask , gateway, DNS, domain name
DNS可以配置多个IP
capwap ap ip 209.165.200.225 255.255.255.224 209.165.200.227 209.165.200.226 example.org
如果配置后IP没有生效,可以按下面重启AP应该就能生效了。
4.3 重启capwap protocol
capwap ap restart
4.4 AP配置多个WLC地址
capwap ap primary-base WLC1 10.248.1.1 !!这里的10.248.1.1是WLC的Ip
capwap ap secondary-base WLC2 ip2
capwap ap tertiary-base WLC3 ip3
4.5 清空AP配置
清空静态配置的IP,或清空所有
capwap ap erase static-ip
capwap ap erase all
4.6 AP开启lag(端口捆绑)
cisco-wave2-ap# capwap ap lag enable
4.7 修改模式
capwap ap mode { bridge | local }
bridge是mesh
local是集中式转发,不要理解为本地转发,本地转发模式是flexconnect
5 CAPWAP show command
5.1 AP查看注册的控制器
CISCO-AP2802# show capwap client config
AdminState : ADMIN_ENABLED(1)
Name : CISCO-AP2802
Location : default location
Primary controller name : BJ-OFF
Primary controller IP : 10.131.102.100
Secondary controller name : BJ-PRO
Secondary controller IP : 10.131.99.100
Tertiary controller name :
Tertiary controller IP :
ssh status : Enabled
ApMode : Local
ApSubMode : None
Link-Encryption : Disabled
OfficeExtend AP : Disabled
Discovery Timer : 10
Heartbeat Timer : 30
Syslog server : 255.255.255.255
Syslog level : errors
AP join priority : 1
IP Prefer-mode : IPv4
CAPWAP UDP-Lite : Unconfigured
AP retransmit count : 5
AP retransmit timer : 3
AP lsc enable : 0
AP Policy Tag : UNKNOWN
AP RF Tag : UNKNOWN
AP Site Tag : UNKNOWN
AP Tag Source : UNKNOWN
AP lsc reboot cnt : 0
AP lsc max num of retry : 0
SwVer : 8.5.151.0
spamStatTimer : 30
Led State Enabled : 1
Primed Interval : 0
AP ILP Pre-Standard Switch Support : Disabled
IPv4 TCP MSS Adjust : Disabled
IPv6 TCP MSS Adjust : Disabled
LinkFailure : 0
SpamReboots : 0
ApCrashes : 0
AP VLAN Tag status : Disabled 0
AP Power Injector : Disabled
CISCO-AP2802#
5.2 AP查看自己的IP及网关
CISCO-AP2802# show capwap ip config
IP Address : 10.130.194.181
IP netmask : 255.255.252.0
Default Gateway : 10.130.192.254

5.3 AP查看WLC IP地址及版本
CISCO-AP2802# show capwap client rcb
AdminState : ADMIN_ENABLED
OperationState : UP
Name : CISCO-AP2802
SwVer : 8.5.151.0
HwVer : 1.0.0.0
MwarApMgrIp : 10.131.102.100
MwarName : BJ-OFF
MwarHwVer : 0.0.0.0
Location : default location
ApMode : Local
ApSubMode : Not Configured
CAPWAP Path MTU : 1485
CAPWAP UDP-Lite : Enabled
IP Prefer-mode : IPv4
AP Link DTLS Encryption : OFF
AP TCP MSS Adjust : Disabled
LinkAuditing : disabled
AP Group Name : default-group
Cisco Trustsec Config
AP Inline Tagging Mode : Disabled
AP Sgacl Enforcement : Disabled
AP Override Status : Disabled
CISCO-AP2802#

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/618027.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Docker与微服务实战(高级篇)- 【上】

Docker与微服务实战(高级篇)- 【上】 一、Docker复杂安装详说1.1 Mysql主从复制--原理-【尚硅谷Mysql高级篇】1.2 Mysql主从复制--【一主一从】搭建步骤1.2.1新建--【主服务器】--容器实例--33071.2.2.进入/app/mysql-master/conf目录下新建my.cnf1.2.3.…

Scipy 中级教程——信号处理

Python Scipy 中级教程:信号处理 Scipy 的信号处理模块提供了丰富的工具,用于处理和分析信号数据。在本篇博客中,我们将深入介绍 Scipy 中的信号处理功能,并通过实例演示如何应用这些工具。 1. 信号生成与可视化 首先&#xff…

【算法】简单的二分查找算法

一个简单的二分查找算法&#xff1a; import java.util.Arrays; public class BinarySearch {public static int rank(int key,int[] a){int lo0;int hia.length-1;while (lo<hi){int midlo(hi-lo)/2;if (key<a[mid])himid-1;else if (key>a[mid])lomid1;else return …

嵌入式linux 编译qt5(以v851s为例)

本文参考Blev大神的博客&#xff1a;Yuzuki Lizard V851S开发板 --移植 QT5.12.9教程&#xff08;群友Blev提供&#xff09; - Allwinner / 柚木PI-V851S - 嵌入式开发问答社区 (100ask.net) 一. 环境准备 1.下载qt5源码&#xff1a;Open Source Development | Open Source …

XXL-JOB相关问题及答案(2024)

1、XXL-JOB是什么&#xff1f;它的作用是什么&#xff1f; XXL-JOB是一个分布式任务调度平台&#xff0c;用于实现任务的定时调度、任务执行和任务监控。它具有可视化的任务管理界面&#xff0c;支持多种任务调度方式&#xff0c;并提供任务执行结果的监控和告警功能。XXL-JO…

okhttpclient.setsslsocketfactory 报错解决

以前一直都用HttpUrlConnection这个类来做通信和进行文件下载&#xff0c;apk更新升级等。 后续因为更新apk的时候包体积较大&#xff0c;网络不好的时候&#xff0c;用HttpUrlConnection偶尔会下载失败&#xff0c;于是下载更新apk就改为了okhtt3这个库&#xff0c;其他业务请…

【Maven】001-Maven 概述

【Maven】001-Maven 概述 文章目录 【Maven】001-Maven 概述一、Maven 概述1、为什么学习 MavenMaven 作为依赖管理工具Maven 作为构建工具其它 2、Maven 介绍3、Maven 软件工作模型图 一、Maven 概述 1、为什么学习 Maven Maven 作为依赖管理工具 依赖管理&#xff1a; Mave…

IDEA集成Gitee(码云)

文章目录 创建新仓库&#xff0c;存放项目拉取Gitee上的项目 1、安装插件 Idea默认不带码云插件&#xff0c;我们第一步要安装Gitee插件。 如图所示&#xff0c;在Idea插件商店搜索Gitee&#xff0c;然后点击右侧的Install按钮。 2、Settings>Version Conttol>Gitee 这里…

第二十一章 javascript数据代理(数据劫持)

文章目录 一、数据劫持对象的访问器属性 二、Object.defineProperty()三、Proxy()四、补充1. Object类新增方法2. Array类新增方法 一、数据劫持 数据劫持&#xff1a;能够拦截到数据被使用或被修改的时机&#xff0c;在这个时机除了可以获取数据的值或对数据的值进行修改之外…

数据分析基础

数据运营的概念及意义 数据分析的三个维度 数据总览的作用及提升方法 数据总览的作用及提升方法 数据总览的作用及提升方法小结 影响作品数据的关键因素 影响作品数据的关键因素小结 用户数据的意义与作用 用户数据分析的方法与操作 用户数据分析的方法与操作小结 数据运营小结…

Java并发 - 原子类

CAS 原子操作 CAS&#xff08;Compare and Swap&#xff09;是一种并发算法&#xff0c;通常用于实现多线程环境下的同步操作&#xff0c;特别是在并发编程中实现无锁算法。CAS操作涉及三个参数&#xff1a;内存位置&#xff08;V&#xff09;、期望值&#xff08;A&#xff0…

数据仓库 Apache Hive

一、数据分析 1、数据仓库 数据仓库&#xff08;英语&#xff1a;Data Warehouse&#xff0c;简称数仓、DW&#xff09;&#xff0c;是一个用于存储、分析、报告的数据系统。 数据仓库的目的是构建面向分析的集成化数据环境&#xff0c;分析结果为企业提供决策支持&#xff08…

Unity 编辑器篇|(四)编辑器拓展GUI类 (全面总结 | 建议收藏)

目录 1. 前言2. 参数2.1 静态变量2.2 静态函数2.3 委托 3. 功能3.1 按钮&#xff1a;Button、RepeatButton3.2 文本&#xff1a;Label 、TextField 、TextArea 、PasswordField3.3 滑动条&#xff1a;HorizontalScrollbar 、VerticalScrollbar3.4 滑条&#xff1a;VerticalSlid…

Java基础(抽象类)

文章目录 一、抽象类特性代码示例 二、抽象类注意事项三、抽象类和接口的比较 刚刚学了Python的多态和抽象类&#xff0c;就想着跟Java的比对一下。 一、抽象类特性 抽象类不能被实例化&#xff1a;抽象类只能用作其他类的基类&#xff0c;不能直接创建实例。子类必须实现所有…

表单生成器基于(form-create-designer+ant design vue)

效果展示 1.源码地址&#xff1a; 前端&#xff1a;https://gitee.com/houshixin/form-design-ui 后端&#xff1a;https://gitee.com/houshixin/form-design-web 2.单独使用前端的时候就把请前后台的接口注释就可以 3.都启动的话&#xff1a; 1&#xff09;.先导入数据库 2.表…

3. Mybatis 中SQL 执行原理

2. Mybatis 中SQL 执行原理 这里有两种方式&#xff0c;一种为常用的 Spring 依赖注入 Mapper 的方式。另一种为直接使用 SqlSessionTemplate 执行 Sql 的方式。 Spring 依赖注入 Mapper 的方式 Mapper 接口注入 SpringIOC 容器 Spring 容器在扫描 BeanDefinition 阶段会扫…

C++代码重用:继承与组合的比较

目录 一、简介 继承 组合 二、继承 三、组合 四、案例说明 4.1一个电子商务系统 4.1.1继承方式 在上述代码中&#xff0c;Order类继承自User类。通过继承&#xff0c;Order类获得了User类的成员函数和成员变量&#xff0c;并且可以添加自己的特性。我们重写了displayI…

C# 关于当ObservableCollection增删查改元素时,触发事件用例

ObservableCollection 类提供了一种实时监测集合变化的机制&#xff0c;可以通过订阅 CollectionChanged 事件来响应集合的添加、移除和重置等变化。 using System; using System.Collections.ObjectModel; using System.Collections.Specialized;class Program {static void …

【java八股文】之Redis基础篇

1、Redis有哪几种基本的数据类型 字符串类型&#xff1a;用于存储文章的访问量Hash&#xff1a;用来存储key-value的数据结构&#xff0c;当单个元素比较小和元素数量比较少的时候 &#xff0c;底层是用ziplist存储。通常可以用来存储一些对象之类的List: 底层采用的quicklist …

2024儿童台灯哪个品牌更护眼推荐?五款知名品牌台灯推荐

只要有了娃&#xff0c;家长的吃穿用度可能不会特别讲究&#xff0c;但总想给孩子好的东西&#xff0c;尤其是关系到他们身心健康的&#xff0c;可以说是一掷千金。特别是眼睛视力方面&#xff0c;特别担心会遗传给孩子&#xff0c;自从他上幼儿园&#xff0c;我就一直在物色一…