组网图形
某轨交企业为了降低网络部署成本,提升服务质量,希望通过WLAN技术实现车地通信,使部署在地面网络的组播服务器能为车内乘客提供车载多媒体咨询业务。如图1所示,在该企业的一号线沿线部署了轨旁AP,部署在地面网络的AC和轨旁AP以有线方式实现二层互通。在一号线运行的列车的车头和车尾分别部署了车载AP,每次运行时,仅部署在车头的车载AP工作,车尾车载AP处于休眠状态。在列车到达终点站调头运行时,两个车载AP的工作状态也会随之调换。通过车载AP和轨旁AP间的无线链路实现了车地通信,使得地面网络的组播源能为车内乘客提供车载多媒体咨询业务。
AP |
类型 |
MAC |
---|---|---|
轨旁AP(L1_001) |
AP9131DN |
00e0-fc59-1d10 |
轨旁AP(L1_003) |
AP9131DN |
00e0-fc59-1d20 |
轨旁AP(L1_010) |
AP9131DN |
00e0-fc59-1d30 |
轨旁AP(L1_150) |
AP9131DN |
00e0-fc59-1d40 |
轨旁AP(L1_160) |
AP9131DN |
00e0-fc59-1d50 |
轨旁AP(L1_170) |
AP9131DN |
00e0-fc59-1d60 |
…… |
||
车载AP(车头) |
AP9131DN |
00e0-fc59-2e10 |
车载AP(车尾) |
AP9131DN |
00e0-fc59-2e20 |
…… |
配置项 |
数据 |
---|---|
管理VLAN |
VLAN 100 |
组播业务VLAN |
VLAN 101 |
网关地址 |
AC的VLANIF 101的IP地址:10.23.224.1/24 |
DHCP服务器 |
AC作为DHCP服务器为轨旁AP和车载终端分配IP地址 |
AP的IP地址池 |
10.23.100.2~10.23.100.254/24 |
车载终端的IP地址池 |
10.23.224.4~10.23.224.254/24 |
AC的源接口IP地址 |
VLANIF 100:10.23.100.1/24 |
轨旁AP的AP组 |
名称:mesh-mpp |
轨旁AP的AP ID |
|
安全模板 |
|
Mesh模板 |
轨旁AP:
车载AP:
|
Mesh快切模板 |
轨旁AP:
车载AP:
|
轨旁AP Mesh白名单 |
名称:whitelist01 根据实际情况,应添加该轨道上所有的车载AP的MAC。 |
车载AP Mesh白名单 |
名称:whitelist01 根据实际情况,应添加该轨道上所有的轨旁AP的MAC。 |
被代理地面设备MAC地址 |
|
被代理车载设备MAC地址 |
|
组播服务的组播组 |
225.1.1.1~225.1.1.3 |
建议在与AP直连的设备接口上配置端口隔离,如果不配置端口隔离,尤其是业务数据转发方式采用直接转发时,可能会在VLAN内形成大量不必要的广播报文,导致网络阻塞,影响用户体验。
隧道转发模式下,管理VLAN和业务VLAN不能配置为同一VLAN,且AP和AC之间只能放通管理VLAN,不能放通业务VLAN。
system-view
[HUAWEI] sysname AC
[AC] vlan batch 100 101 200
[AC] interface gigabitEthernet 0/0/1
[AC-GigabitEthernet0/0/1] port link-type trunk
[AC-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101
[AC-GigabitEthernet0/0/1] quit
[AC] interface gigabitEthernet 0/0/2
[AC-GigabitEthernet0/0/2] port link-type trunk
[AC-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 101
[AC-GigabitEthernet0/0/2] quit
[AC] interface gigabitEthernet 0/0/3
[AC-GigabitEthernet0/0/3] port link-type trunk
[AC-GigabitEthernet0/0/3] port trunk pvid vlan 101
[AC-GigabitEthernet0/0/3] port trunk allow-pass vlan 101
[AC-GigabitEthernet0/0/3] quit
[AC] interface gigabitEthernet 0/0/4
[AC-GigabitEthernet0/0/4] port link-type trunk
[AC-GigabitEthernet0/0/4] port trunk pvid vlan 101
[AC-GigabitEthernet0/0/4] port trunk allow-pass vlan 101
[AC-GigabitEthernet0/0/4] quit
[AC] interface gigabitEthernet 0/0/5
[AC-GigabitEthernet0/0/5] port link-type trunk
[AC-GigabitEthernet0/0/5] port trunk pvid vlan 200
[AC-GigabitEthernet0/0/5] port trunk allow-pass vlan 200
[AC-GigabitEthernet0/0/5] quit
[AC] dhcp enable
[AC] interface vlanif 101
[AC-Vlanif101] ip address 10.23.224.1 20
[AC-Vlanif101] dhcp select interface
[AC-Vlanif101] dhcp server excluded-ip-address 10.23.224.2 10.23.224.3
[AC-Vlanif101] quit
[AC] interface vlanif 100
[AC-Vlanif100] ip address 10.23.100.1 20
[AC-Vlanif100] dhcp select interface
[AC-Vlanif100] quit
[AC] interface vlanif 200
[AC-Vlanif200] ip address 10.23.200.2 24
[AC-Vlanif200] quit
[AC] ip route-static 0.0.0.0 0 10.23.200.1
system-view
[Huawei] sysname Router
[Router] interface gigabitethernet 1/0/0
[Router-GigabitEthernet1/0/0] ip address 10.23.200.1 24
[Router-GigabitEthernet1/0/0] quit
[Router] ip route-static 10.23.224.0 20 10.23.200.2
[Router] ip route-static 10.23.100.0 20 10.23.200.2
用户需根据实际需求配置出口路由到外网的路由表以及出口路由的NAT功能,以保证内外网的正常访问。
Switch_B上连接其他轨旁AP的接口请参考GE0/0/1进行配置,配置接口允许VLAN100、VLAN101的报文通过,配置接口的PVID为VLAN100。
system-view
[HUAWEI] sysname Switch_B
[Switch_B] vlan batch 100 101
[Switch_B] interface gigabitEthernet 0/0/2
[Switch_B-GigabitEthernet0/0/2] port link-type trunk
[Switch_B-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 101
[Switch_B-GigabitEthernet0/0/2] quit
[Switch_B] interface gigabitEthernet 0/0/1
[Switch_B-GigabitEthernet0/0/1] port link-type trunk
[Switch_B-GigabitEthernet0/0/1] port trunk pvid vlan 100
[Switch_B-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101
[Switch_B-GigabitEthernet0/0/1] quit
Switch_C上连接其他轨旁AP的接口请参考GE0/0/1进行配置,配置接口允许VLAN100、VLAN101的报文通过,配置接口的PVID为VLAN100。
system-view
[HUAWEI] sysname Switch_C
[Switch_C] vlan batch 100 101
[Switch_C] interface gigabitEthernet 0/0/2
[Switch_C-GigabitEthernet0/0/2] port link-type trunk
[Switch_C-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 101
[Switch_C-GigabitEthernet0/0/2] quit
[Switch_C] interface gigabitEthernet 0/0/1
[Switch_C-GigabitEthernet0/0/1] port link-type trunk
[Switch_C-GigabitEthernet0/0/1] port trunk pvid vlan 100
[Switch_C-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101
[Switch_C-GigabitEthernet0/0/1] quit
# 在AC上使能全局的IGMP Snooping功能。
[AC] igmp-snooping enable
# 使能AC的VLAN101的IGMP Snooping功能。
[AC] vlan 101
[AC-vlan101] igmp-snooping enable
[AC-vlan101] quit
# 配置AC的组播组过滤策略。
[AC] acl 2000
[AC-acl-basic-2000] rule permit source 225.1.1.1 0
[AC-acl-basic-2000] rule permit source 225.1.1.2 0
[AC-acl-basic-2000] rule permit source 225.1.1.3 0
[AC-acl-basic-2000] quit
# 在AC的VLAN101内应用组播组过滤策略。
[AC] vlan 101
[AC-vlan101] igmp-snooping group-policy 2000
[AC-vlan101] quit
请参照AC的组播配置过程完成Switch_B和Switch_C的组播配置。
如果轨旁AP和交换机直连且组播为二层组播,则可以配置组播快速离开功能,提高组播效率。如果轨旁AP和交换机非直连,或者交换机配置的是三层组播,则不能使能组播快速离开功能,否则会造成组播数据中断等异常。
[Switch_B] vlan 101
[Switch_B-vlan101] igmp-snooping prompt-leave group-policy 2000
[Switch_C] vlan 101
[Switch_C-vlan101] igmp-snooping prompt-leave group-policy 2000
# 创建轨旁AP的AP组“mesh-mpp”,用于将相同配置的轨旁AP都加入同一AP组中。
[AC] wlan
[AC-wlan-view] ap-group name mesh-mpp
[AC-wlan-ap-group-mesh-mpp] quit
# 创建域管理模板,在域管理模板下配置AC的国家码并在AP组下引用域管理模板。
[AC-wlan-view] regulatory-domain-profile name domain1
[AC-wlan-regulate-domain-domain1] country-code cn
[AC-wlan-regulate-domain-domain1] quit
[AC-wlan-view] ap-group name mesh-mpp
[AC-wlan-ap-group-mesh-mpp] regulatory-domain-profile domain1
Warning: This configuration change will clear the channel and power configurations of radios, and may restart APs. Continue?[Y/N]:y
[AC-wlan-ap-group-mesh-mpp] quit
[AC-wlan-view] quit
# 配置AC的源接口。
[AC] capwap source interface vlanif 100
ap auth-mode命令缺省情况下为MAC认证,如果之前没有修改其缺省配置,可以不用执行ap auth-mode mac-auth。
[AC] wlan
[AC-wlan-view] ap auth-mode mac-auth
[AC-wlan-view] ap-id 1 ap-mac 00e0-fc59-1d10
[AC-wlan-ap-1] ap-name L1_001
[AC-wlan-ap-1] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-1] quit
[AC-wlan-view] ap-id 2 ap-mac 00e0-fc59-1d20
[AC-wlan-ap-2] ap-name L1_003
[AC-wlan-ap-2] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-2] quit
[AC-wlan-view] ap-id 3 ap-mac 00e0-fc59-1d30
[AC-wlan-ap-3] ap-name L1_010
[AC-wlan-ap-3] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-3] quit
[AC-wlan-view] ap-id 101 ap-mac 00e0-fc59-1d40
[AC-wlan-ap-101] ap-name L1_150
[AC-wlan-ap-101] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-101] quit
[AC-wlan-view] ap-id 102 ap-mac 00e0-fc59-1d50
[AC-wlan-ap-102] ap-name L1_160
[AC-wlan-ap-102] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-102] quit
[AC-wlan-view] ap-id 103 ap-mac 00e0-fc59-1d60
[AC-wlan-ap-103] ap-name L1_170
[AC-wlan-ap-103] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-103] quit
# 配置有线口模板“wired-port”,以tagged方式加入VLAN101。
[AC-wlan-view] wired-port-profile name wired-port
[AC-wlan-wired-port-wired-port] vlan tagged 101
[AC-wlan-wired-port-wired-port] quit
# 配置AP组“mesh-mpp”引用有线口模板“wired-port”。
[AC-wlan-view] ap-group name mesh-mpp
[AC-wlan-ap-group-mesh-mpp] wired-port-profile wired-port gigabitethernet 0
[AC-wlan-ap-group-mesh-mpp] quit
# 创建名称为whitelist01的Mesh白名单,并将车载AP的MAC地址添加Mesh白名单中。
[AC-wlan-view] mesh-whitelist name whitelist01
[AC-wlan-mesh-whitelist-whitelist01] peer-ap mac 00e0-fc59-2e10
[AC-wlan-mesh-whitelist-whitelist01] peer-ap mac 00e0-fc59-2e20
[AC-wlan-mesh-whitelist-whitelist01] quit
请参照以上配置步骤将其他列车的车载AP的MAC地址加入Mesh白名单whitelist01中。
# 配置Mesh链路使用的安全模板“sp01”,Mesh仅支持WPA2+PSK+AES的安全策略。
[AC-wlan-view] security-profile name sp01
[AC-wlan-sec-prof-sp01] security wpa2 psk pass-phrase YsHsjx_202206 aes
[AC-wlan-sec-prof-sp01] quit
# 配置Mesh角色。配置轨旁的Mesh角色为“mesh-portal”,Mesh角色是通过AP系统模板配置的。
[AC-wlan-view] ap-system-profile name mesh-sys
[AC-wlan-ap-system-prof-mesh-sys] mesh-role mesh-portal
[AC-wlan-ap-system-prof-mesh-sys] quit
# 配置Mesh快切模板“hand-over”,并使能基于位置信息的快切算法。
[AC-wlan-view] mesh-handover-profile name hand-over
[AC-wlan-mesh-handover-hand-over] location-based-algorithm enable
[AC-wlan-mesh-handover-hand-over] quit
# 配置Mesh模板。配置Mesh网络的ID为“mesh-net”,并引用安全模板和Mesh快切模板。
[AC-wlan-view] mesh-profile name mesh-net
[AC-wlan-mesh-prof-mesh-net] mesh-id mesh-net
[AC-wlan-mesh-prof-mesh-net] security-profile sp01
[AC-wlan-mesh-prof-mesh-net] mesh-handover-profile hand-over
[AC-wlan-mesh-prof-mesh-net] quit
# 配置轨旁AP使用的射频和信道,并引用Mesh白名单、Mesh模板和AP系统模板。
[AC-wlan-view] ap-group name mesh-mpp
[AC-wlan-ap-group-mesh-mpp] ap-system-profile mesh-sys
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-ap-group-mesh-mpp] radio 1
[AC-wlan-group-radio-mesh-mpp/1] channel 40mhz-plus 157
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-group-radio-mesh-mpp/1] mesh-whitelist-profile whitelist01
[AC-wlan-group-radio-mesh-mpp/1] mesh-profile mesh-net
[AC-wlan-group-radio-mesh-mpp/1] quit
[AC-wlan-ap-group-mesh-mpp] quit
本例给出车载AP(车头)的详细配置步骤,车载AP(车尾)的配置请参照车头车载AP的配置步骤进行配置。
system-view
sysname AP
[AP] vlan batch 101
[AP] interface gigabitethernet 0/0/0
[AP-GigabitEthernet0/0/0] port link-type trunk
[AP-GigabitEthernet0/0/0] port trunk pvid vlan 101
[AP-GigabitEthernet0/0/0] port trunk allow-pass vlan 101
[AP-GigabitEthernet0/0/0] quit
# 配置Mesh链路使用的安全模板“sp01”,“sp01”的安全策略为WPA2+PSK+AES。
[AP] wlan
[AP-wlan-view] security-profile name sp01
[AP-wlan-sec-prof-sp01] security wpa2 psk pass-phrase YsH_2022 aes //psk需要与轨旁AP的保持一致
[AP-wlan-sec-prof-sp01] quit
# 配置Mesh快切模板“hand-over”,并使能基于位置信息的快切算法,算法方向参数配置为“forward”。
[AP-wlan-view] mesh-handover-profile name hand-over
[AP-wlan-mesh-handover-hand-over] location-based-algorithm enable moving-direction forward
[AP-wlan-mesh-handover-hand-over] quit
本例中车尾的车载AP需配置车载AP运行方向为backward。
# 配置Mesh模板。配置Mesh网络的ID为“mesh-net”,并引用安全模板和Mesh快切模板。
[AP-wlan-view] mesh-profile name mesh-net
[AP-wlan-mesh-prof-mesh-net] mesh-id mesh-net
[AP-wlan-mesh-prof-mesh-net] security-profile sp01
[AP-wlan-mesh-prof-mesh-net] mesh-handover-profile hand-over
[AP-wlan-mesh-prof-mesh-net] quit
# 配置Mesh模板。配置Mesh网络的ID为“mesh-net”,引用安全模板并开启Mesh客户端模式。
[AP-wlan-view] mesh-profile name mesh-client
[AP-wlan-mesh-prof-mesh-client] mesh-id mesh-net
[AP-wlan-mesh-prof-mesh-client] security-profile sp01
[AP-wlan-mesh-prof-mesh-client] client-mode enable
[AP-wlan-mesh-prof-mesh-client] quit
[AP-wlan-view] quit
# 配置车载AP使用的射频和信道,并引用Mesh模板。
[AP] interface wlan-radio 0/0/1
[AP-Wlan-Radio0/0/1] channel 40mhz-plus 157
[AP-Wlan-Radio0/0/1] mesh-profile mesh-net
[AP-Wlan-Radio0/0/1] quit
[AP] wlan
[AP-wlan-view] ap-id 0
[AP-wlan-ap-0] radio 1
[AP-wlan-radio-0/1] calibrate auto-channel-select disable
[AP-wlan-radio-0/1] calibrate auto-txpower-select disable
[AP-wlan-radio-0/1] channel 40mhz-plus 157
[AP-wlan-radio-0/1] mesh-profile mesh-net index 0
[AP-wlan-radio-0/1] mesh-profile mesh-client index 1
[AP-wlan-radio-0/1] quit
[AP-wlan-ap-0] quit
# 请参照车载AP的射频1的配置步骤完成其他车载AP的配置,为其他车载AP创建Mesh型VAP。
# 添加被代理地面设备。将网关Switch_A、网管用户和组播源的MAC地址作为被代理地面设备在车载AP上添加。
[AP-wlan-view] mesh-proxy trackside-equip mac-address 707b-e8e9-d328 vlan 101
[AP-wlan-view] mesh-proxy trackside-equip mac-address 286e-d488-12cd vlan 101
[AP-wlan-view] mesh-proxy trackside-equip mac-address 286e-d488-b6ab vlan 101
# 添加被代理车载设备。将车载终端的MAC地址作为被代理车载设备在车载AP上添加。
[AP-wlan-view] mesh-proxy onboard-equip mac-address 286e-d488-d359 vlan 101
[AP-wlan-view] mesh-proxy onboard-equip mac-address 286e-d488-d270 vlan 101
[AP-wlan-view] quit
[AP] igmp-snooping enable
[AP] vlan 101
[AP-vlan101] igmp-snooping enable
[AP-vlan101] quit
[AP] quit
[AP] wlan
[AP-wlan-view] wired-port-profile name wlan-wired
[AP-wlan-wired-port-wlan-wired] igmp-snooping enable
[AP-wlan-wired-port-wlan-wired] quit
[AP-wlan-view] ap-id 0
[AP-wlan-ap-0] wired-port-profile wlan-wired gigabitethernet 0
[AP-wlan-ap-0] quit
[AP-wlan-view] quit
[AP] quit
# 完成车地通信快速切换的业务部署后,在AC上通过执行命令display wlan mesh link all,可以查看轨旁AP和车载AP建立的Mesh链接。
display wlan mesh link all
Rf : radio ID Dis : coverage distance(100m)
Ch : channel Per : drop percent(%)
TSNR : total SNR(dB) P- : peer
Mesh : Mesh mode Re : retry ratio(%)
RSSI : RSSI(dBm) MaxR : max RSSI(dBm)
----------------------------------------------------------------------------------------------------------------------------------
APName P-APName P-APMAC Rf Dis Ch Mesh P-Status RSSI MaxR Per Re TSNR SNR(Ch0~3:dB)
Tx(Mbps) Rx(Mbps)
----------------------------------------------------------------------------------------------------------------------------------
L1_001 AP 00e0-fc59-2e10 1 3 157 portal - -51 -38 0 0 47 39/47/-/-
192 192
L1_003 AP 00e0-fc59-2e10 1 3 157 portal - -59 -7 0 0 50 19/14/37/-
192 192
L1_010 AP 00e0-fc59-2e10 1 3 157 portal - -45 -33 0 0 37 20/17/17/-
192 192
L1_150 AP 00e0-fc59-2e10 1 3 157 portal - -54 -39 0 0 46 34/43/-/-
192 192
L1_160 AP 00e0-fc59-2e10 1 3 157 portal - -52 -7 0 0 32 21/18/35/-
192 192
L1_170 AP 00e0-fc59-2e10 1 3 157 portal - -42 -33 0 0 29 26/14/19/-
192 192
----------------------------------------------------------------------------------------------------------------------------------
Total: 6
# 完成车地通信快速切换的业务部署后,在AC上通过执行命令display mesh-neighbor-rssi,可以查看轨旁AP的场强收集结果。
[AC-wlan-view] display mesh-neighbor-rssi
AP name/MAC/Radio/Location-ID Neighbor AP/MAC/Location-ID RSSI Update Time
------------------------------------------------------------------------------
L1_001/00e0-fc59-1d10/1/1 -/00e0-fc3f-e900/- -44 18:08:21
L1_003/00e0-fc59-1d20/1/3 -/00e0-fc3f-e900/- -50 18:08:20
L1_010/00e0-fc59-1d30/1/10 -/00e0-fc3f-e900/- -28 18:08:21
L1_150/00e0-fc59-1d40/1/150 -/00e0-fc59-2e10/- -43 18:08:20
L1_160/00e0-fc59-1d50/1/160 -/00e0-fc59-2e10/- -47 18:08:21
L1_170/00e0-fc59-1d60/1/170 -/00e0-fc59-2e10/- -38 18:08:21
------------------------------------------------------------------------------
Total: 6
地面网络设备
Router的配置文件
#
sysname Router
#
interface GigabitEthernet1/0/0
ip address 10.23.200.1 255.255.255.0
#
ip route-static 10.23.100.0 255.255.240.0 10.23.200.2
ip route-static 10.23.224.0 255.255.240.0 10.23.200.2
#
return
Switch_B的配置文件
#
sysname Switch_B
#
vlan batch 100 to 101
#
igmp-snooping enable
#
vlan 101
igmp-snooping enable
igmp-snooping group-policy 2000
igmp-snooping prompt-leave group-policy 2000
#
acl number 2000
rule 5 permit source 225.1.1.1 0
rule 10 permit source 225.1.1.2 0
rule 15 permit source 225.1.1.3 0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 101
#
return
Switch_C的配置文件
#
sysname Switch_C
#
vlan batch 100 to 101
#
igmp-snooping enable
#
vlan 101
igmp-snooping enable
igmp-snooping group-policy 2000
igmp-snooping prompt-leave group-policy 2000
#
acl number 2000
rule 5 permit source 225.1.1.1 0
rule 10 permit source 225.1.1.2 0
rule 15 permit source 225.1.1.3 0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 101
#
return
AC的配置文件
#
sysname AC
#
vlan batch 100 to 101 200
#
igmp-snooping enable
#
dhcp enable
#
acl number 2000
rule 5 permit source 225.1.1.1 0
rule 10 permit source 225.1.1.2 0
rule 15 permit source 225.1.1.3 0
#
vlan 101
igmp-snooping enable
igmp-snooping group-policy 2000
#
interface Vlanif100
ip address 10.23.100.1 255.255.240.0
dhcp select interface
#
interface Vlanif101
ip address 10.23.224.1 255.255.240.0
dhcp select interface
dhcp server excluded-ip-address 10.23.224.2 10.23.224.3
#
interface Vlanif200
ip address 10.23.200.2 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 101
port trunk allow-pass vlan 101
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk pvid vlan 101
port trunk allow-pass vlan 101
#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk pvid vlan 200
port trunk allow-pass vlan 200
#
ip route-static 0.0.0.0 0.0.0.0 10.23.200.1
#
capwap source interface vlanif100
#
wlan
security-profile name sp01
security wpa2 psk pass-phrase %^%#g^Rs#om$z!uIXX;5P9W.#&g;"F4a6[$CJ$w2s]bhH%^%# aes
mesh-handover-profile name hand-over
location-based-algorithm enable
mesh-whitelist-profile name whitelist01
peer-ap mac 00e0-fc59-2e10
peer-ap mac 00e0-fc59-2e20
mesh-profile name mesh-net
mesh-handover-profile hand-over
security-profile sp01
mesh-id mesh-net
regulatory-domain-profile name domain1
ap-system-profile name mesh-sys
mesh-role mesh-portal
wired-port-profile name wired-port
vlan tagged 101
ap-group name mesh-mpp
ap-system-profile mesh-sys
wired-port-profile wired-port gigabitethernet 0
regulatory-domain-profile domain1
radio 1
mesh-profile mesh-net
mesh-whitelist-profile whitelist01
channel 40mhz-plus 157
ap-id 1 ap-mac 00e0-fc59-1d10
ap-name L1_001
ap-group mesh-mpp
ap-id 2 ap-mac 00e0-fc59-1d20
ap-name L1_003
ap-group mesh-mpp
ap-id 3 ap-mac 00e0-fc59-1d30
ap-name L1_010
ap-group mesh-mpp
ap-id 101 ap-mac 00e0-fc59-1d40
ap-name L1_150
ap-group mesh-mpp
ap-id 102 ap-mac 00e0-fc59-1d50
ap-name L1_160
ap-group mesh-mpp
ap-id 103 ap-mac 00e0-fc59-1d60
ap-name L1_170
ap-group mesh-mpp
#
return
车载网络设备