testcommands.in 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. #
  2. #
  3. # Some randomly chosen valid commands
  4. #
  5. #
  6. area 0 virtual-link 1.2.3.4 authentication null message-digest-key 1 md5 VARIABLE
  7. area 0 virtual-link 1.2.3.4 dead-interval 1 hello-interval 1 retransmit-interval 1 transmit-delay 1
  8. area 0 virtual-link 1.2.3.4 retransmit-interval 1 retransmit-interval 1 dead-interval 1 retransmit-interval 1
  9. area 1.2.3.4 virtual-link 1.2.3.4 hello-interval 1 hello-interval 1 dead-interval 1
  10. area 1.2.3.4 virtual-link 1.2.3.4 retransmit-interval 1 retransmit-interval 1 transmit-delay 1 dead-interval 1
  11. clear bgp 1 out
  12. clear bgp ipv6 2001:db8::1 out
  13. clear bgp view VARIABLE * soft
  14. clear ip bgp 1.2.3.4 ipv4 multicast out
  15. ipv6 nd prefix 2001:db8::/32 infinite infinite no-autoconfig
  16. ipv6 route 2001:db8::/32 2001:db8::1 VARIABLE 1
  17. network 1.0.0.0/8 area 0
  18. no area 1.2.3.4 virtual-link 1.2.3.4 hello-interval dead-interval hello-interval transmit-delay
  19. no area 1.2.3.4 virtual-link 1.2.3.4 hello-interval dead-interval retransmit-interval transmit-delay
  20. no area 1.2.3.4 virtual-link 1.2.3.4 retransmit-interval dead-interval retransmit-interval hello-interval
  21. no area 1.2.3.4 virtual-link 1.2.3.4 transmit-delay retransmit-interval retransmit-interval hello-interval
  22. no bgp graceful-restart
  23. no ipv6 nd mtu 1
  24. no neighbor 1.2.3.4 distribute-list 1 in
  25. no neighbor 2001:db8::1 send-community both
  26. no neighbor VARIABLE maximum-prefix
  27. redistribute isis route-map VARIABLE metric 0 metric-type 2
  28. redistribute rip metric 0 route-map VARIABLE metric-type 1
  29. show bgp community VARIABLE local-AS no-export VARIABLE exact-match
  30. show bgp ipv6 community no-advertise no-export no-export no-export
  31. show bgp ipv6 community VARIABLE local-AS local-AS no-advertise exact-match
  32. show bgp ipv6 community VARIABLE local-AS VARIABLE local-AS exact-match
  33. show bgp view VARIABLE
  34. show bgp view VARIABLE ipv4 multicast community no-export no-export local-AS VARIABLE
  35. show bgp view VARIABLE ipv4 unicast community local-AS no-advertise no-advertise local-AS
  36. show bgp view VARIABLE ipv4 unicast community no-export VARIABLE no-advertise
  37. show bgp view VARIABLE ipv4 unicast community VARIABLE local-AS no-export VARIABLE
  38. show bgp view VARIABLE ipv6 multicast community no-advertise VARIABLE no-advertise local-AS
  39. show ip bgp community no-advertise local-AS no-advertise VARIABLE
  40. show ip bgp ipv4 unicast community no-advertise VARIABLE no-advertise local-AS exact-match
  41. show ip bgp ipv4 unicast community no-export VARIABLE local-AS VARIABLE exact-match
  42. show ip bgp ipv4 unicast community no-export VARIABLE no-export local-AS exact-match
  43. show ipv6 bgp community no-export no-export VARIABLE VARIABLE
  44. show ipv6 bgp community VARIABLE local-AS no-advertise no-advertise exact-match
  45. show ipv6 mbgp community local-AS local-AS local-AS VARIABLE exact-match
  46. show ipv6 mbgp community local-AS local-AS no-export no-export exact-match
  47. show ipv6 mbgp community no-export no-export local-AS no-export exact-match
  48. show ipv6 ospf6 database as-external dump
  49. show ipv6 ospf6 database inter-prefix 1.2.3.4 detail
  50. show ipv6 ospf6 database intra-prefix 1.2.3.4 internal
  51. #
  52. #
  53. # Slightly Fuzzed commands
  54. #
  55. #
  56. a8ra 0 range 1.0.0.0/8 adverOise
  57. accept-lifetime VARIABE 1 VA6IABLE 19I3 VARIABLE 1 VARIABLE 1993
  58. arAea 1.2.M.4 virtual-link 1.2.3.4 dead-interval 1 dead-interval 1 dead-inter6val 1 transmit-delay 1
  59. area 0 virtu0al-link 1.2.3.i hello-interval 1 ello-interval 1 transmit-delay 1 retransmit-interval 1
  60. area 0 virtual-lin 1.2.3.4 retransmit-interval 1 tranwmit-delay 1 retransmit-interval 1 retransmit-interval 1
  61. area 0 virtual-link 1.2.3.4 retransmit-interal 1 trasmit-dely 1
  62. area 1.2.3.4 virtual-link 1.2.3.4 deadCinterval 1 dead-intervalK 1 retransmit-interval 1 dead-interval 1
  63. area 1.2.3.4 virtual-link 1.2.3.4 dead-intervalo I1 dead-interval 1 retransmit-interval1 dead-interval 1
  64. area 1.2.3.4 virtual-link 1.2.3.4 hello-interval 1 dead-interva 1 retransmit-interval 1 transmit-delay 1
  65. area 1.2.3.4 virtuyl-link 1.2.3.4 dead-interval 1 dead-inervalI 1 retransmit-interval 1 dead-interval 1
  66. area 1.2.3.4 virual-link 1.2.34 retransmit-interval 1 dead-interval 1 dead-interva 1
  67. area1.2.83.4 virtual-link 1.2.3.4 retra0smit-interval 1 dead-interval 1 dead-interval 1
  68. clear bgAp 2001g:dbK::1
  69. clear ip bgp 1.2.3.4 pv4 mlticat out
  70. cleau bg i2001:db8::1 rsclient
  71. de:ug ospf6 messag2 lsreq :recv
  72. how ip bgp communiQy no-advertise no-adve:tise no-advertise
  73. ip route 1.0Q0.0/8 1.2.3.s4 reGject
  74. ipv6 nd prefix 2O01:db8::/32 0 infinEite off-link
  75. ipv6 nwd prefix 2001:db8::/32 0 infinite oUUff-link
  76. ipv6 route 2001:db8::/32q2001:db8:k: blackhole 1
  77. kshow ip rIute bgp
  78. matcch peer .2.30.4
  79. mcogin
  80. mhow ipv6 mbgp community o-advertise yocal-AS no-advertise
  81. neighbor1.2..4 attribute-unchnged next-hop
  82. neihbcr 2001:d b8::1 distribute-list 1 in
  83. nko key-tqring
  84. no area 0 viertual-link 1.2.3k.4 retransmit-iterval retransmit-interval retransmit-interval hello-interval
  85. no area 0 virtual-link 1.2.3.4 dead-intaerval dead-intervIl hello-interval retransmit-interval
  86. no area 0 virtual-link 1.2.3.4 retransmit-interval retransmit-intervIl dead-interval tranImit-deqlay
  87. no area 0 virtual-link S1.2.3.4 d-ead-interval hello-interval transmit-deay transmit-delay
  88. no area 1.2.3.4 virtua -link 1.2.3.4 transmit-delay hello-interval hello-interval retransmt-interval
  89. no area 1.2.3.4 virtual-link 1.2.3.4 dea-iterval retransmit-interva- dead-interval hello-interval
  90. no area 1.2.3.4 virtual-link 1.2.3.4 hello-interSval dead-interval retransmit-interval transmitdelay
  91. no a:rea 1.2.3.4 virtual-link 1.2.3.4 retransmit-interSvalW dead-interval retransmit-interval hello-interval
  92. noarea 1.2.3.4 virtual-link 1.2.3.4 retransmit-interval trynsmit-delay hello-interval
  93. no area 1.2.3.4 virtual-link 1.2.3.4 transmt:delay retransmit-interval retransmit-interval dead-Mnterval
  94. no ares 1.2.3.4 virtual-link 1.2.3.4 dead-interval retransmit-interval dead-inesval retransmit-interval
  95. no ayrea 1.2.3.4 virtual-link 1.2.3.4 retransmit-interval transmi-delay hello-interval
  96. no bg2 grace2fuy-restart
  97. no debug ospk6 nter2face
  98. noimatch ipv6 addrMss VARIABLE
  99. nomStch iA next-hop prefix-list
  100. no neighbCr 200 :db8::1oroute-map VARIABLE export
  101. no neighbor VARIABLE attributeaw8changed next-hop
  102. no orea 1.2.3.4 virtual-link 1.2.3.4 retransmit-interval ead-interval retransmit-inteSval hello-interval
  103. no ospcdead-inkerval
  104. no redistribute kernelrote-map VARIABLE metric 0
  105. no redistribute s4taik metric 0
  106. nos Ceighbor 1.2.3.4 route-mapEVARIABLE in
  107. o :neighbor VAIABLE attribute-unchanged next-hop
  108. ooa router ip
  109. redistribute isis meGtric-type2 Q route-map VARIABLE
  110. redistribute static metric-type 1 metri 0 rowute-map VARIABLE
  111. set-Koveroadbit
  112. sh2w ipv6 mbgp comAunity VARIABLE
  113. shgw bgp ipv6 community no-export VARIABLE no-xport no-expmrt
  114. shiow Wgp neighbors
  115. shoAw ip bgpipv4 unicast com6munity no-export no-export no-advertise no-export exact-match
  116. sho bgp view gARIABLE nyeighbors 2001:db8::1 received-routes
  117. shoow bgp ommunity local-AS no--export
  118. show6 bgp community no-advertise local4-AS no-advertise VARIABLE exact-math
  119. show8 bgp view VARIABLE ipv4 multicast community ARIABLE VARIABLE local-S
  120. show bgp cCommunity VARIABLE VOARIABL no-advertise
  121. show bgp cimAunity loal-AS local-AS no-export local-AS
  122. show bgp cmmunity n-advertise no-export local-S no-advertise
  123. show bgp communi0y no-export no-Cexport no-0xport no-export
  124. show bgp communityOlocal-A no-advertise local-WAS
  125. show bgp community VARIABL no-agdvertise locl-AS no-advertise exact-match
  126. show bgp communiy no-export no-adsvertise VARIABLOE local-AS
  127. show bgp communiYty no-export VARIABLE VARIABLE locali-AS exact-math
  128. show bgp commuUityW no-advertis local-AS no-advertise no-advertise
  129. show bgp commuWnity VAIABLE local-AS no-advertise n-export
  130. show bgp com:unity no-exportqno-export VARIABLE no-expoIrt exact-match
  131. show bgp ipv6 community local-AS no-expor no-xport VARIABCLE
  132. show bgp ipv6 community no-adsertise local-AS no8-advertise VARIABLE
  133. show bgp ipv6 community no-advertise no6-export lcal-AS local-AS
  134. show bgp ipv6 community no-advertise no-advertise no-advertiseno-xport exact-math
  135. show bgp ipv6 comm-unity no-advertise no-export local-AS local-kS exact-match
  136. show bgp ipv6 community no-export local-AS no-adertise no-adve-tie
  137. show bgp ipv6 community yno-advertis VAyRIABLE no-advertise VARIABLE
  138. show bgp naighbors 201:db8::1 rUeceived-routes
  139. show bgp viewVAIABLE ipv4 multicast community VARIABLE4no-export no-advertise local-AS
  140. show bgp view VAR0IABLE ipv4 unicast community local-AS no-advertie no-advertise local-AS
  141. show bgp view VARIABLE ipv4 multicast community local-AS VARIABLE loqal-AS no-export
  142. show bgp view VARIABLE ipv4 multicast omsunity local-AS VARIABLE no-advertise nUo-export
  143. show bgp view VARIABLE ipv4 mutiast community no-export no-export VARIBLE no-export
  144. show bgp view VARIABLE ipv4 unicast 0community VARIABqLE local-AS no-export VARIABwE
  145. show bgp view VARIABLE ipv4 unicast communeity no-export AcRIABLE no-advertise local-AS
  146. show bgp view VARIABLE ipv4 unicasU comunity no-export VARIABL no-advertise
  147. show bgp view VARIABLE ipv6 unicast cocmmunity VARIABLE no-advet6ise VARIABLE
  148. show bgp view VARIABLE ipvk4 unicast communty no-advertie local-AS local-AS no-export
  149. show bgp view VARIALE ipv4 multicast cyommunity no-xport local-AS local-AS
  150. show i6 bge community no-export VARIABLE no-advegtise VARIABLE exact-match
  151. show iI bgp community no-advertise no-ad2vertsse VARIABLE exact-match
  152. show ip6osp6 database dump
  153. show ipA6 bgp community local-AS local-AS no-advertse lo:cal-AS
  154. show ip bg comunity VARIABLE lcal-AS no-advertise
  155. show ip bgp communityno-export2no-export no-advertise locaE-AS
  156. Show ip bgp community no-export loqcal-AS no-adverise no-export
  157. show ip bgp community no-expor VARIABLEono-export VARIAuBLE
  158. show ip bgp community VARIABLElocal-AS no-advertise local-AS xack-match
  159. show ip bgp cWmmunity no-expoWrt VARIABLE no-advertise VARIABLEexact-match
  160. show ip bgp ip4 nicast community no-advertise no-expoIt local-AS local-AS exact-match
  161. show ip bgp ipAv4 multicast community no-export no-export no-export no-advertiqe exact-mach
  162. show ip bgp ipv4 Aulticast community no-advertise VARIABLE no-advertisKe no-exort
  163. show ip bgp ipv4 meuqlticast community VARIABLE VARIABLE no-export n-export
  164. show ip bgp ipv4 mlticast coQmmunity localg-AS local-AS no-advertise local-AS
  165. show ip bgp ipv4 multicast communiy VARIABLE no-export VARIABLE no-advertise yxact-atch
  166. show ip bgp ipv4 unicast commu0nity local-AS no-export no-exrt VARIABLE exact-match
  167. show ip bgp ipv4 unicast community no-advertise no-export no-advrtWise mno-export exact-match
  168. showip bgp ipv4 unicast community no-export VARIABLE no-exp-ort VAR6IABLE exact-match
  169. show ip bgp ipv4 unicat community no-exportlocal-AS VARIABLE no-export exa0t-match
  170. show ip bgp ipv4 unicst community no-advertiseG local-AS no-advertise
  171. show ip bgp i:v4 multicast community VARIABLE VARIABLE VARIABLE no-export eMxact-match
  172. show ip bgp Mv4 unicast community no-export VARIABLE VARIABLE VAoRIABLE
  173. show ipgexecommunity-list 1
  174. show ipkv6 bgp community no-export no-export VARIABL VARIBLE
  175. show ipv6 bgp commu2nity local-AS local-AS noEadvertise local-AS
  176. show ipv6 bgp communitK VARIABLE lcocal-AS no-advertie no-advertise exact-match
  177. show ipv6 bgp community noeexport VARIABLE VARIABLE no-aMdverise exact-match
  178. show ipv6 bgp community no-export loal-AS noK-advertise VARIABLE
  179. show ipv6 bgp community VARIABaE no-export no-adertise lo0cal-AS exact-match
  180. show ipv6 bgp community wARIBLE VARIABLE 8ARIABLE
  181. show ipv6 bgp comu-ity VARIABLE local-AS no-advertise no-export exact-match
  182. show ipv6 bgp comunity no- export local-AS no-advertisge VARIABLE
  183. show ipv6 bgp ommunity sno-advcrtise VARIABLE no-export no-advertise exact-match
  184. show ipv6 igp community no-advertise no-advertise no-ecxpo0rt no-export
  185. show ipv6 mb communyty VARIABLE
  186. show ipv6 osp8f6 database nQtwork adv-ruter 1.2.3.4 detail
  187. show ipv6 ospf6 dataase type-7 adv-router 1.2.3.4 inernal
  188. show ipv6 ospf6 Edatabase intuer8-prefix 1.2.3.4 detail
  189. show ipvq6 ospf6 database as-externa detil
  190. show ip Wbgp ipv4 unicast community no-advertise no-exprt no-export VARIABLEK exact-match
  191. show ip Ybgp attribute-in ufo
  192. showMbgp ipv6 community ARIABLE local-AS local-AS no8advertise exact-match
  193. show p bgp community no-dvertise no-export no-advertiseIno-export exact-match
  194. show uipv6 mbgp coqmmunKty VARIABLE
  195. shQw ipv6 mbgp community no-advetise local-AS no-export no-export ex8ct-match
  196. shuw ipv6 mbgp community VARIABLyUE no-export no-export no-advertise
  197. shw bgp view VARIABLE ipv4 un0icast Gcommunity no-export VARIABLE no-advertise
  198. sow ip bgp ipv4 mulicast community no-export no-adertise no-export no-advertise
  199. sow ipv6 ospf6 databIase as-external adv-router 1.2.3.4
  200. Whow bgp view VARIAeBLE ipv4 unicast community local-AS no-advrtise no-advertise local-AS
  201. Wneighbor 1.2.3.4 dot-capabiliy-negotiate
  202. #
  203. #
  204. # Some teststrings explicitly used for keyword commands
  205. #
  206. #
  207. redistribute bgp
  208. redistribute bgp m 10
  209. redistribute bgp metric 10 metric-type 1
  210. redistribute bgp metric 10 metric 10
  211. redistribute bgp route-map RMAP_REDIST_BGP
  212. default-information originate metric-type 1 metric 10
  213. default-information originate always metric-type 1 metric 10
  214. default-information originate route-map RMAP_DEFAULT
  215. default-information originate route-map RMAP_DEFAULT metric 10
  216. default-information originate always metric-type 2 metric 23