OSS_SNMP.MIBS.Cisco.RSTP.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>OSS_SNMP » \OSS_SNMP\MIBS\Cisco\RSTP</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OSS_SNMP</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Namespaces</a></li>
  23. <li><a href="../namespaces/OSS_SNMP.html"><i class="icon-th"></i> OSS_SNMP</a></li>
  24. </ul>
  25. </li>
  26. <li class="dropdown" id="charts-menu">
  27. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  28. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  29. </li>
  30. <li class="dropdown" id="reports-menu">
  31. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  32. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  33. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  34. <span class="label label-info">39</span></a></li>
  35. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  36. <ul><li>todo 
  37. <span class="label label-info">1</span>
  38. </li></ul></a></li>
  39. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  40. <span class="label label-info">0</span></a></li>
  41. </ul>
  42. </li>
  43. </ul></div>
  44. </div></div>
  45. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  46. </div>
  47. <div id="___" class="container">
  48. <noscript><div class="alert alert-warning">
  49. Javascript is disabled; several features are only available
  50. if Javascript is enabled.
  51. </div></noscript>
  52. <div class="row">
  53. <div class="span4">
  54. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  55. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  56. </div>
  57. <ul class="side-nav nav nav-list">
  58. <li class="nav-header">
  59. <i class="icon-custom icon-method"></i> Methods</li>
  60. <li class="method public "><a href="#rstpPortRole" title="rstpPortRole :: Get the device's RSTP port roles (by given vlan id)"><span class="description">Get the device's RSTP port roles (by given vlan id)</span><pre>rstpPortRole()</pre></a></li>
  61. <li class="nav-header">
  62. <i class="icon-custom icon-property"></i> Properties</li>
  63. <li class="property public "><a href="#%24STP_X_RSTP_PASSING_PORT_ROLES" title="$STP_X_RSTP_PASSING_PORT_ROLES :: "><span class="description">$STP_X_RSTP_PASSING_PORT_ROLES</span><pre>$STP_X_RSTP_PASSING_PORT_ROLES</pre></a></li>
  64. <li class="property public "><a href="#%24STP_X_RSTP_PORT_ROLES" title="$STP_X_RSTP_PORT_ROLES :: "><span class="description">$STP_X_RSTP_PORT_ROLES</span><pre>$STP_X_RSTP_PORT_ROLES</pre></a></li>
  65. <li class="nav-header">
  66. <i class="icon-custom icon-constant"></i> Constants</li>
  67. <li class="constant "><a href="#OID_STP_X_RSTP_PORT_ROLE" title="OID_STP_X_RSTP_PORT_ROLE :: "><span class="description">OID_STP_X_RSTP_PORT_ROLE</span><pre>OID_STP_X_RSTP_PORT_ROLE</pre></a></li>
  68. <li class="constant "><a href="#STP_X_RSTP_PORT_ROLE_ALTERNATE" title="STP_X_RSTP_PORT_ROLE_ALTERNATE :: "><span class="description">STP_X_RSTP_PORT_ROLE_ALTERNATE</span><pre>STP_X_RSTP_PORT_ROLE_ALTERNATE</pre></a></li>
  69. <li class="constant "><a href="#STP_X_RSTP_PORT_ROLE_BACKUP" title="STP_X_RSTP_PORT_ROLE_BACKUP :: "><span class="description">STP_X_RSTP_PORT_ROLE_BACKUP</span><pre>STP_X_RSTP_PORT_ROLE_BACKUP</pre></a></li>
  70. <li class="constant "><a href="#STP_X_RSTP_PORT_ROLE_BOUNDARY" title="STP_X_RSTP_PORT_ROLE_BOUNDARY :: "><span class="description">STP_X_RSTP_PORT_ROLE_BOUNDARY</span><pre>STP_X_RSTP_PORT_ROLE_BOUNDARY</pre></a></li>
  71. <li class="constant "><a href="#STP_X_RSTP_PORT_ROLE_DESIGNATED" title="STP_X_RSTP_PORT_ROLE_DESIGNATED :: "><span class="description">STP_X_RSTP_PORT_ROLE_DESIGNATED</span><pre>STP_X_RSTP_PORT_ROLE_DESIGNATED</pre></a></li>
  72. <li class="constant "><a href="#STP_X_RSTP_PORT_ROLE_DISABLED" title="STP_X_RSTP_PORT_ROLE_DISABLED :: "><span class="description">STP_X_RSTP_PORT_ROLE_DISABLED</span><pre>STP_X_RSTP_PORT_ROLE_DISABLED</pre></a></li>
  73. <li class="constant "><a href="#STP_X_RSTP_PORT_ROLE_MASTER" title="STP_X_RSTP_PORT_ROLE_MASTER :: "><span class="description">STP_X_RSTP_PORT_ROLE_MASTER</span><pre>STP_X_RSTP_PORT_ROLE_MASTER</pre></a></li>
  74. <li class="constant "><a href="#STP_X_RSTP_PORT_ROLE_ROOT" title="STP_X_RSTP_PORT_ROLE_ROOT :: "><span class="description">STP_X_RSTP_PORT_ROLE_ROOT</span><pre>STP_X_RSTP_PORT_ROLE_ROOT</pre></a></li>
  75. </ul>
  76. </div>
  77. <div class="span8">
  78. <a name="%5COSS_SNMP%5CMIBS%5CCisco%5CRSTP" id="\OSS_SNMP\MIBS\Cisco\RSTP"></a><ul class="breadcrumb">
  79. <li>
  80. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  81. </li>
  82. <li><a href="../namespaces/OSS_SNMP.html">OSS_SNMP</a></li>
  83. <span class="divider">\</span><li><a href="../namespaces/OSS_SNMP.MIBS.html">MIBS</a></li>
  84. <span class="divider">\</span><li><a href="../namespaces/OSS_SNMP.MIBS.Cisco.html">Cisco</a></li>
  85. <li class="active">
  86. <span class="divider">\</span><a href="../classes/OSS_SNMP.MIBS.Cisco.RSTP.html">RSTP</a>
  87. </li>
  88. </ul>
  89. <div href="../classes/OSS_SNMP.MIBS.Cisco.RSTP.html" class="element class">
  90. <p class="short_description">A class for performing SNMP V2 queries on Cisco devices</p>
  91. <div class="details">
  92. <p class="long_description"></p>
  93. <table class="table table-bordered">
  94. <tr>
  95. <th>copyright</th>
  96. <td>Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland</td>
  97. </tr>
  98. <tr>
  99. <th>author</th>
  100. <td><a href="mailto:barry@opensolutions.ie">Barry O'Donovan</a></td>
  101. </tr>
  102. </table>
  103. <h3>
  104. <i class="icon-custom icon-method"></i> Methods</h3>
  105. <a name="rstpPortRole" id="rstpPortRole"></a><div class="element clickable method public rstpPortRole" data-toggle="collapse" data-target=".rstpPortRole .collapse">
  106. <h2>Get the device's RSTP port roles (by given vlan id)</h2>
  107. <pre>rstpPortRole(int $vid, boolean $translate) : array</pre>
  108. <div class="labels"></div>
  109. <div class="row collapse"><div class="detail-description">
  110. <p class="long_description"><p>Only ports participating in RSTP for the given VLAN id are returned.</p>
  111. <p>This function will also convert STP port IDs to the device proper port IDs.
  112. E.g. sample output:</p>
  113. <p>Array
  114. (
  115. [10101] => 3
  116. [10103] => 3
  117. [10105] => 3
  118. [5048] => 2
  119. )</p></p>
  120. <table class="table table-bordered">
  121. <tr>
  122. <th>see</th>
  123. <td>\$STP_X_RSTP_PORT_ROLES</td>
  124. </tr>
  125. <tr>
  126. <th>see</th>
  127. <td>\STP_X_RSTP_PORT_ROLE_ROOT</td>
  128. </tr>
  129. </table>
  130. <h3>Parameters</h3>
  131. <div class="subelement argument">
  132. <h4>$vid</h4>
  133. <code>int</code><p>The RSTP VLAN ID to query port roles for</p></div>
  134. <div class="subelement argument">
  135. <h4>$translate</h4>
  136. <code>boolean</code><p>If true, return the string representation via self::$STP_X_RSTP_PORT_ROLES</p>
  137. </div>
  138. <h3>Returns</h3>
  139. <div class="subelement response">
  140. <code>array</code>The device's RSTP port roles (by given vlan id)</div>
  141. </div></div>
  142. </div>
  143. <h3>
  144. <i class="icon-custom icon-property"></i> Properties</h3>
  145. <a name="%24STP_X_RSTP_PASSING_PORT_ROLES" id="$STP_X_RSTP_PASSING_PORT_ROLES"> </a><div class="element clickable property public $STP_X_RSTP_PASSING_PORT_ROLES" data-toggle="collapse" data-target=".$STP_X_RSTP_PASSING_PORT_ROLES .collapse">
  146. <h2>$STP_X_RSTP_PASSING_PORT_ROLES</h2>
  147. <pre>$STP_X_RSTP_PASSING_PORT_ROLES </pre>
  148. <div class="labels"></div>
  149. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  150. </div>
  151. <a name="%24STP_X_RSTP_PORT_ROLES" id="$STP_X_RSTP_PORT_ROLES"> </a><div class="element clickable property public $STP_X_RSTP_PORT_ROLES" data-toggle="collapse" data-target=".$STP_X_RSTP_PORT_ROLES .collapse">
  152. <h2>$STP_X_RSTP_PORT_ROLES</h2>
  153. <pre>$STP_X_RSTP_PORT_ROLES </pre>
  154. <div class="labels"></div>
  155. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  156. </div>
  157. <h3>
  158. <i class="icon-custom icon-constant"></i> Constants</h3>
  159. <a name="OID_STP_X_RSTP_PORT_ROLE" id="OID_STP_X_RSTP_PORT_ROLE"> </a><div class="element clickable constant OID_STP_X_RSTP_PORT_ROLE" data-toggle="collapse" data-target=".OID_STP_X_RSTP_PORT_ROLE .collapse">
  160. <h2>OID_STP_X_RSTP_PORT_ROLE</h2>
  161. <pre>OID_STP_X_RSTP_PORT_ROLE </pre>
  162. <div class="labels"></div>
  163. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  164. </div>
  165. <a name="STP_X_RSTP_PORT_ROLE_ALTERNATE" id="STP_X_RSTP_PORT_ROLE_ALTERNATE"> </a><div class="element clickable constant STP_X_RSTP_PORT_ROLE_ALTERNATE" data-toggle="collapse" data-target=".STP_X_RSTP_PORT_ROLE_ALTERNATE .collapse">
  166. <h2>STP_X_RSTP_PORT_ROLE_ALTERNATE</h2>
  167. <pre>STP_X_RSTP_PORT_ROLE_ALTERNATE </pre>
  168. <div class="labels"></div>
  169. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  170. </div>
  171. <a name="STP_X_RSTP_PORT_ROLE_BACKUP" id="STP_X_RSTP_PORT_ROLE_BACKUP"> </a><div class="element clickable constant STP_X_RSTP_PORT_ROLE_BACKUP" data-toggle="collapse" data-target=".STP_X_RSTP_PORT_ROLE_BACKUP .collapse">
  172. <h2>STP_X_RSTP_PORT_ROLE_BACKUP</h2>
  173. <pre>STP_X_RSTP_PORT_ROLE_BACKUP </pre>
  174. <div class="labels"></div>
  175. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  176. </div>
  177. <a name="STP_X_RSTP_PORT_ROLE_BOUNDARY" id="STP_X_RSTP_PORT_ROLE_BOUNDARY"> </a><div class="element clickable constant STP_X_RSTP_PORT_ROLE_BOUNDARY" data-toggle="collapse" data-target=".STP_X_RSTP_PORT_ROLE_BOUNDARY .collapse">
  178. <h2>STP_X_RSTP_PORT_ROLE_BOUNDARY</h2>
  179. <pre>STP_X_RSTP_PORT_ROLE_BOUNDARY </pre>
  180. <div class="labels"></div>
  181. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  182. </div>
  183. <a name="STP_X_RSTP_PORT_ROLE_DESIGNATED" id="STP_X_RSTP_PORT_ROLE_DESIGNATED"> </a><div class="element clickable constant STP_X_RSTP_PORT_ROLE_DESIGNATED" data-toggle="collapse" data-target=".STP_X_RSTP_PORT_ROLE_DESIGNATED .collapse">
  184. <h2>STP_X_RSTP_PORT_ROLE_DESIGNATED</h2>
  185. <pre>STP_X_RSTP_PORT_ROLE_DESIGNATED </pre>
  186. <div class="labels"></div>
  187. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  188. </div>
  189. <a name="STP_X_RSTP_PORT_ROLE_DISABLED" id="STP_X_RSTP_PORT_ROLE_DISABLED"> </a><div class="element clickable constant STP_X_RSTP_PORT_ROLE_DISABLED" data-toggle="collapse" data-target=".STP_X_RSTP_PORT_ROLE_DISABLED .collapse">
  190. <h2>STP_X_RSTP_PORT_ROLE_DISABLED</h2>
  191. <pre>STP_X_RSTP_PORT_ROLE_DISABLED </pre>
  192. <div class="labels"></div>
  193. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  194. </div>
  195. <a name="STP_X_RSTP_PORT_ROLE_MASTER" id="STP_X_RSTP_PORT_ROLE_MASTER"> </a><div class="element clickable constant STP_X_RSTP_PORT_ROLE_MASTER" data-toggle="collapse" data-target=".STP_X_RSTP_PORT_ROLE_MASTER .collapse">
  196. <h2>STP_X_RSTP_PORT_ROLE_MASTER</h2>
  197. <pre>STP_X_RSTP_PORT_ROLE_MASTER </pre>
  198. <div class="labels"></div>
  199. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  200. </div>
  201. <a name="STP_X_RSTP_PORT_ROLE_ROOT" id="STP_X_RSTP_PORT_ROLE_ROOT"> </a><div class="element clickable constant STP_X_RSTP_PORT_ROLE_ROOT" data-toggle="collapse" data-target=".STP_X_RSTP_PORT_ROLE_ROOT .collapse">
  202. <h2>STP_X_RSTP_PORT_ROLE_ROOT</h2>
  203. <pre>STP_X_RSTP_PORT_ROLE_ROOT </pre>
  204. <div class="labels"></div>
  205. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  206. </div>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. <div class="row"><footer class="span12">
  212. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  213. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a5</a> and<br>
  214. generated on 2012-06-22T10:05:27+01:00.<br></footer></div>
  215. </div>
  216. </body>
  217. </html>