# ×¢²įview
view, config-view, xnetc-view(Enter the xnetc view), xnetc-view, NULL
save, xnetc-view, XNETC_Save

# cmd
cmd, xnetc-view, freeserver address %STRING<1-127>(server name), XNETC_CMD_SetFreeServerAddr
cmd, xnetc-view, regserver address %STRING<1-127>(server name), XNETC_CMD_SetRegServerAddr
cmd, xnetc-view, server port %INT<1-65535>(server port), XNETC_CMD_SetServerPort
cmd, xnetc-view, ip static %IP(tunnel ip) [%INT<8-30>(ip prefix)], XNETC_CMD_SetTunIP
cmd, xnetc-view, no ip static, XNETC_CMD_NoTunIP
cmd, xnetc-view, local port %INT<0-65535>, XNETC_CMD_SetLocalPort
cmd, xnetc-view, local vport %INT<0-65535>, XNETC_CMD_SetLocalVPort
cmd, xnetc-view, [no] registered-user, XNETC_CMD_SetRegUser
cmd, xnetc-view, user %STRING<1-31>(user name), XNETC_CMD_SetUserName
cmd, xnetc-view, no user, XNETC_CMD_SetUserName
cmd, xnetc-view, password simple %STRING<1-47>, XNETC_CMD_SetPassword
cmd, xnetc-view, password cipher %STRING<1-127>, XNETC_CMD_SetPasswordCipher
cmd, xnetc-view, password random, XNETC_CMD_PasswordRandom
cmd, xnetc-view, no password, XNETC_CMD_NoPassword
cmd, xnetc-view, hostname %STRING<1-15>(hostname), XNETC_CMD_SetHostname
cmd, xnetc-view, no hostname, XNETC_CMD_SetHostname
cmd, xnetc-view, vpc %INT<1-1048576>(vpc id), XNETC_CMD_SetVpc
cmd, xnetc-view, [no] vpc, XNETC_CMD_SetVpc
cmd, xnetc-view, public-service door %STRING<1-31>(door password), XNETC_CMD_SetDevDoor
cmd, xnetc-view, no public-service door, XNETC_CMD_SetDevDoor
cmd, xnetc-view, show public-service door, XNETC_CMD_ShowDevDoor
cmd, xnetc-view, route %IPPREFIX %IP, XNETC_CMD_SetRoute
cmd, xnetc-view, no route %IPPREFIX, XNETC_CMD_DelRoute
cmd, xnetc-view, eip network %IPPREFIX(eip network. must belong to 10.0.0.0/8), XNETC_CMD_EipNetwork
cmd, xnetc-view, no eip network, XNETC_CMD_NoEipNetwork
cmd, xnetc-view, eip mapping baseip %IP(eip network mapping base ip), XNETC_CMD_EipBaseIP
cmd, xnetc-view, no eip baseip, XNETC_CMD_EipBaseIP
cmd, xnetc-view, eip rule %IP(eip) %IP(rip), XNETC_CMD_AddEip
cmd, xnetc-view, no eip rule %IP(eip or rip), XNETC_CMD_DelEip
cmd, xnetc-view, [no] acl enable, XNETC_CMD_AclEnable
cmd, xnetc-view, [no] forward enable, XNETC_CMD_ForwardEnable

cmd, xnetc-view, public-service tcp %INT<1-65535>(tcp service port) [%STRING<1-63>(description)], XNETC_CMD_TSRule
cmd, xnetc-view, no public-service tcp %INT<1-65535>(tcp service port), XNETC_CMD_TSRule
cmd, xnetc-view, show public-service tcp, XNETC_CMD_ShowTS

cmd, xnetc-view, public-service hostfwd token %STRING<1-31>(hostfwd check token), XNETC_CMD_HostFwdToken
cmd, xnetc-view, no public-service hostfwd token, XNETC_CMD_HostFwdToken
cmd, xnetc-view, [no] public-service hostfwd ip, XNETC_CMD_HostFwdIPEnable
cmd, xnetc-view, show public-service hostfwd, XNETC_CMD_ShowHostFwd

cmd, xnetc-view, public-service hostfwd rule %STRING<1-7>(type.eg:http/ssl/mstsc) %STRING<1-15>(rule name) %INT<0-65535>(local port), XNETC_CMD_AddHostfwdRule
cmd, xnetc-view, no public-service hostfwd rule %STRING<1-7>(type.eg:http/ssl/mstsc) %STRING<1-15>(rule name), XNETC_CMD_DelHostfwdRule
cmd, xnetc-view, show public-service hostfwd rule, XNETC_CMD_ShowHostfwdRule

cmd, xnetc-view, public-service domain secret %STRING<1-63>(domain secret), XNETC_CMD_DomainSecret
cmd, xnetc-view, [no] public-service domain name %STRING<1-253>(domain), XNETC_CMD_Domain
cmd, xnetc-view, show public-service domain, XNETC_CMD_ShowDomain

cmd, xnetc-view, bookmark %STRING<1-31>(bookmark name) %STRING<1-127>(bookmark content), XNETC_CMD_Bookmark
cmd, xnetc-view, no bookmark %STRING<1-31>(bookmark name), XNETC_CMD_Bookmark

cmd, xnetc-view, [no] start, XNETC_CMD_Start
cmd, xnetc-view, show eip network, XNETC_CMD_ShowEipNetwork
cmd, xnetc-view, show eip rule, XNETC_CMD_ShowEipRule
cmd, xnetc-view, show status, XNETC_CMD_ShowStatus
cmd, xnetc-view, show vht, XNETC_CMD_ShowVht
cmd, xnetc-view, show rnt, XNETC_CMD_ShowRnt
cmd, xnetc-view, show pnt, XNETC_CMD_ShowPnt
cmd, xnetc-view, show pnt all, XNETC_CMD_ShowPntAll
cmd, xnetc-view, show pnt with-domain, XNETC_CMD_ShowPntWithDomain
cmd, xnetc-view, show route, XNETC_RouteShow
cmd, xnetc-view, show neighbor, XNETC_CMD_ShowNeighbor
cmd, xnetc-view, show password, XNETC_CMD_ShowPassword
cmd, xnetc-view, show bookmark, XNETC_CMD_ShowBookmark
cmd, xnetc-view, show session, XNETC_SESS_Show

# debug
cmd, xnetc-view, [no] debug tun-phy {process|error|all}, XNETC_Debug_Cmd
cmd, xnetc-view, [no] debug udp-phy {process|all}, XNETC_Debug_Cmd
cmd, xnetc-view, [no] debug link {process|acl|error|all}, XNETC_Debug_Cmd
cmd, xnetc-view, [no] debug protocol {process|all}, XNETC_Debug_Cmd
cmd, xnetc-view, [no] debug sprotocol {process|all}, XNETC_Debug_Cmd
cmd, xnetc-view, [no] debug acl {process|all}, XNETC_Debug_Cmd

