commands.yml.example 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. ---
  2. cisco_ios:
  3. version: "show version"
  4. basic: "show ip interface brief"
  5. extended_output: "show version" # requires paging to be disabled
  6. config:
  7. - "logging buffered 20000" # base command
  8. - "no logging console"
  9. - "logging buffered 20010" # something you can verify has changed
  10. config_verification: "show run | inc logging buffer"
  11. config_file: "cisco_ios_commands.txt"
  12. cisco_asa:
  13. version: "show version"
  14. basic: "show ip"
  15. extended_output: "show version" # requires paging to be disabled
  16. config:
  17. - 'logging buffered notifications'
  18. - 'no logging console'
  19. - 'logging buffered warnings'
  20. config_verification: "show run | inc logging buffer"
  21. config_file: "cisco_asa_commands.txt"
  22. arista_eos:
  23. version: "show version"
  24. basic: "show ip int brief"
  25. extended_output: "show logging" # requires paging to be disabled
  26. config:
  27. - "logging buffered 20000"
  28. - "no logging console"
  29. - "logging buffered 20010"
  30. config_verification: "show run | inc logging buffer"
  31. hp_procurve:
  32. version: "show version"
  33. basic: "show ip"
  34. extended_output: "show logging" # requires paging to be disabled
  35. config:
  36. - 'time timezone -420'
  37. - 'time daylight-time-rule Continental-US-and-Canada'
  38. - 'time timezone -480'
  39. config_verification: "show run"
  40. juniper:
  41. version: "show version"
  42. basic: "show interfaces terse"
  43. extended_output: "show configuration" # requires paging to be disabled
  44. config:
  45. - 'set system syslog archive size 110k files 3'
  46. - 'set system time-zone America/New_York'
  47. - 'set system syslog archive size 120k files 3'
  48. config_verification: "run show configuration | match archive"
  49. support_commit: True
  50. rollback: 'rollback 0'
  51. commit_verification: "run show system commit"
  52. fortinet:
  53. version: "get system status"
  54. basic: "get system interface physical"
  55. extended_output: "get system status"
  56. config:
  57. - 'config firewall service category'
  58. - 'edit Database'
  59. - 'set comment "Generated comment"'
  60. - 'end'
  61. config_verification: "show firewall service category Database | grep comment"
  62. paloalto_panos:
  63. version: "show system info | match version"
  64. basic: "show system info"
  65. extended_output: "show system info"
  66. config:
  67. - 'set network vlan new_test'
  68. - 'set network vlan another_test'
  69. support_commit: True
  70. config_verification: 'run show vlan all'
  71. brocade_fastiron:
  72. version: "show version"
  73. basic: "show ip interface"
  74. extended_output: "show running-config" # requires paging to be disabled
  75. config:
  76. - "logging buffered 4000" # base command
  77. - "no logging console"
  78. - "logging buffered 3000" # something you can verify has changed
  79. config_verification: "show run | inc logging buffer"
  80. config_file: "brocade_fastiron_commands.txt"
  81. brocade_netiron:
  82. version: "show version"
  83. basic: "show ip interface"
  84. extended_output: "show version" # requires paging to be disabled
  85. config:
  86. - "logging buffered 4000" # base command
  87. - "no logging console"
  88. - "logging buffered 3000" # something you can verify has changed
  89. config_verification: "show run | inc logging buffer"
  90. config_file: "brocade_netiron_commands.txt"
  91. brocade_nos:
  92. version: "show version"
  93. basic: "show interface Management"
  94. extended_output: "show ip interface brief" # requires paging to be disabled
  95. config:
  96. - "logging raslog console WARNING" # base command
  97. - "logging raslog console INFO"
  98. config_verification: "show run | inc raslog"
  99. aruba_os:
  100. version: "show version"
  101. basic: "show ip interface brief"
  102. extended_output: "show version"
  103. config:
  104. - "location location1"
  105. - "location location2"
  106. config_verification: "show location"
  107. ubiquiti_edge:
  108. version: "show version"
  109. basic: "show network"
  110. extended_output: "show running-config"
  111. config:
  112. - "logging persistent 3"
  113. - "no logging persistent"
  114. - "logging persistent 4"
  115. config_verification: "show running-config | include 'logging'"
  116. dell_powerconnect:
  117. version: "show version"
  118. basic: "show ip interface vlan 1"
  119. extended_output: "show running-config"
  120. config:
  121. - "logging buffered 400"
  122. - "no logging buffered"
  123. - "logging buffered 200"
  124. config_verification: "show running-config"
  125. pluribus_ssh:
  126. version: "fabric-show parsable-delim ;"
  127. basic: "user-show name mircea parsable-delim ;"
  128. extended_output: "switch-info-show parsable-delim ;"
  129. config:
  130. - "role-create name dummy scope local"
  131. - "role-delete name dummy"
  132. - "role-create name dummy scope local access read-only"
  133. config_verification: "running-config-show"
  134. alcatel_aos:
  135. version: "show system"
  136. basic: "show configuration snapshot ip"
  137. extended_output: "show interfaces status"
  138. config:
  139. - 'VLAN 666'
  140. config_verification: "show vlan"