Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1009 lines
37 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. routing\netsh\ip\protocols\prstring.h
  5. Abstract:
  6. Definitions of command line option tag strings and their values.
  7. Revision History:
  8. Dave Thaler 11/11/98 Created
  9. --*/
  10. #define MSG_HELP_START L"%1!-14s! - "
  11. #define MSG_NEWLINE _T("\n")
  12. #define TOKEN_ROUTER _T("router")
  13. #define TOKEN_MIB _T("mib")
  14. // tokens for commands
  15. #define TOKEN_COMMAND_ADD _T("add")
  16. #define TOKEN_COMMAND_DELETE _T("delete")
  17. #define TOKEN_COMMAND_SET _T("set")
  18. #define TOKEN_COMMAND_SHOW _T("show")
  19. #define TOKEN_COMMAND_SHOW_HELPER _T("show helper")
  20. #define TOKEN_COMMAND_HELP _T("help")
  21. #define TOKEN_COMMAND_INSTALL _T("install")
  22. #define TOKEN_COMMAND_UNINSTALL _T("uninstall")
  23. #define TOKEN_COMMAND_HELP1 _T("/?")
  24. #define TOKEN_COMMAND_HELP2 _T("-?")
  25. // Tokens for RIP MIB
  26. #define TOKEN_RIP_MIB_OBJECT_STATS _T("globalstats")
  27. #define TOKEN_RIP_MIB_OBJECT_IFSTATS _T("ifstats")
  28. #define TOKEN_RIP_MIB_OBJECT_IFBINDING _T("ifbinding")
  29. #define TOKEN_RIP_MIB_OBJECT_PEERSTATS _T("neighbor")
  30. #define CMD_RIP_MIB_SHOW_STATS L"show globalstats"
  31. #define CMD_RIP_MIB_SHOW_IFSTATS L"show ifstats"
  32. #define CMD_RIP_MIB_SHOW_IFBINDING L"show ifbinding"
  33. #define CMD_RIP_MIB_SHOW_PEERSTATS L"show neighbor"
  34. // Tokens for BOOTP MIB
  35. #define TOKEN_BOOTP_MIB_OBJECT_GLOBAL_CONFIG _T("globalconfig")
  36. #define TOKEN_BOOTP_MIB_OBJECT_IF_CONFIG _T("ifconfig")
  37. #define TOKEN_BOOTP_MIB_OBJECT_IF_BINDING _T("ifbinding")
  38. #define TOKEN_BOOTP_MIB_OBJECT_IF_STATS _T("ifstats")
  39. #define CMD_BOOTP_MIB_SHOW_GLOBAL_CONFIG L"show globalconfig"
  40. #define CMD_BOOTP_MIB_SHOW_IF_CONFIG L"show ifconfig"
  41. #define CMD_BOOTP_MIB_SHOW_IF_BINDING L"show ifbinding"
  42. #define CMD_BOOTP_MIB_SHOW_IF_STATS L"show ifstats"
  43. // Tokens for OSPF MIB
  44. #define TOKEN_OSPF_MIB_OBJECT_AREA L"areastats"
  45. #define TOKEN_OSPF_MIB_OBJECT_LSDB L"lsdb"
  46. #define TOKEN_OSPF_MIB_OBJECT_NEIGHBOR L"neighbor"
  47. #define TOKEN_OSPF_MIB_OBJECT_VIRTUALIF L"virtifstats"
  48. #define CMD_OSPF_MIB_SHOW_AREA L"show areastats"
  49. #define CMD_OSPF_MIB_SHOW_LSDB L"show lsdb"
  50. #define CMD_OSPF_MIB_SHOW_NEIGHBOR L"show neighbor"
  51. #define CMD_OSPF_MIB_SHOW_VIRTUALIF L"show virtifstats"
  52. // Tokens for IGMP MIB
  53. #define TOKEN_IGMP_MIB_OBJECT_IF_STATS L"ifstats"
  54. #define TOKEN_IGMP_MIB_OBJECT_IF_TABLE L"iftable"
  55. #define TOKEN_IGMP_MIB_OBJECT_GROUP_TABLE L"grouptable"
  56. #define TOKEN_IGMP_MIB_OBJECT_RAS_GROUP_TABLE L"rasgrouptable"
  57. #define TOKEN_IGMP_MIB_OBJECT_PROXY_GROUP_TABLE L"proxygrouptable"
  58. #define CMD_IGMP_MIB_SHOW_IF_STATS L"show ifstats"
  59. #define CMD_IGMP_MIB_SHOW_IF_TABLE L"show iftable"
  60. #define CMD_IGMP_MIB_SHOW_GROUP_TABLE L"show grouptable"
  61. #define CMD_IGMP_MIB_SHOW_RAS_GROUP_TABLE L"show rasgrouptable"
  62. #define CMD_IGMP_MIB_SHOW_PROXY_GROUP_TABLE L"show proxygrouptable"
  63. // tokens for router command options' tags
  64. #define TOKEN_OPT_NAME _T("name")
  65. // filter options
  66. #define TOKEN_OPT_ADDR _T("addr")
  67. #define TOKEN_OPT_MASK _T("mask")
  68. #define TOKEN_OPT_FILTER _T("filter")
  69. // NAT options
  70. #define TOKEN_OPT_PUBLIC _T("public")
  71. #define TOKEN_OPT_PRIVATE _T("private")
  72. #define TOKEN_OPT_INBOUNDSESSIONS _T("inboundsessions")
  73. #define TOKEN_OPT_START _T("start")
  74. #define TOKEN_OPT_END _T("end")
  75. #define TOKEN_OPT_PROTO _T("proto")
  76. #define TOKEN_OPT_PUBLICIP _T("publicip")
  77. #define TOKEN_OPT_PUBLICPORT _T("publicport")
  78. #define TOKEN_OPT_PRIVATEIP _T("privateip")
  79. #define TOKEN_OPT_PRIVATEPORT _T("privateport")
  80. #define TOKEN_OPT_TCPTIMEOUTMINS _T("tcptimeoutmins")
  81. #define TOKEN_OPT_UDPTIMEOUTMINS _T("udptimeoutmins")
  82. #define TOKEN_OPT_LOG_LEVEL _T("loglevel")
  83. // protocol options
  84. #define TOKEN_OPT_SERVER _T("server")
  85. #define TOKEN_OPT_AUTHENTICATION _T("auth")
  86. #define TOKEN_OPT_PASSWORD _T("password")
  87. #define TOKEN_OPT_PEER_MODE _T("peermode")
  88. // BOOTP Interface options
  89. #define TOKEN_OPT_RELAY_MODE _T("relaymode")
  90. #define TOKEN_OPT_MAX_HOP _T("maxhop")
  91. #define TOKEN_OPT_MIN_SECS _T("minsecs")
  92. // AUTODHCP/DNSPROXY Interface options
  93. #define TOKEN_OPT_MODE _T("mode")
  94. #define TOKEN_OPT_EXCLUSION _T("exclusion")
  95. #define TOKEN_OPT_SCOPENETWORK _T("scopenetwork")
  96. #define TOKEN_OPT_SCOPEMASK _T("scopemask")
  97. #define TOKEN_OPT_QUERY_TIMEOUT _T("querytimeout")
  98. #define TOKEN_OPT_LEASETIME _T("leasetime")
  99. #define TOKEN_OPT_DNSMODE _T("dnsmode")
  100. #define TOKEN_OPT_WINSMODE _T("winsmode")
  101. // RIP global options
  102. #define TOKEN_OPT_MIN_TRIG_INTR _T("mintrig")
  103. // RIP Interface Options
  104. #define TOKEN_OPT_UPDATE_MODE _T("updatemode")
  105. #define TOKEN_OPT_ANNOUNCE_MODE _T("announce")
  106. #define TOKEN_OPT_ACCEPT_MODE _T("accept")
  107. #define TOKEN_OPT_FLAG _T("flag")
  108. #define TOKEN_OPT_FLAGS _T("flags")
  109. #define TOKEN_OPT_EXPIRE_INTR _T("expire")
  110. #define TOKEN_OPT_REMOVE_INTR _T("remove")
  111. #define TOKEN_OPT_UPDATE_INTR _T("update")
  112. #define TOKEN_OPT_AUTH_MODE _T("authmode")
  113. #define TOKEN_OPT_ROUTE_TAG _T("tag")
  114. #define TOKEN_OPT_UNICAST_MODE _T("unicast")
  115. #define TOKEN_OPT_ACCEPT_FILTER_MODE _T("accfiltmode")
  116. #define TOKEN_OPT_ANNOUNCE_FILTER_MODE _T("annfiltmode")
  117. #define TOKEN_OPT_ACCEPT_FILTER _T("accfilt")
  118. #define TOKEN_OPT_ANNOUNCE_FILTER _T("annfilt")
  119. // IGMP Interface options
  120. #define TOKEN_OPT_PROTO_TYPE _T("igmpprototype")
  121. #define TOKEN_OPT_ROBUSTNESS_VARIABLE _T("robustvar")
  122. #define TOKEN_OPT_GEN_QUERY_INTERVAL _T("genqueryinterval")
  123. #define TOKEN_OPT_GEN_QUERY_RESPONSE_TIME _T("genqueryresptime")
  124. #define TOKEN_OPT_INTERFACE_ENABLED _T("ifenabled")
  125. #define TOKEN_OPT_STARTUP_QUERY_COUNT _T("startupquerycount")
  126. #define TOKEN_OPT_STARTUP_QUERY_INTERVAL _T("startupqueryinterval")
  127. #define TOKEN_OPT_LASTMEM_QUERY_COUNT _T("lastmemquerycount")
  128. #define TOKEN_OPT_LASTMEM_QUERY_INTERVAL _T("lastmemqueryinterval")
  129. #define TOKEN_OPT_STATIC_GROUP _T("staticgroup")
  130. #define TOKEN_OPT_STATIC_JOIN_MODE _T("joinmode")
  131. #define TOKEN_OPT_RTRALERT_PKTS _T("accnonrtralertpkts")
  132. // OSPF Global Options
  133. #define TOKEN_OPT_ROUTER_ID _T("routerid")
  134. #define TOKEN_OPT_BORDER _T("asborder")
  135. // OSPF Area/Area Range Options
  136. #define TOKEN_OPT_AREA_ID _T("areaid")
  137. #define TOKEN_OPT_STUB_AREA _T("stubarea")
  138. #define TOKEN_OPT_SUMMARY_ADVERTISEMENTS _T("sumadv")
  139. #define TOKEN_OPT_AREA_RANGE _T("range")
  140. // OSPF Virtual Interface Options
  141. #define TOKEN_OPT_TRANSIT_AREA_ID _T("transareaid")
  142. #define TOKEN_OPT_VIRT_NBR_ROUTER_ID _T("virtnbrid")
  143. // OSPF External routing
  144. #define TOKEN_OPT_PROTOCOL_FILTER _T("protofilter")
  145. #define TOKEN_OPT_ACTION _T("action")
  146. #define TOKEN_OPT_ROUTE_FILTER _T("routefilter")
  147. // OSPF Interface Options
  148. #define TOKEN_OPT_IF_STATE _T("state")
  149. #define TOKEN_OPT_PRIORITY _T("prio")
  150. #define TOKEN_OPT_TRANS_DELAY _T("transdelay")
  151. #define TOKEN_OPT_RETRANS_INTR _T("retrans")
  152. #define TOKEN_OPT_HELLO_INTR _T("hello")
  153. #define TOKEN_OPT_DEAD_INTR _T("dead")
  154. #define TOKEN_OPT_POLL_INTR _T("poll")
  155. #define TOKEN_OPT_MTU_SIZE _T("mtu")
  156. // QOS Interface options
  157. #define TOKEN_OPT_IF_STATE _T("state")
  158. // QOS Flow options
  159. #define TOKEN_OPT_FLOW_NAME _T("flowname")
  160. #define TOKEN_OPT_FLOWSPEC _T("flowspec")
  161. #define TOKEN_OPT_DIRECTION _T("direction")
  162. // QOS FlowSpec options
  163. #define TOKEN_OPT_SERVICE_TYPE _T("servicetype")
  164. #define TOKEN_OPT_TOKEN_RATE _T("tokenrate")
  165. #define TOKEN_OPT_TOKEN_BUCKET_SIZE _T("tokenbucketsize")
  166. #define TOKEN_OPT_PEAK_BANDWIDTH _T("peakbandwidth")
  167. #define TOKEN_OPT_LATENCY _T("latency")
  168. #define TOKEN_OPT_DELAY_VARIATION _T("delayvariation")
  169. #define TOKEN_OPT_MAX_SDU_SIZE _T("maxsdusize")
  170. #define TOKEN_OPT_MIN_POLICED_SIZE _T("minpolicedsize")
  171. // QOS Flowspec Direction Options
  172. #define TOKEN_OPT_DIRECTION_INBOUND _T("inbound")
  173. #define TOKEN_OPT_DIRECTION_OUTBOUND _T("outbound")
  174. #define TOKEN_OPT_DIRECTION_BIDIRECTIONAL _T("bidirectional")
  175. // QOS Object Options
  176. #define TOKEN_OPT_QOSOBJECT _T("qosobject")
  177. #define TOKEN_OPT_QOSOBJECT_TYPE _T("type")
  178. #define TOKEN_OPT_QOSOBJECT_DIFFSERV _T("diffserv")
  179. #define TOKEN_OPT_QOSOBJECT_SD_MODE _T("sdmode")
  180. // QOS ServiceType options
  181. #define TOKEN_OPT_SERVICE_BESTEFFORT _T("besteffort")
  182. #define TOKEN_OPT_SERVICE_CONTROLLEDLOAD _T("controlledload")
  183. #define TOKEN_OPT_SERVICE_GUARANTEED _T("guaranteed")
  184. #define TOKEN_OPT_SERVICE_QUALITATIVE _T("qualitative")
  185. // QOS SD Mode options
  186. #define TOKEN_OPT_SHAPING_MODE _T("shaping")
  187. #define TOKEN_OPT_SDMODE_BORROW _T("borrow")
  188. #define TOKEN_OPT_SDMODE_SHAPE _T("shape")
  189. #define TOKEN_OPT_SDMODE_DISCARD _T("discard")
  190. #define TOKEN_OPT_SDMODE_BORROW_PLUS _T("borrowplus")
  191. // QOS Diffserv Rule options
  192. #define TOKEN_OPT_INBOUND_DS_FIELD _T("dsin")
  193. #define TOKEN_OPT_CONF_OUTBOUND_DS_FIELD _T("dsoutconf")
  194. #define TOKEN_OPT_NONCONF_OUTBOUND_DS_FIELD _T("dsoutnonconf")
  195. #define TOKEN_OPT_CONF_USER_PRIORITY _T("priconf")
  196. #define TOKEN_OPT_NONCONF_USER_PRIORITY _T("prinonconf")
  197. // OSPF Neighbor option
  198. #define TOKEN_OPT_NBR_ADDR _T("nbraddr")
  199. #define TOKEN_OPT_NBR_PRIO _T("nbrprio")
  200. #define TOKEN_OPT_TYPE _T("type")
  201. #define TOKEN_OPT_METRIC _T("metric")
  202. // Router discovery options
  203. #define TOKEN_DISCOVERY L"disc"
  204. #define TOKEN_MIN_DISC_INTERVAL L"minint"
  205. #define TOKEN_MAX_DISC_INTERVAL L"maxint"
  206. #define TOKEN_LIFETIME L"life"
  207. #define TOKEN_LEVEL L"level"
  208. // Protocol types
  209. #define TOKEN_OPT_VALUE_RTRMGR _T("ROUTERMANAGER")
  210. #define TOKEN_OPT_VALUE_RIP _T("RIP")
  211. #define TOKEN_OPT_VALUE_OSPF _T("OSPF")
  212. #define TOKEN_OPT_VALUE_BOOTP _T("BOOTP")
  213. #define TOKEN_OPT_VALUE_IGMP _T("IGMP")
  214. #define TOKEN_OPT_VALUE_AUTO_DHCP _T("AUTODHCP")
  215. #define TOKEN_OPT_VALUE_DNS_PROXY _T("DNSPROXY")
  216. #define TOKEN_OPT_VALUE_TCP _T("TCP")
  217. #define TOKEN_OPT_VALUE_UDP _T("UDP")
  218. #define TOKEN_OPT_VALUE_ICMP _T("ICMP")
  219. #define TOKEN_OPT_VALUE_NETMGMT _T("SNMP")
  220. #define TOKEN_OPT_VALUE_LOCAL _T("LOCAL")
  221. #define TOKEN_OPT_VALUE_STATIC _T("STATIC")
  222. #define TOKEN_OPT_VALUE_AUTOSTATIC _T("AUTOSTATIC")
  223. #define TOKEN_OPT_VALUE_NONDOD _T("NONDOD")
  224. #define TOKEN_OPT_VALUE_ANY _T("ANY")
  225. // Igmp protocol types
  226. #define TOKEN_OPT_VALUE_IGMPRTRV1 _T("IGMPRTRV1")
  227. #define TOKEN_OPT_VALUE_IGMPRTRV2 _T("IGMPRTRV2")
  228. #define TOKEN_OPT_VALUE_IGMPPROXY _T("IGMPPROXY")
  229. #define TOKEN_OPT_VALUE_TRUE _T("TRUE")
  230. #define TOKEN_OPT_VALUE_FALSE _T("FALSE")
  231. #define TOKEN_OPT_VALUE_HOST_JOIN _T("HOSTJOIN")
  232. #define TOKEN_OPT_VALUE_MGM_ONLY_JOIN _T("MGMONLYJOIN")
  233. // Accept/Announce types
  234. #define TOKEN_OPT_VALUE_RIP1 _T("RIP1")
  235. #define TOKEN_OPT_VALUE_RIP1_COMPAT _T("RIP1COMPAT")
  236. #define TOKEN_OPT_VALUE_RIP2 _T("RIP2")
  237. // log level types
  238. #define TOKEN_OPT_VALUE_ERROR _T("ERROR")
  239. #define TOKEN_OPT_VALUE_WARN _T("WARN")
  240. #define TOKEN_OPT_VALUE_INFO _T("INFO")
  241. // unicast peer modes
  242. #define TOKEN_OPT_VALUE_ALSO _T("ALSO")
  243. #define TOKEN_OPT_VALUE_ONLY _T("ONLY")
  244. // RIP Interface flag modes
  245. #define TOKEN_OPT_VALUE_CLEAR _T("Clear")
  246. #define TOKEN_OPT_VALUE_SPLIT_HORIZON _T("SplitHorizon")
  247. #define TOKEN_OPT_VALUE_POISON_REVERSE _T("PoisonReverse")
  248. #define TOKEN_OPT_VALUE_TRIGGERED_UPDATES _T("TriggeredUpdates")
  249. #define TOKEN_OPT_VALUE_CLEANUP_UPDATES _T("CleanupUpdates")
  250. #define TOKEN_OPT_VALUE_ACCEPT_HOST_ROUTES _T("AcceptHostRoutes")
  251. #define TOKEN_OPT_VALUE_SEND_HOST_ROUTES _T("SendHostRoutes")
  252. #define TOKEN_OPT_VALUE_ACCEPT_DEFAULT_ROUTES _T("AcceptDefaultRoutes")
  253. #define TOKEN_OPT_VALUE_SEND_DEFAULT_ROUTES _T("SendDefaultRoutes")
  254. #define TOKEN_OPT_VALUE_SUBNET_SUMMARY _T("NoSubnetSummary")
  255. // filter modes
  256. #define TOKEN_OPT_VALUE_INCLUDE _T("INCLUDE")
  257. #define TOKEN_OPT_VALUE_EXCLUDE _T("EXCLUDE")
  258. // Misc. option vlues
  259. #define TOKEN_OPT_VALUE_INPUT _T("INPUT")
  260. #define TOKEN_OPT_VALUE_OUTPUT _T("OUTPUT")
  261. #define TOKEN_OPT_VALUE_DIAL _T("DIAL")
  262. #define TOKEN_OPT_VALUE_ENABLE _T("enable")
  263. #define TOKEN_OPT_VALUE_DISABLE _T("disable")
  264. #define TOKEN_OPT_VALUE_DEFAULT _T("default")
  265. #define TOKEN_OPT_VALUE_FULL _T("FULL")
  266. #define TOKEN_OPT_VALUE_YES _T("YES")
  267. #define TOKEN_OPT_VALUE_NO _T("NO")
  268. #define TOKEN_OPT_VALUE_NONE _T("NONE")
  269. #define TOKEN_OPT_VALUE_PASSWORD _T("PASSWORD")
  270. #define TOKEN_OPT_VALUE_DROP _T("DROP")
  271. #define TOKEN_OPT_VALUE_FORWARD _T("FORWARD")
  272. #define TOKEN_OPT_VALUE_ACCEPT _T("ACCEPT")
  273. #define TOKEN_OPT_VALUE_DEMAND _T("DEMAND")
  274. #define TOKEN_OPT_VALUE_PERIODIC _T("PERIODIC")
  275. #define TOKEN_OPT_VALUE_NBMA _T("NBMA")
  276. #define TOKEN_OPT_VALUE_POINT_TO_POINT _T("P2P")
  277. #define TOKEN_OPT_VALUE_BROADCAST _T("BROADCAST")
  278. #define TOKEN_OPT_VALUE_ADDRESSONLY _T("ADDRESSONLY")
  279. #define TOKEN_OPT_VALUE_PRIVATE _T("PRIVATE")
  280. #define TOKEN_OPT_VALUE_AUTH_NONE _T("AUTHNONE")
  281. #define TOKEN_OPT_VALUE_AUTH_SIMPLE_PASSWORD _T("AUTHSIMPLEPASSWORD")
  282. #define TOKEN_HLPER_RIP _T("rip")
  283. #define TOKEN_HLPER_RIPMIB _T("ripmib")
  284. #define TOKEN_HLPER_OSPF _T("ospf")
  285. #define TOKEN_HLPER_OSPFMIB _T("ospfmib")
  286. // Commands for configuring the various protocols
  287. // tokens for commands required by most protocols
  288. #define CMD_GROUP_ADD _T("add")
  289. #define CMD_GROUP_DELETE _T("delete")
  290. #define CMD_GROUP_SET _T("set")
  291. #define CMD_GROUP_SHOW _T("show")
  292. #define CMD_SHOW_HELPER _T("show helper")
  293. #define CMD_INSTALL _T("install")
  294. #define CMD_UNINSTALL _T("uninstall")
  295. #define CMD_DUMP _T("dump")
  296. #define CMD_HELP1 _T("help")
  297. #define CMD_HELP2 _T("?")
  298. #define CMD_MIB _T("mib")
  299. #define CMD_ADD_HELPER _T("add helper")
  300. #define CMD_DEL_HELPER _T("delete helper")
  301. // ip commands
  302. #define CMD_IP_ADD_IF _T("add interface")
  303. #define CMD_IP_DEL_IF _T("delete interface")
  304. #define CMD_IP_ADD_IF_FILTER _T("add filter")
  305. #define CMD_IP_DEL_IF_FILTER _T("delete filter")
  306. #define CMD_IP_ADD_PROTO _T("add protocol")
  307. #define CMD_IP_DEL_PROTO _T("delete protocol")
  308. #define CMD_IP_ADD_ROUTEPREF _T("add routepref")
  309. #define CMD_IP_DEL_ROUTEPREF _T("delete routepref")
  310. #define CMD_IP_SET_IF _T("set interface")
  311. #define CMD_IP_SET_IF_FILTER _T("set filter")
  312. #define CMD_IP_SET_ROUTEPREF _T("set routepref")
  313. #define CMD_IP_SET _T("set")
  314. #define CMD_IP_SHOW_IF_FILTER _T("show filter")
  315. #define CMD_IP_SHOW_IF _T("show interface")
  316. #define CMD_IP_SHOW_ROUTEPREF _T("show routepref")
  317. #define CMD_IP_SHOW_PROTOCOL _T("show protocol")
  318. #define CMD_IP_SHOW _T("show")
  319. // rip add commands
  320. #define CMD_RIP_ADD_PF _T("add peerfilter")
  321. #define CMD_RIP_ADD_IF_ACCF _T("add acceptfilter")
  322. #define CMD_RIP_ADD_IF_ANNF _T("add announcefilter")
  323. #define CMD_RIP_ADD_IF_NBR _T("add neighbor")
  324. #define CMD_RIP_ADD_IF _T("add interface")
  325. // rip delete commands
  326. #define CMD_RIP_DEL_PF _T("delete peerfilter")
  327. #define CMD_RIP_DEL_IF_ACCF _T("delete acceptfilter")
  328. #define CMD_RIP_DEL_IF_ANNF _T("delete announcefilter")
  329. #define CMD_RIP_DEL_IF_NBR _T("delete neighbor")
  330. #define CMD_RIP_DEL_IF _T("delete interface")
  331. // rip set commands
  332. #define CMD_RIP_SET_IF _T("set interface")
  333. #define CMD_RIP_SET_FLAGS _T("set flags")
  334. #define CMD_RIP_SET_GLOBAL _T("set global")
  335. // rip show commands
  336. #define CMD_RIP_SHOW_IF _T("show interface")
  337. #define CMD_RIP_SHOW_FLAGS _T("show flags")
  338. #define CMD_RIP_SHOW_GLOBAL _T("show global")
  339. // DHCP relay agent add commands
  340. #define CMD_BOOTP_ADD _T("add")
  341. #define CMD_BOOTP_ADD_IF _T("add interface")
  342. #define CMD_BOOTP_ADD_DHCP_SERVER _T("add dhcpserver")
  343. // DHCP relay agent delete commands
  344. #define CMD_BOOTP_DEL _T("delete")
  345. #define CMD_BOOTP_DEL_IF _T("delete interface")
  346. #define CMD_BOOTP_DEL_DHCP_SERVER _T("delete dhcpserver")
  347. // DHCP relay agent set commands
  348. #define CMD_BOOTP_SET_GLOBAL _T("set global")
  349. #define CMD_BOOTP_SET_IF _T("set interface")
  350. // DHCP relay agent show commands
  351. #define CMD_BOOTP_SHOW_GLOBAL _T("show global")
  352. #define CMD_BOOTP_SHOW_IF _T("show interface")
  353. // IGMP commands
  354. #define CMD_IGMP_ADD_IF_STATICGROUP _T("add staticgroup")
  355. #define CMD_IGMP_ADD_IF _T("add interface")
  356. #define CMD_IGMP_DEL_IF_STATICGROUP _T("delete staticgroup")
  357. #define CMD_IGMP_DEL_IF _T("delete interface")
  358. #define CMD_IGMP_SET_IF _T("set interface")
  359. #define CMD_IGMP_SET_GLOBAL _T("set global")
  360. #define CMD_IGMP_SHOW_IF _T("show interface")
  361. #define CMD_IGMP_SHOW_GLOBAL _T("show global")
  362. // DHCP allocator commands
  363. #define CMD_AUTODHCP_ADD_EXCLUSION _T("add exclusion")
  364. #define CMD_AUTODHCP_DELETE_EXCLUSION _T("delete exclusion")
  365. #define CMD_AUTODHCP_SET_GLOBAL _T("set global")
  366. #define CMD_AUTODHCP_SET_INTERFACE _T("set interface")
  367. #define CMD_AUTODHCP_SHOW_GLOBAL _T("show global")
  368. #define CMD_AUTODHCP_SHOW_INTERFACE _T("show interface")
  369. // DNS proxy commands
  370. #define CMD_DNSPROXY_SET_GLOBAL _T("set global")
  371. #define CMD_DNSPROXY_SET_INTERFACE _T("set interface")
  372. #define CMD_DNSPROXY_SHOW_GLOBAL _T("show global")
  373. #define CMD_DNSPROXY_SHOW_INTERFACE _T("show interface")
  374. // NAT commands
  375. #define CMD_NAT_ADD_ADDRESS_MAPPING _T("add addressmapping")
  376. #define CMD_NAT_ADD_ADDRESS_RANGE _T("add addressrange")
  377. #define CMD_NAT_ADD_DIRECTPLAY _T("add directplay")
  378. #define CMD_NAT_ADD_H323 _T("add h323")
  379. #define CMD_NAT_ADD_INTERFACE _T("add interface")
  380. #define CMD_NAT_ADD_PORT_MAPPING _T("add portmapping")
  381. #define CMD_NAT_DELETE_ADDRESS_MAPPING _T("delete addressmapping")
  382. #define CMD_NAT_DELETE_ADDRESS_RANGE _T("delete addressrange")
  383. #define CMD_NAT_DELETE_DIRECTPLAY _T("delete directplay")
  384. #define CMD_NAT_DELETE_H323 _T("delete h323")
  385. #define CMD_NAT_DELETE_INTERFACE _T("delete interface")
  386. #define CMD_NAT_DELETE_PORT_MAPPING _T("delete portmapping")
  387. #define CMD_NAT_SET_GLOBAL _T("set global")
  388. #define CMD_NAT_SET_INTERFACE _T("set interface")
  389. #define CMD_NAT_SHOW_GLOBAL _T("show global")
  390. #define CMD_NAT_SHOW_INTERFACE _T("show interface")
  391. // RDISC commands
  392. #define CMD_RDISC_ADD_INTERFACE L"add interface"
  393. #define CMD_RDISC_DELETE_INTERFACE L"delete interface"
  394. #define CMD_RDISC_SET_INTERFACE L"set interface"
  395. #define CMD_RDISC_SHOW_INTERFACE L"show interface"
  396. // QOS commands
  397. #define CMD_QOS_ADD_FILTER_TO_FLOW _T("add filter")
  398. #define CMD_QOS_ADD_QOSOBJECT_ON_FLOW _T("add qoonflow")
  399. #define CMD_QOS_ADD_FLOWSPEC_ON_FLOW _T("add fsonflow")
  400. #define CMD_QOS_ADD_FLOW_ON_IF _T("add flow")
  401. #define CMD_QOS_ADD_IF _T("add interface")
  402. #define CMD_QOS_ADD_DSRULE _T("add dsrule")
  403. #define CMD_QOS_ADD_SDMODE _T("add sdmode")
  404. #define CMD_QOS_ADD_FLOWSPEC _T("add flowspec")
  405. #define CMD_QOS_DEL_FILTER_FROM_FLOW _T("delete filter")
  406. #define CMD_QOS_DEL_QOSOBJECT_ON_FLOW _T("delete qoonflow")
  407. #define CMD_QOS_DEL_FLOWSPEC_ON_FLOW _T("delete fsonflow")
  408. #define CMD_QOS_DEL_FLOW_ON_IF _T("delete flow")
  409. #define CMD_QOS_DEL_IF _T("delete interface")
  410. #define CMD_QOS_DEL_DSRULE _T("delete dsrule")
  411. #define CMD_QOS_DEL_SDMODE _T("delete sdmode")
  412. #define CMD_QOS_DEL_QOSOBJECT _T("delete qosobject")
  413. #define CMD_QOS_DEL_FLOWSPEC _T("delete flowspec")
  414. #define CMD_QOS_SET_FILTER_ON_FLOW _T("set filter")
  415. #define CMD_QOS_SET_FLOW_ON_IF _T("set flow")
  416. #define CMD_QOS_SET_IF _T("set interface")
  417. #define CMD_QOS_SET_GLOBAL _T("set global")
  418. #define CMD_QOS_SHOW_FILTER_ON_FLOW _T("show filter")
  419. #define CMD_QOS_SHOW_FLOW_ON_IF _T("show flow")
  420. #define CMD_QOS_SHOW_IF _T("show interface")
  421. #define CMD_QOS_SHOW_DSMAP _T("show dsmap")
  422. #define CMD_QOS_SHOW_SDMODE _T("show sdmode")
  423. #define CMD_QOS_SHOW_QOSOBJECT _T("show qosobject")
  424. #define CMD_QOS_SHOW_FLOWSPEC _T("show flowspec")
  425. #define CMD_QOS_SHOW_GLOBAL _T("show global")
  426. // Common dump commands
  427. #define DMP_POPD L"\n\npopd\n"
  428. #define DMP_UNINSTALL L"uninstall\n"
  429. // Igmp dump commands
  430. #define DMP_IGMP_PUSHD L"\
  431. pushd routing ip igmp\n"
  432. #define DMP_IGMP_INSTALL _T("\
  433. install\n")
  434. #define DMP_IGMP_UNINSTALL _T("\
  435. uninstall\n")
  436. #define DMP_IGMP_SET_GLOBAL _T("\
  437. set global loglevel = %1!s!\n")
  438. #define DMP_IGMP_ADD_INTERFACE_RTRV1 _T("\
  439. add interface name=%1!s! igmpprototype=%2!s!\
  440. ifenabled=%3!s!\
  441. robustvar=%4!d!\
  442. startupquerycount=%5!d!\
  443. startupqueryinterval=%6!d!\
  444. genqueryinterval=%7!d!\
  445. genqueryresptime=%8!d!\
  446. accnonrtralertpkts=%9!s!\n")
  447. #define DMP_IGMP_ADD_INTERFACE_RTRV2 _T("\
  448. add interface name=%1!s! igmpprototype=%2!s!\
  449. ifenabled=%3!s!\
  450. robustvar=%4!d!\
  451. startupquerycount=%5!d!\
  452. startupqueryinterval=%6!d!\
  453. genqueryinterval=%7!d!\
  454. genqueryresptime=%8!d!\
  455. lastmemquerycount=%9!d!\
  456. lastmemqueryinterval=%10!d!\
  457. accnonrtralertpkts=%11!s!\n")
  458. #define DMP_IGMP_ADD_INTERFACE_PROXY _T("\
  459. add interface name=%1!s! igmpprototype=%2!s! ifenabled=%3!s!\n")
  460. #define DMP_IGMP_DELETE_INTERFACE _T("\
  461. delete interface name=%1!s!\n")
  462. #define DMP_IGMP_STATIC_GROUP _T("\
  463. add staticgroup name=%1!s! staticgroup=%2!s! joinmode=%3!s!\n")
  464. // Rip dump commands
  465. #define DMP_RIP_PUSHD L"\
  466. pushd routing ip rip\n"
  467. #define DMP_RIP_INSTALL _T("\
  468. install\n")
  469. #define DMP_RIP_UNINSTALL _T("\
  470. uninstall\n")
  471. #define DMP_RIP_SET_GLOBAL _T("\
  472. set global loglevel=%1!s! mintrig=%2!d! peermode=%3!s!\n\n")
  473. #define DMP_RIP_PEER_ADDR _T("\
  474. add peerfilter server=%1!s!\n")
  475. #define DMP_RIP_DELETE_INTERFACE _T("\
  476. delete interface name=%1!s! \n")
  477. #define DMP_RIP_ADD_INTERFACE _T("\
  478. add interface name=%1!s! \n")
  479. #define DMP_RIP_SET_INTERFACE _T("\
  480. set interface name=%1!s!\
  481. metric=%2!d!\
  482. updatemode=%3!s!\
  483. announce=%4!s!\
  484. accept=%5!s!\
  485. expire=%6!d!\
  486. remove=%7!d!\
  487. update=%8!d!\
  488. authmode=%9!s!\
  489. tag=%10!d!\
  490. unicast=%11!s!\
  491. accfiltmode=%12!s!\
  492. annfiltmode=%13!s!\n")
  493. #define DMP_RIP_SET_INTERFACE_PASSWORD _T("\
  494. set interface name=%1!s!\
  495. password=%2!s!\n")
  496. #define DMP_RIP_SET_FLAGS _T("\
  497. set flags name=%1!s!\
  498. flag=%2!s!\n\n")
  499. #define DMP_RIP_IF_UNICAST_PEER _T("\
  500. add neighbor name=%1!s! server=%2!s!\n")
  501. #define DMP_RIP_IF_ACC_FILTER _T("\
  502. add acceptfilter name=%1!s! addr=%2!s! mask=%3!s!\n")
  503. #define DMP_RIP_IF_ANN_FILTER _T("\
  504. add announcefilter name=%1!s! addr=%2!s! mask=%3!s!\n")
  505. // QOS dump commands
  506. #define DMP_QOS_PUSHD L"\
  507. pushd routing ip qos\n"
  508. #define DMP_QOS_INSTALL _T("\
  509. install\n")
  510. #define DMP_QOS_UNINSTALL _T("\
  511. uninstall\n")
  512. #define DMP_QOS_HEADER _T("\
  513. \n")
  514. #define DMP_QOS_FOOTER _T("\
  515. \n")
  516. #define DMP_QOS_GLOBAL_HEADER _T("\
  517. \n")
  518. #define DMP_QOS_GLOBAL_FOOTER _T("\
  519. \n\n")
  520. #define DMP_QOS_SET_GLOBAL _T("\
  521. set global loglevel=%1!s!\n\n")
  522. #define DMP_QOS_INTERFACE_HEADER _T("\
  523. \n")
  524. #define DMP_QOS_INTERFACE_FOOTER _T("\
  525. \n\n")
  526. #define DMP_QOS_ADD_INTERFACE _T("\
  527. add interface name=%1!s!\
  528. state=%2!s!\n")
  529. #define DMP_QOS_SET_INTERFACE _T("\
  530. set interface name=%1!s!\
  531. state=%2!s!\n")
  532. #define DMP_QOS_DELETE_INTERFACE _T("\
  533. delete interface name=%1!s! \n")
  534. #define DMP_QOS_ADD_FLOWSPEC _T("\
  535. add flowspec name=%1!s!\
  536. servicetype=%2!s!\
  537. tokenrate=%3!d!\
  538. tokenbucketsize=%4!d!\
  539. peakbandwidth=%5!d!\
  540. latency=%6!d!\
  541. delayvariation=%7!d!\
  542. maxsdusize=%8!d!\
  543. minpolicedsize=%9!d!\n")
  544. #define DMP_QOS_DELETE_FLOWSPEC _T("\
  545. delete flowspec name=%1!s! \n")
  546. #define DMP_QOS_ADD_SDMODE _T("\
  547. add sdmode name=%1!s! shaping=%2!s!\n")
  548. #define DMP_QOS_DEL_SDMODE _T("\
  549. delete sdmode name=%1!s! \n")
  550. #define DMP_QOS_DSMAP_HEADER _T("\
  551. \n")
  552. #define DMP_QOS_DSMAP_FOOTER _T("\
  553. \n")
  554. #define DMP_QOS_ADD_DSRULE _T("\
  555. add dsrule name=%1!s! dsin=%2!d!\
  556. dsoutconf=%3!d! dsoutnonconf=%4!d!\
  557. priconf=%5!d! prinonconf=%6!d!\n")
  558. #define DMP_QOS_DELETE_DSRULE _T("\
  559. delete dsrule name=%1!s! dsin=%2!d!\n")
  560. #define DMP_QOS_ADD_FLOW _T("\
  561. add flow name=%1!s! flowname=%2!s!\n")
  562. #define DMP_QOS_DELETE_FLOW _T("\
  563. delete flow name=%1!s! flowname=%2!s!\n")
  564. #define DMP_QOS_ADD_FLOWSPEC_ON_FLOW_IN _T("\
  565. add fsonflow name=%1!s! flowname=%2!s! flowspec=%3!s! inbound\n")
  566. #define DMP_QOS_ADD_FLOWSPEC_ON_FLOW_OUT _T("\
  567. add fsonflow name=%1!s! flowname=%2!s! flowspec=%3!s! outbound\n")
  568. #define DMP_QOS_ADD_FLOWSPEC_ON_FLOW_BI _T("\
  569. add fsonflow name=%1!s! flowname=%2!s! flowspec=%3!s! bidirectional\n")
  570. #define DMP_QOS_ADD_QOSOBJECT_ON_FLOW _T("\
  571. add qoonflow name=%1!s! flowname=%2!s! qosobject=%3!s!\n")
  572. // Router-discovery commands
  573. #define DMP_RDISC_PUSHD L"\
  574. pushd routing ip routerdiscovery\n"
  575. #define DMP_RDISC_ADD_INTERFACE L"\
  576. add interface name=%1!s! disc=%2!s! minint=%3!d!\
  577. maxint=%4!d! life=%5!d! level=%6!d!\n"
  578. //
  579. // DHCP relay commands
  580. //
  581. #define DMP_BOOTP_PUSHD L"\
  582. pushd routing ip relay\n"
  583. #define DMP_BOOTP_INSTALL _T("\
  584. install\n")
  585. #define DMP_BOOTP_UNINSTALL _T("\
  586. uninstall\n")
  587. #define DMP_BOOTP_SET_GLOBAL _T("\
  588. set global loglevel=%1!s!\n\n")
  589. #define DMP_BOOTP_DHCP_SERVER_ADD _T("\
  590. add dhcpserver server=%1!s!\n")
  591. #define DMP_BOOTP_DELETE_INTERFACE _T("\
  592. delete interface name=%1!s! \n")
  593. #define DMP_BOOTP_ADD_INTERFACE _T("\
  594. add interface name=%1!s! \n")
  595. #define DMP_BOOTP_SET_INTERFACE _T("\
  596. set interface name=%1!s! relaymode=%2!s! maxhop=%3!d! minsecs=%4!d!\n\n")
  597. //
  598. // DHCP allocator commands
  599. //
  600. #define DMP_AUTODHCP_EXCLUSION _T("\
  601. add exclusion %1!s!=%2!s!\n")
  602. #define DMP_AUTODHCP_INSTALL _T("\
  603. install\n")
  604. #define DMP_AUTODHCP_PUSHD L"\
  605. pushd routing ip autodhcp\n"
  606. #define DMP_AUTODHCP_SET_GLOBAL _T("\
  607. set global %1!s!=%2!s! %3!s!=%4!s! %5!s!=%6!s! %7!s!=%8!s!\n")
  608. #define DMP_AUTODHCP_SET_INTERFACE _T("\
  609. set interface %1!s!=\"%2!s!\" %3!s!=%4!s!\n")
  610. #define DMP_AUTODHCP_UNINSTALL _T("\
  611. uninstall\n")
  612. //
  613. // DNS proxy commands
  614. //
  615. #define DMP_DNSPROXY_INSTALL _T("\
  616. install\n")
  617. #define DMP_DNSPROXY_PUSHD L"\
  618. pushd routing ip dnsproxy\n"
  619. #define DMP_DNSPROXY_SET_GLOBAL _T("\
  620. set global %1!s!=%2!s! %3!s!=%4!s! %5!s!=%6!s! %7!s!=%8!s!\n")
  621. #define DMP_DNSPROXY_SET_INTERFACE _T("\
  622. set interface %1!s!=\"%2!s!\" %3!s!=%4!s!\n")
  623. #define DMP_DNSPROXY_UNINSTALL _T("\
  624. uninstall\n")
  625. //
  626. // NAT commands
  627. //
  628. #define DMP_NAT_ADD_INTERFACE _T("\
  629. add interface %1!s!=\"%2!s!\" %3!s!=%4!s!\n")
  630. #define DMP_NAT_ADDRESS_MAPPING _T("\
  631. add addressmapping %1!s!=\"%2!s!\" %3!s!=%4!s! %5!s!=%6!s! %7!s!=%8!s!\n")
  632. #define DMP_NAT_ADDRESS_RANGE _T("\
  633. add addressrange %1!s!=\"%2!s!\" %3!s!=%4!s! %5!s!=%6!s! %7!s!=%8!s!\n")
  634. #define DMP_NAT_PORT_MAPPING _T("\
  635. add portmapping %1!s!=\"%2!s!\" %3!s!=%4!s! %5!s!=%6!s! %7!s!=%8!s! %9!s!=%10!s! %11!s!=%12!s!\n")
  636. #define DMP_NAT_INSTALL _T("\
  637. install\n")
  638. #define DMP_NAT_PUSHD L"\
  639. pushd routing ip nat\n"
  640. #define DMP_NAT_SET_GLOBAL _T("\
  641. set global %1!s!=%2!s! %3!s!=%4!s! %5!s!=%6!s!\n")
  642. #define DMP_NAT_UNINSTALL _T("\
  643. uninstall\n")
  644. // Ospf dump commands
  645. #define DMP_OSPF_PUSHD _T("\
  646. \npushd routing ip ospf")
  647. #define DMP_OSPF_INSTALL _T("\
  648. \ninstall")
  649. #define DMP_OSPF_UNINSTALL _T("\
  650. \nuninstall")
  651. #define DMP_OSPF_SET_GLOBAL _T("\
  652. \nset global routerid=%1!s! asborder=%2!s! loglevel=%3!s!")
  653. #define DMP_OSPF_ROUTE_FILTER_HEADER _T("\
  654. \n\n#Route filter configuration\n")
  655. #define DMP_OSPF_ADD_ROUTE_FILTER _T("\
  656. \nadd routefilter filter=%1!s! %2!s!")
  657. #define DMP_OSPF_SET_ROUTE_FILTER_ACTION _T("\
  658. \nset routefilter action = %1!s!")
  659. #define DMP_OSPF_ADD_PROTO_FILTER _T("\
  660. \nadd protofilter filter=%1!s!")
  661. #define DMP_OSPF_PROTOCOL_FILTER_HEADER _T("\
  662. \n\n#Protocol filter configuration\n")
  663. #define DMP_OSPF_SET_PROTO_FILTER_ACTION _T("\
  664. \nset protofilter action = %1!s!")
  665. #define DMP_OSPF_DELETE_INTERFACE _T("\
  666. \ndelete interface name=%1!s!")
  667. #define DMP_OSPF_ADD_INTERFACE _T("\
  668. \nadd interface name=%1!s! area=%2!s!")
  669. #define DMP_OSPF_ADD_MULT_INTERFACE _T("\
  670. \nadd interface name=%1!s!\
  671. area=%2!s!\
  672. addr=%3!s!\
  673. mask=%4!s!")
  674. #define DMP_OSPF_SET_INTERFACE _T("\
  675. \nset interface name=%1!s!\
  676. state=%2!s!\
  677. area=%3!s!\
  678. type=%4!s!\
  679. prio=%5!d!\
  680. transdelay=%6!d!\
  681. retrans=%7!d!\
  682. hello=%8!d!\
  683. dead=%9!d!\
  684. poll=%10!d!\
  685. metric=%11!d!\
  686. mtu=%12!d!")
  687. #define DMP_OSPF_SET_MULT_INTERFACE _T("\
  688. \nset interface name=%1!s!\
  689. addr=%2!s!\
  690. mask=%3!s!\
  691. state=%4!s!\
  692. area=%5!s!\
  693. type=%6!s!\
  694. prio=%7!d!\
  695. transdelay=%8!d!\
  696. retrans=%9!d!\
  697. hello=%10!d!\
  698. dead=%11!d!\
  699. poll=%12!d!\
  700. metric=%13!d!\
  701. mtu=%14!d!")
  702. #define DMP_OSPF_SET_INTERFACE_PASSWORD _T("\
  703. \nset interface name=%1!s!\
  704. password=%2!s!")
  705. #define DMP_OSPF_SET_MULT_INTERFACE_PASSWORD _T("\
  706. \nset interface name=%1!s!\
  707. addr=%2!s!\
  708. mask=%3!s!\
  709. password=%4!s!")
  710. #define DMP_OSPF_AREA_HEADER _T("\
  711. \n\n# Configuration for area %1!s!\n")
  712. #define DMP_OSPF_DELETE_AREA _T("\
  713. \ndelete area areaid=%1!s!")
  714. #define DMP_OSPF_ADD_AREA _T("\
  715. \nadd area areaid=%1!s!")
  716. #define DMP_OSPF_SET_AREA _T("\
  717. \nset area areaid=%1!s! auth=%2!s! stubarea=%3!s! metric=%4!d! sumadv=%5!s!")
  718. #define DMP_OSPF_ADD_AREA_RANGE _T("\
  719. \nadd range areaid=%1!s!\
  720. range=%2!s! %3!s!")
  721. #define DMP_OSPF_NEIGHBOR_HEADER _T("\
  722. \n\n#Neighbor configuration for %1!s!\n")
  723. #define DMP_OSPF_ADD_NEIGHBOR _T("\
  724. \nadd neighbor name=%1!s! addr=%2!s! nbraddr=%3!s! nbrprio=%4!d!")
  725. #define DMP_OSPF_DELETE_NEIGHBOR _T("\
  726. \ndelete neighbor name=%1!s! addr=%2!s! nbraddr=%3!s!")
  727. #define DMP_OSPF_VIRTUAL_INTERFACE_HEADER _T("\
  728. \n\n#Configuration for virtual interface AREA %1!s! NEIGHBOR %2!s!\n")
  729. #define DMP_OSPF_ADD_VIRTUAL_INTERFACE _T("\
  730. \nadd virtif transareaid=%1!s! virtnbrid=%2!s!")
  731. #define DMP_OSPF_DELETE_VIRTUAL_INTERFACE _T("\
  732. \ndelete virtif transareaid=%1!s! virtnbrid=%2!s!")
  733. #define DMP_OSPF_SET_VIRTUAL_INTERFACE _T("\
  734. \nset virtif transareaid=%1!s! virtnbrid=%2!s!\
  735. transdelay=%3!d! retrans=%4!d! hello=%5!d!\
  736. dead=%6!d!")
  737. #define DMP_OSPF_SET_VIRTUAL_INTERFACE_PASSWORD _T("\
  738. \nset virtif transareaid=%1!s! virtnbrid=%2!s!\
  739. password=%3!s!")
  740. // Ospf hlp commands
  741. #define CMD_OSPF_ADD_AREA_RANGE _T("add range")
  742. #define CMD_OSPF_ADD_AREA _T("add area")
  743. #define CMD_OSPF_ADD_VIRTIF _T("add virtif")
  744. #define CMD_OSPF_ADD_IF_NBR _T("add neighbor")
  745. #define CMD_OSPF_ADD_IF _T("add interface")
  746. #define CMD_OSPF_ADD_ROUTE_FILTER _T("add routefilter")
  747. #define CMD_OSPF_ADD_PROTO_FILTER _T("add protofilter")
  748. #define CMD_OSPF_ADD _T("add")
  749. #define CMD_OSPF_DEL_AREA_RANGE _T("delete range")
  750. #define CMD_OSPF_DEL_AREA _T("delete area")
  751. #define CMD_OSPF_DEL_VIRTIF _T("delete virtif")
  752. #define CMD_OSPF_DEL_IF_NBR _T("delete neighbor")
  753. #define CMD_OSPF_DEL_IF _T("delete interface")
  754. #define CMD_OSPF_DEL_ROUTE_FILTER _T("delete routefilter")
  755. #define CMD_OSPF_DEL_PROTO_FILTER _T("delete protofilter")
  756. #define CMD_OSPF_DEL _T("delete")
  757. #define CMD_OSPF_SET_AREA _T("set area")
  758. #define CMD_OSPF_SET_VIRTIF _T("set virtif")
  759. #define CMD_OSPF_SET_IF _T("set interface")
  760. #define CMD_OSPF_SET_GLOBAL _T("set global")
  761. #define CMD_OSPF_SET_ROUTE_FILTER _T("set routefilter")
  762. #define CMD_OSPF_SET_PROTO_FILTER _T("set protofilter")
  763. #define CMD_OSPF_SHOW_GLOBAL _T("show global")
  764. #define CMD_OSPF_SHOW_AREA _T("show area")
  765. #define CMD_OSPF_SHOW_VIRTIF _T("show virtif")
  766. #define CMD_OSPF_SHOW_IF _T("show interface")
  767. #define CMD_OSPF_SHOW_ROUTE_FILTER _T("show routefilter")
  768. #define CMD_OSPF_SHOW_PROTO_FILTER _T("show protofilter")
  769. #define CMD_OSPF_SHOW _T("show")