VMware VeloCloud SD-WAN flow dump does not display the flow if associated business policy contains 10 more Chineses characters
search cancel

VMware VeloCloud SD-WAN flow dump does not display the flow if associated business policy contains 10 more Chineses characters

book

Article ID: 389868

calendar_today

Updated On:

Products

VMware VeloCloud SD-WAN

Issue/Introduction

Some of Chinese customers prefer configure business name in Chinese for better understanding. When a business policy contains 10 more Chineses characters, customer may find corresponding flow cannot be displayed by the flow dump command, even if the flow has been successfully created.

Business policy contains 11 Chinese characters:

 

dbgctl output shows flow is created:

edge:b1-edge1(Don't touch)(active):~# dbgctl -f | grep 10.0.3.25
25/03/05 05:50:14.258671,360|7|87279/50236|edged_flow_create:5101 New Flow : 44823, fc=0x7fe9b8042bd0  Tup: [proto=6, src=10.0.1.25:53932, dst=10.0.3.25:22, tos=0], secure_gw=1, sroute:0x7fea575819b0, droute: 0x7fea5757ea70, fc->pi: (nil), fc->vpi: 0x7feac73a3000 [fmgr=0x7fe9b8028e70] [vceid=23952f1c-edcd-46d5-a0ec-d176a999af96] [peer_log_id=0ca4b0d8-5adb-4d43-8abd-16015b244d48] [dc_logical_id_idx=00000000-0000-0000-0000-000000000000] [logical_id=00000000-0000-0000-0000-000000000000] dir=1 secure=1 intf_type=2
25/03/05 05:50:14.259224,576|7|87287/20595|copy_biz_action_to_fc:496 BIZ: fc=0x7fe9b8042bd0 tup=proto=6, src=10.0.1.25:53932, dst=10.0.3.25:22, tos=0name=低优先级常州工厂宿迁▒ traffic_type=Transactional link_policy=LoadBalance link_mode=Auto route_policy=Gateway orig_route_policy=Gateway route_type=E2E wan_sg=1 index=5 dipsec=0 dscp tag outer=0 inner=127 secure=1 biz_version=0 flow ver 0 route ver 565 flg 18220802000001 dpi 0, ras_flow=0
25/03/05 05:50:14.263214,592|7|87287/20596|edged_do_tcp_mss_fix:935 Setting MSS for flow from 10.0.1.25:53932 -> 10.0.3.25:22 to 1320 is_secure 1 route policy 1  flow dir 16 family 2 hdr sz 20

debug.py --flow_dump command shows no flow:

edge:b1-edge1(Don't touch)(active):~# debug.py  --timeout 300 --flow_d all 10.0.3.25 0
edge:b1-edge1(Don't touch)(active):~#

Environment

VMware VeloCloud SD-WAN edge

Cause

business policy name has 32 byte length limit. Each Chinese character uses 3 bytes. Thus business policy name cannot contain more than 10 Chinses characters.

Resolution

1. Use ASCII characters as business policy name

2. Make business policy name contain 10 or fewer Chinese characters:

flow can be correctly dumped:

edge:b1-edge1(Don't touch)(active):~# debug.py  --flow_d all 10.0.3.25 0
FID     SECURE  SEGID  FDSN  MAX_RECV_FDSN  FDSN_READ  LAST_LATE_FDSN     SRC_IP    DEST_IP  SRC_PORT  DEST_PORT  PROTO  DSCP  PRIORITY   APPLICATION                        APP_CLASS   TRAFFIC-TYPE                    ROUTE  ROUTE-POL     LINK-POL     BIZ-POL      NH-ID  LINK-ID              FLAGS1  VERSION    SRC            ADDR              SR              DR  FLOW AGE MS  IDLE TIME MS  CBH-FLOW  DROPS  LAST_DROPPED_REASON  LAST_DROPPED_PATH  BIZ_POL_FIXUP
44941        1      0     2              2          2               0  10.0.1.25  10.0.3.25     53932         22      6     0       low  APP_SSH(198)  APP_CLASS_TUNNELING_AND_VPN(18)  transactional  Branch to Branch Direct    gateway  loadbalance低优先级常州工厂宿迁  0ca4b0d8-      N/A  0x1008802800000000        1  local  0x7fe9b802b520  0x7fea575819b0  0x7fea5757ea70         4581          4571         0      0                    -                  -              0