描述AP直连或通过二层网络连接AC时的注册流程。默写出此实验配置所需的命令清单
时间: 2024-04-02 09:36:26 浏览: 155
AP 直连或通过二层网络连接 AC 时的注册流程如下:
1. AP 启动后,通过 DHCP 获取 IP 地址,并通过 Discovery 报文发现 AC 的存在。
2. AP 向 AC 发送 Join Request 报文,请求加入 AC 所在的无线网络。
3. AC 收到 Join Request 报文后,向 AP 发送 Join Response 报文,确认 AP 的身份,并通知 AP 其他的网络信息。
4. AP 收到 Join Response 报文后,将自己的配置信息更新为 AC 发送的信息,并开始与 AC 进行通信。
此实验配置所需的命令清单如下:
1. 配置 AC 的基本信息
[AC] sysname AC
[AC] vlan batch 100 200
[AC] interface Vlanif 100
[AC-Vlanif100] ip address 10.1.1.1 24
[AC-Vlanif100] dhcp select interface
[AC-Vlanif100] dhcp server dns-list 8.8.8.8
[AC-Vlanif100] dhcp server gateway-list 10.1.1.1
[AC-Vlanif100] quit
[AC] interface Vlanif 200
[AC-Vlanif200] ip address 10.2.2.1 24
[AC-Vlanif200] dhcp select interface
[AC-Vlanif200] dhcp server dns-list 8.8.8.8
[AC-Vlanif200] dhcp server gateway-list 10.2.2.1
[AC-Vlanif200] quit
[AC] wlan service-template default
[AC-wlan-service-template-default] service-set name test
[AC-wlan-service-template-default-service-set-test] service-vlan vlan 100
[AC-wlan-service-template-default-service-set-test] service-vlan vlan 200
[AC-wlan-service-template-default-service-set-test] quit
[AC-wlan-service-template-default] quit
[AC] quit
2. 配置 AP 的基本信息
[AP] sysname AP
[AP] wlan
[AP-wlan-view] quit
[AP] interface GigabitEthernet 0/0/1
[AP-GigabitEthernet0/0/1] port link-type trunk
[AP-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 200
[AP-GigabitEthernet0/0/1] quit
[AP] interface wlan-radio 0
[AP-wlan-radio0] undo shutdown
[AP-wlan-radio0] quit
[AP] quit
3. 将 AP 加入 AC 管理
[AC] ap-id mac-address 0000-1111-2222 manage-ip 10.1.1.2
[AC] quit
4. 配置 AP 的 WLAN 信息
[AC] wlan
[AC-wlan-view] service-template default
[AC-wlan-service-template-default] service-set name test
[AC-wlan-service-template-default-service-set-test] radio 0
[AC-wlan-service-template-default-service-set-test-radio-0] ssid test
[AC-wlan-service-template-default-service-set-test-radio-0] channel all
[AC-wlan-service-template-default-service-set-test-radio-0] quit
[AC-wlan-service-template-default-service-set-test] quit
[AC-wlan-service-template-default] quit
[AC-wlan-view] quit
[AC] quit
5. 验证 AP 是否成功加入 AC 管理
[AC] display ap all
[AC] ping 10.1.1.2
[AC] ping ap-id 1
注意:上述命令仅为示例,具体命令根据实际情况进行调整。
阅读全文