Example for Configuring Vehicle-Ground Fast Link Handover (VRRP Backup for Vehicle-Mounted APs)
Service Requirements
To reduce network deployment costs and better serve passengers, a rail transportation enterprise wants to use WLAN technology to implement vehicle-ground communications. If a vehicle-mounted AP is faulty, the network is faulty and vehicle-ground communication is affected. To prevent such problem, the customer requires two vehicle-mounted APs to support redundancy. The VRRP function is recommended.
Networking Requirements
- AC networking mode: Layer 2 bypass mode
- Wireless backhaul mode: Mesh-based vehicle-ground fast link handover
- Backhaul radio: 5 GHz radio
Data Planning
AP |
MAC |
---|---|
Trackside AP (L1_001) |
0046-4b59-1d10 |
Trackside AP (L1_003) |
0046-4b59-1d20 |
Trackside AP (L1_010) |
0046-4b59-1d30 |
Trackside AP (L1_150) |
0046-4b59-1d40 |
Trackside AP (L1_160) |
0046-4b59-1d50 |
Trackside AP (L1_170) |
0046-4b59-1d60 |
Depot AP (L1_180) |
0046-4b59-1d70 |
Depot AP (L1_190) |
0046-4b59-1d80 |
... |
|
Vehicle-mounted AP (in the front) |
0046-4b59-2e10 |
Vehicle-mounted AP (in the rear) |
0046-4b59-2e20 |
... |
Item |
Data |
---|---|
Management VLAN |
VLAN 100 |
VLAN for vehicle-mounted APs |
VLAN 200 |
VLAN for vehicle-mounted terminals |
VLAN 161 |
DHCP server |
|
AC's source interface address |
VLANIF 100: 10.23.100.1/24 |
Gateway address |
VRRP IP address for vehicle-mounted APs: 10.23.161.1/24 |
IP address pool for trackside APs |
10.23.100.2 to 10.23.100.254/24 |
IP address pool for vehicle-mounted terminals |
10.23.161.4 to 10.23.161.254/24 |
AP group for trackside APs |
Name: mesh-mpp |
IDs of trackside APs |
|
AP group for depot APs |
Name: mesh-depot |
Depot AP ID |
|
AP wired port profile |
|
Security profile |
|
AP system profile |
|
Mesh profiles for trackside APs |
Mesh profile bound to radio 0 on trackside APs:
Mesh profile bound to radio 1 on trackside APs:
|
Mesh profiles for depot APs |
Mesh profile bound to radio 0 on trackside APs:
Mesh profile bound to radio 1 on trackside APs:
|
Mesh profile 1 for vehicle-mounted APs |
Vehicle-mounted AP (in the front):
Vehicle-mounted AP (in the rear):
|
Mesh profile 2 for vehicle-mounted APs |
Vehicle-mounted AP (in the front):
Vehicle-mounted AP (in the rear):
|
Mesh handover profile |
Trackside APs:
Vehicle-mounted APs:
|
Mesh whitelist on trackside APs |
Name: whitelist01 Add MAC addresses of all vehicle-mounted APs on trains running on the rail to the whitelist according to actual situations. |
MAC address of the proxied ground device |
|
MAC addresses of proxied vehicle-mounted devices |
|
Virtual IP address of the management VRRP group |
10.23.161.1 |
Virtual IP address of the service VRRP group |
10.23.200.1 |
Configuration Roadmap
- Configure the ground network to enable Layer 2 communications between trackside APs and the AC.
- Configure the vehicle-ground fast link handover function on trackside and vehicle-mounted APs so that the vehicle-mounted APs can set up Mesh links with the trackside APs.
- Configure the vehicle-mounted network to enable intra-network data communication, and configure VRRP and BFD between the vehicle-mounted APs.
- Switches and routers used in this example are all Huawei products.
Configuration Notes
- No ACK mechanism is provided for multicast packet transmission on air interfaces. In addition, wireless links are unstable. To ensure stable transmission of multicast packets, they are usually sent at low rates. If a large number of such multicast packets are sent from the network side, the air interfaces may be congested. You are advised to configure multicast packet suppression to reduce impact of a large number of low-rate multicast packets on the wireless network. Exercise caution when configuring the rate limit; otherwise, the multicast services may be affected.
- In direct forwarding mode, you are advised to configure multicast packet suppression on switch interfaces connected to APs.
- In tunnel forwarding mode, you are advised to configure multicast packet suppression in traffic profiles of the AC.
Configure port isolation on the interfaces of the device directly connected to APs. If port isolation is not configured and direct forwarding is used, a large number of unnecessary broadcast packets may be generated in the VLAN, blocking the network and degrading user experience.
In tunnel forwarding mode, the management VLAN and service VLAN cannot be the same. Only packets from the management VLAN are transmitted between the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.
Procedure
- Configure ground network devices.
- Configure vehicle-mounted network devices.
This example provides the detailed procedure for configuring the vehicle-mounted AP in the front of the train. The procedure for configuring the vehicle-mounted AP in the rear is similar. The configuration differences are described in the subsequent steps.
- Verify the configuration.
# After vehicle-ground fast link handover configuration is complete, run the display wlan mesh link all command on the AC to view Mesh links between trackside and vehicle-mounted APs.
<AC> 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 0046-4b59-2e10 0 3 149 portal - -51 -38 0 0 47 39/47/-/- 192 192 L1_001 AP2 0046-4b59-2e20 1 3 157 portal - -51 -38 0 0 47 39/47/-/- 192 192 L1_003 AP 0046-4b59-2e10 0 3 149 portal - -59 -7 0 0 50 19/14/37/- 192 192 L1_003 AP2 0046-4b59-2e20 1 3 157 portal - -59 -7 0 0 50 19/14/37/- 192 192 L1_010 AP 0046-4b59-2e10 0 3 149 portal - -45 -33 0 0 37 20/17/17/- 192 192 L1_010 AP2 0046-4b59-2e20 1 3 157 portal - -45 -33 0 0 37 20/17/17/- 192 192 L1_150 AP 0046-4b59-2e10 0 3 149 portal - -54 -39 0 0 46 34/43/-/- 192 192 L1_150 AP2 0046-4b59-2e20 1 3 157 portal - -54 -39 0 0 46 34/43/-/- 192 192 L1_160 AP 0046-4b59-2e10 0 3 149 portal - -52 -7 0 0 32 21/18/35/- 192 192 L1_160 AP2 0046-4b59-2e20 1 3 157 portal - -52 -7 0 0 32 21/18/35/- 192 192 L1_170 AP 0046-4b59-2e10 0 3 149 portal - -42 -33 0 0 29 26/14/19/- 192 192 L1_170 AP2 0046-4b59-2e20 1 3 157 portal - -42 -33 0 0 29 26/14/19/- 192 192 ---------------------------------------------------------------------------------------------------------------------------------- Total: 12
# Run the display mesh-neighbor-rssi command on the AC to view RSSI information about trackside APs.
<AC> display mesh-neighbor-rssi Info: This operation may take a few seconds, please wait.done. AP name/MAC/Radio/Location-ID Neighbor AP/MAC/Location-ID RSSI Update Time ------------------------------------------------------------------------------ L1_001/0046-4b59-1d10/0/1 -/0046-4b59-2e10/- -44 18:08:21 L1_001/0046-4b59-1d10/1/1 -/0046-4b59-2e20/- -44 18:08:21 L1_003/0046-4b59-1d20/0/3 -/0046-4b59-2e10/- -50 18:08:20 L1_003/0046-4b59-1d20/1/3 -/0046-4b59-2e20/- -50 18:08:20 L1_010/0046-4b59-1d30/0/10 -/0046-4b59-2e10/- -28 18:08:21 L1_010/0046-4b59-1d30/1/10 -/0046-4b59-2e20/- -28 18:08:21 L1_150/0046-4b59-1d40/0/150 -/0046-4b59-2e10/- -43 18:08:20 L1_150/0046-4b59-1d40/1/150 -/0046-4b59-2e20/- -43 18:08:20 L1_160/0046-4b59-1d50/0/160 -/0046-4b59-2e10/- -47 18:08:21 L1_160/0046-4b59-1d50/1/160 -/0046-4b59-2e20/- -47 18:08:21 L1_170/0046-4b59-1d6s0/0/170 -/0046-4b59-2e10/- -38 18:08:21 L1_170/0046-4b59-1d6s0/1/170 -/0046-4b59-2e20/- -38 18:08:21 ------------------------------------------------------------------------------ Total: 6
# Run the display mesh-handover-trace command on the vehicle-mounted AP to view roaming traces of the vehicle-mounted AP.
<AP> display mesh-handover-trace Info: This operation may take a few seconds, please wait.done. Index Timestamp From AP MAC/RSSI/Location-ID To AP MAC/RSSI/Location-ID ------------------------------------------------------------------------------ 1 18:52:27 0046-4b59-1d50/-95/160 0046-4b59-1d60/-15/170 2 18:50:46 0046-4b59-1d40/-95/150 0046-4b59-1d50/-34/160 3 18:49:25 0046-4b59-1d30/-95/10 0046-4b59-1d40/-11/150 4 18:48:56 0046-4b59-1d20/-95/3 0046-4b59-1d30/-40/10 5 18:47:39 0046-4b59-1d10/-47/1 0046-4b59-1d20/-36/3 ------------------------------------------------------------------------------
# Check information about BFD sessions.<AP> display bfd session all -------------------------------------------------------------------------------- Local Remote PeerIpAddr State Type InterfaceName -------------------------------------------------------------------------------- 1 2 10.23.161.3 Up S_IP_IF Vlanif161 -------------------------------------------------------------------------------- Total UP/DOWN Session Number : 1/0
Configuration Files
- Ground network devices
Switch_A configuration file
# sysname Switch_A # vlan batch 100 200 # 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 200 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 100 200 # interface GigabitEthernet0/0/3 port link-type trunk port trunk allow-pass vlan 100 # ip route-static 10.23.161.0 255.255.255.0 10.23.200.1 # return
Switch_B configuration file
# sysname Switch_B # vlan batch 100 200 # interface GigabitEthernet0/0/1 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 200 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 100 200 # interface GigabitEthernet0/0/3 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 200 # interface GigabitEthernet0/0/4 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 200 # return
Switch_C configuration file
# sysname Switch_C # vlan batch 100 200 # interface GigabitEthernet0/0/1 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 200 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 100 200 # interface GigabitEthernet0/0/3 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 200 # interface GigabitEthernet0/0/4 port link-type trunk port trunk pvid vlan 100 port trunk allow-pass vlan 100 200 # return
Switch_D configuration file
# sysname Switch_D # vlan batch 161 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 161 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 161 # interface GigabitEthernet0/0/3 port link-type trunk port trunk pvid vlan 161 port trunk allow-pass vlan 161 # interface GigabitEthernet0/0/4 port link-type trunk port trunk pvid vlan 161 port trunk allow-pass vlan 161 # return
AC configuration file
# sysname AC # vlan batch 100 200 # dhcp enable # interface Vlanif100 ip address 10.23.100.1 255.255.255.0 dhcp select interface # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 100 # capwap source interface vlanif100 # wlan security-profile name sp01 security wpa2 psk pass-phrase %^%#yUrI$*AU}-T<aI*$21X8,wdZ>"Q%NVibT@S@ITs<%^%# aes mesh-handover-profile name hand-over location-based-algorithm enable mesh-whitelist-profile name whitelist01 peer-ap mac 0046-4b59-2e10 peer-ap mac 0046-4b59-2e20 mesh-profile name mesh-net mesh-handover-profile hand-over security-profile sp01 mesh-id mesh-net mesh-profile name mesh-net2 mesh-handover-profile hand-over security-profile sp01 mesh-id mesh-net2 mesh-profile name mesh-client client-mode enable security-profile sp01 mesh-id mesh-net mesh-profile name mesh-client2 client-mode enable security-profile sp01 mesh-id mesh-net2 regulatory-domain-profile name default ap-system-profile name mesh-sys mesh-role mesh-portal wired-port-profile name wired-port vlan tagged 200 ap-group name mesh-mpp ap-system-profile mesh-sys wired-port-profile wired-port gigabitethernet 0 radio 0 mesh-profile mesh-net mesh-whitelist-profile whitelist01 frequency 5g channel 40mhz-plus 149 calibrate auto-channel-select disable calibrate auto-txpower-select disable radio 1 mesh-profile mesh-net2 mesh-whitelist-profile whitelist01 channel 40mhz-plus 157 calibrate auto-channel-select disable calibrate auto-txpower-select disable ap-group name mesh-depot ap-system-profile mesh-sys wired-port-profile wired-port gigabitethernet 0 radio 0 mesh-profile mesh-client mesh-whitelist-profile whitelist01 frequency 5g channel 40mhz-plus 149 calibrate auto-channel-select disable calibrate auto-txpower-select disable radio 1 mesh-profile mesh-client2 mesh-whitelist-profile whitelist01 channel 40mhz-plus 157 calibrate auto-channel-select disable calibrate auto-txpower-select disable ap-id 1 type-id 139 ap-mac 0046-4b59-1d10 ap-sn 210235554710CB000042 ap-name L1_001 ap-group mesh-mpp ap-id 2 type-id 139 ap-mac 0046-4b59-1d20 ap-sn 210235555310CC000094 ap-name L1_003 ap-group mesh-mpp ap-id 3 type-id 139 ap-mac 0046-4b59-1d30 ap-sn 210235419610CB002287 ap-name L1_010 ap-group mesh-mpp ap-id 101 type-id 139 ap-mac 0046-4b59-1d40 ap-sn 210235555310CC00AC69 ap-name L1_150 ap-group mesh-mpp ap-id 102 type-id 139 ap-mac 0046-4b59-1d50 ap-sn 210235555310CC003587 ap-name L1_160 ap-group mesh-mpp ap-id 103 type-id 139 ap-mac 0046-4b59-1d60 ap-sn 210235449210CB000011 ap-name L1_170 ap-group mesh-mpp ap-id 201 type-id 139 ap-mac 0046-4b59-1d70 ap-sn 210235554710CB000085 ap-name L1_180 ap-group mesh-depot ap-id 202 type-id 139 ap-mac 0046-4b59-1d20 ap-sn 210235555310CC000096 ap-name L1_190 ap-group mesh-depot # return
- Vehicle-mounted network devices
Vehicle-mounted AP (in the front) configuration file
# sysname AP # vlan batch 161 200 # dhcp enable # interface Vlanif161 ip address 10.23.161.2 255.255.255.0 vrrp vrid 1 virtual-ip 10.23.161.1 admin-vrrp vrid 1 vrrp vrid 1 priority 120 vrrp vrid 1 track bfd-session 1 reduced 50 dhcp select interface dhcp server excluded-ip-address 10.23.161.1 10.23.161.3 # interface Vlanif200 ip address 10.23.200.3 255.255.255.0 vrrp vrid 2 virtual-ip 10.23.200.1 vrrp vrid 2 priority 120 vrrp vrid 2 track admin-vrrp interface Vlanif161 vrid 1 unflowdown # interface GigabitEthernet0/0/0 port link-type trunk port trunk allow-pass vlan 161 200 # bfd atob bind peer-ip 10.23.161.3 interface Vlanif161 discriminator local 1 discriminator remote 2 min-tx-interval 50 min-rx-interval 50 commit # ip route-static 0.0.0.0 0.0.0.0 10.23.200.2 # wlan security-profile name sp01 security wpa2 psk pass-phrase %^%#yUrI$*AU}-T<aI*$21X8,wdZ>"Q%NVibT@S@ITs<%^%# aes mesh-handover-profile name hand-over location-based-algorithm enable moving-direction forward mesh-proxy trackside-equip mac-address 707b-e8e9-d328 vlan 200 mesh-proxy onboard-equip mac-address 286e-d488-d359 vlan 161 mesh-proxy onboard-equip mac-address 286e-d488-d270 vlan 161 mesh-profile name mesh-net mesh-handover-profile hand-over security-profile sp01 mesh-id mesh-net mesh-profile name mesh-client client-mode enable security-profile sp01 mesh-id mesh-net ap-id 0 type-id 153 ap-mac 0046-4b59-2e10 ap-sn 2102353TJP10L6000028 radio 1 mesh-profile mesh-net mesh-profile mesh-client index 1 channel 40mhz-plus 149 calibrate auto-channel-select disable calibrate auto-txpower-select disable # return
Vehicle-mounted AP (in the rear) configuration file
# sysname AP2 # vlan batch 161 200 # dhcp enable # interface Vlanif161 ip address 10.23.161.3 255.255.255.0 vrrp vrid 1 virtual-ip 10.23.161.1 admin-vrrp vrid 1 vrrp vrid 1 priority 110 dhcp select interface dhcp server excluded-ip-address 10.23.161.1 10.23.161.3 # interface Vlanif200 ip address 10.23.200.4 255.255.255.0 vrrp vrid 2 virtual-ip 10.23.200.1 vrrp vrid 2 priority 110 vrrp vrid 2 track admin-vrrp interface Vlanif161 vrid 1 unflowdown # interface GigabitEthernet0/0/0 port link-type trunk port trunk allow-pass vlan 161 200 # bfd btoa bind peer-ip 10.23.161.2 interface Vlanif161 discriminator local 2 discriminator remote 1 min-tx-interval 50 min-rx-interval 50 commit # ip route-static 0.0.0.0 0.0.0.0 10.23.200.2 # wlan security-profile name sp01 security wpa2 psk pass-phrase %^%#yUrI$*AU}-T<aI*$21X8,wdZ>"Q%NVibT@S@ITs<%^%# aes mesh-handover-profile name hand-over location-based-algorithm enable moving-direction backward mesh-proxy trackside-equip mac-address 707b-e8e9-d328 vlan 200 mesh-proxy onboard-equip mac-address 286e-d488-d359 vlan 161 mesh-proxy onboard-equip mac-address 286e-d488-d270 vlan 161 mesh-profile name mesh-net2 mesh-handover-profile hand-over security-profile sp01 mesh-id mesh-net2 mesh-profile name mesh-client2 client-mode enable security-profile sp01 mesh-id mesh-net2 ap-id 0 type-id 153 ap-mac 0046-4b59-2e20 ap-sn 2102353TJP10L6000096 radio 1 mesh-profile mesh-net2 mesh-profile mesh-client2 index 1 channel 40mhz-plus 157 calibrate auto-channel-select disable calibrate auto-txpower-select disable # return