失败---命令行:Cisco无线控制器C9800-CL:配置SSO、Redundancy、无线AC Version 17.18.02 (不配置RMI)
思科c9800cl虚拟无线控制器配置sso的实验步骤,纯命令行的配置实验。
总共2台c9800cl虚拟无线控制器,硬件和软件版本一致,版本为C9800-CL Software (C9800-CL-K9_IOSXE), Version 17.18.2。
第1台为主,第2台为备无线控制器。
第1台思科c9800cl虚拟无线控制器的主机名为wlc-1,GigabitEthernet2作为连接ap的接口,GigabitEthernet2接口的ip为192.168.37.11/23。GigabitEthernet1作为RP接口,GigabitEthernet1作为RP接口,GigabitEthernet1接口的ip地址为192.168.11.11/24。
第2台思科c9800cl虚拟无线控制器的主机名为wlc-2,GigabitEthernet2作为连接ap的接口,GigabitEthernet2接口的ip为192.168.37.12/23。GigabitEthernet1作为RP接口,GigabitEthernet1作为RP接口,GigabitEthernet1接口的ip地址为192.168.11.12/24。
无线管理vlan为3,vlan3的网段为192.168.3.0/24,网关为192.168.3.254。无线业务vlan为4,vlan4的网段为192.168.4.0/24,网关为192.168.4.254。
不配置RMI
!
interface GigabitEthernet1
description REDUNDANCY-PORT-RP
no switchport
ip address 192.168.11.11 255.255.255.0
negotiation auto
!
interface GigabitEthernet2
description REDUNDANCY-PORT-RP
no switchport
ip address 192.168.37.11 255.255.254.0
negotiation auto
!
指定 chassis HA 用哪个物理口(关键,17.x 必须)
chassis redundancy ha-interface GigabitEthernet 1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
思科 C9800-CL 双机 SSO 高可用纯命令行配置实验(17.18.2 版本)
实验核心信息
设备:2 台 C9800-CL,软件版本17.18.2,硬件 / 版本一致
角色:wlc-1(主 / Active)、wlc-2(备 / Standby)
RP 接口:GigabitEthernet2(冗余端口,直连 / 二层互通)
RP 地址:wlc-1=192.168.11.11/24,wlc-2=192.168.11.12/24
VLAN:管理 VLAN 3、业务 VLAN 4
模式:SSO(状态化切换,无缝故障转移)
前置要求
两台 WLC 的RP 接口 GigabitEthernet2二层互通(同一 VLAN,无 ACL 拦截)
两台 WLC 均完成基础初始化(设置 enable 密码、关闭自动配置)
管理 VLAN 3、业务 VLAN 4 在交换机上已创建并透传至 WLC
新设备初始化

第一阶段:wlc-1(主控制器)完整配置
1. 基础配置 + RP 接口配置
! 进入特权模式 enable configure terminal ! 主机名 hostname wlc-1 ! 关闭DNS解析、开启日志同步 no ip domain-lookup line console 0 logging synchronous exit line vty 0 15 login local privilege level 15 exit
配置web登录密码:
user-name admin
privilege 15
password 0 admin
type mgmt-user
! 配置RP接口 GigabitEthernet1(做 HA 口) interface GigabitEthernet1 description REDUNDANCY-PORT-RP
no switchport
no shutdown
ip address 192.168.11.11 255.255.255.0
exit
! -------------------------- ! 配置业务接口 GigabitEthernet2 ! -------------------------- interface GigabitEthernet2 description AP-DATA-PORT no switchport ip address 192.168.37.11 255.255.254.0 negotiation auto no shutdown exit

! 配置无线管理VLAN 3
! --------------------------
vlan 3
name WIRELESS-MGMT
exit
interface Vlan3
description WIRELESS-MANAGEMENT
ip address 192.168.3.1 255.255.255.0
no shutdown
exit
! --------------------------
! 配置无线业务VLAN 4
! --------------------------
vlan 4
name WIRELESS-DATA
exit
interface Vlan4
description WIRELESS-USER-DATA
ip address 192.168.4.1 255.255.255.0
no shutdown
exit
! --------------------------
! 配置默认路由(指向网关)
! --------------------------
wlc-1(config)#ip route 0.0.0.0 0.0.0.0 192.168.37.1
2. 配置 SSO 冗余
指定 chassis HA 用哪个物理口(关键,17.x 必须)
chassis redundancy ha-interface GigabitEthernet 1

! 5. 启用 SSO
redundancy
mode sso
exit
wlc-1(config)#redundancy
wlc-1(config-red)#mode sso
wlc-1#chassis 1 priority 2
数值越大,优先级越高
设为 2:1 号机优先当选主设备(Master)
设为 1:1 号机优先级低,优先让另一台当主设备
两台设备优先级相同时,机框编号小的成为主设备。
wlc-1#show chassis

! 6. 无线管理 VLAN3、业务 VLAN4
vlan 3
name WLC-MGMT
exit
vlan 4
name WIFI-DATA
exit
interface Vlan3
description WIRELESS-MGMT
ip address 192.168.3.10 255.255.255.0
no shutdown
exit
interface Vlan4
description WIFI-DATA
ip address 192.168.4.1 255.255.255.0
no shutdown
exit
wireless management interface Vlan3
! 保存
end
write memory
wlc-1(config)#redun-management interface gigabitEthernet 1 chassis 1 address 192.168.11.11 chassis 2 address 192.168.11.12
!!! modification not allowed, finish the unconfig
不允许执行修改,请先完成相关配置删除操作
解决:先关闭 SSO、删除旧的冗余接口配置,再重新配置。
wlc-1#clear chassis redundancy
WARNING: Clearing the chassis HA configuration will result in both the chassis move into Stand Alone mode. This involves reloading the standby chassis after clearing its HA configuration and coming up with all interfaces in shutdown mode. Do you wish to continue? [y/n]? [yes]: yes
wlc-1#
输入 y 确认。
wlc-1#write
wlc-1#reload
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]
wlc-1(config)#redun-management interface gigabitEthernet 1 chassis 1 address 192.168.11.13 chassis 2 address 192.168.11.14
第二步:备设备 WLC-2的配置
备控制器:把 chassis 1 改成 chassis 2
wlc-2#chassis 1 renumber 2
wlc-2#write
wlc-2#reload
重启后

数值越大,优先级越高
wlc-2#chassis 2 priority 1 #默认优先级就是1,数值越大,优先级越高
wlc-2#chassis redundancy ha-interface GigabitEthernet 1
WARNING: Changing the switch HA interface may result in a configuration change for that switch. The configuration associated with the old switch HA interface will remain as a provisioned configuration. New HA interface will be effective after next reboot. Do you want to continue?[y/n]? [yes]: yes
wlc-2#
wlc-2(config)#redundancy
wlc-2(config-red)# mode sso
wlc-2(config-red)#exit
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。
转载请保留出处: www.zh-cjh.com珠海陈坚浩博客 » 失败---命令行:Cisco无线控制器C9800-CL:配置SSO、Redundancy、无线AC Version 17.18.02 (不配置RMI)
作者: 小编
| 手机扫一扫,手机上查看此文章: |
一切源于价值!
其他 模板文件不存在: ./template/plugins/comment/pc/index.htm