其他分享
首页 > 其他分享> > AP上线交互过程(配置+抓包过程)

AP上线交互过程(配置+抓包过程)

作者:互联网

旁挂三层组网直接转发:

image

一、配置:

AC配置:
#
vlan batch 100 to 102
#
vlan pool sta-pool
 vlan 101 to 102
#
dhcp enable
#
ip pool huawei
 gateway-list 10.23.10.1 
 network 10.23.10.0 mask 255.255.255.0 
 option 43 sub-option 3 ascii 10.23.100.1 
#
interface Vlanif100
 ip address 10.23.100.1 255.255.255.0
 dhcp select global
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 100
#
ip route-static 10.23.10.0 255.255.255.0 10.23.100.2
#
capwap source interface vlanif100
#
wlan
 traffic-profile name default
 security-profile name default
 security-profile name wlan-net
  security wpa-wpa2 psk pass-phrase zgp`123456 aes
 security-profile name default-wds
 security-profile name default-mesh
 ssid-profile name default
 ssid-profile name wlan-net
  ssid wlan-net
 vap-profile name default
 vap-profile name wlan-net
  service-vlan vlan-pool sta-pool
  ssid-profile wlan-net
  security-profile wlan-net
 wds-profile name default
 mesh-handover-profile name default
 mesh-profile name default
 regulatory-domain-profile name default
 air-scan-profile name default
 rrm-profile name default
  calibrate auto-channel-select disable
  calibrate auto-txpower-select disable
 radio-2g-profile name default
 radio-5g-profile name default
 wids-spoof-profile name default
 wids-profile name default
 wireless-access-specification
 ap-system-profile name default
 port-link-profile name default
 wired-port-profile name default
 serial-profile name preset-enjoyor-toeap 
 ap-group name default
 ap-group name ap-group1
  radio 0
   vap-profile wlan-net wlan 1
  radio 1
   vap-profile wlan-net wlan 1
 ap-id 0 type-id 35 ap-mac 00e0-fc39-5160 ap-sn 2102354483104104042A
  ap-name area_1
  ap-group ap-group1
  radio 0
   channel 20mhz 6
   eirp 127
  radio 1
   channel 20mhz 149
   eirp 127
 provision-ap
#

SwitchB
#
sysname SwitchB
#
vlan batch 10 100 to 102
#
dhcp enable
#
interface Vlanif10
 ip address 10.23.10.1 255.255.255.0
 dhcp select relay
 dhcp relay server-ip 10.23.100.1
#
interface Vlanif100
 ip address 10.23.100.2 255.255.255.0
#
interface Vlanif101
 ip address 10.23.101.1 255.255.255.0
 dhcp select interface
#
interface Vlanif102
 ip address 10.23.102.1 255.255.255.0
 dhcp select interface
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 10 101 to 102
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 100
#
Switch A
#
sysname SwitchA
#
vlan batch 10 101 to 102
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk pvid vlan 10
 port trunk allow-pass vlan 10 101 to 102
 port-isolate enable group 1
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 10 101 to 102
#

二、抓包交互过程

关键内容在图片中,如有描述不清楚或有不一样的见解可评论区评论
image

image
image
image
image
image
image
image
image
image

—————————有任何见解欢迎评论区评论,写的有任何问题也可评论,如果需要交互过程抓包的可在评论区留言✉————————

标签:profile,name,default,vlan,AP,interface,过程,port,抓包
来源: https://www.cnblogs.com/GeorgePing/p/16339521.html