mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-26 18:53:01 +02:00
Deployed 2d35f152 to dev with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
@@ -1319,6 +1319,56 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#rip-routing" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
RIP Routing
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="RIP Routing">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#rip-interface-settings" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
RIP interface settings
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#rip-global-settings" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
RIP global settings
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#debug-ripv2" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Debug RIPv2
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -3050,6 +3100,56 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#rip-routing" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
RIP Routing
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="RIP Routing">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#rip-interface-settings" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
RIP interface settings
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#rip-global-settings" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
RIP global settings
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#debug-ripv2" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Debug RIPv2
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -4565,6 +4665,10 @@ setting control when it is <em>Enabled</em> or *Disabled:</p>
|
||||
<td style="text-align: left;">OSPF routing</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">ietf-rip</td>
|
||||
<td style="text-align: left;">RIP routing</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">infix-routing</td>
|
||||
<td style="text-align: left;">Infix deviations and extensions</td>
|
||||
</tr>
|
||||
@@ -4745,6 +4849,104 @@ admin@example:/config/> delete routing control-plane-protocol ospfv2 name def
|
||||
admin@example:/config/> leave
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<h3 id="rip-routing">RIP Routing<a class="headerlink" href="#rip-routing" title="Permanent link">¶</a></h3>
|
||||
<p>The system supports RIP dynamic routing for IPv4, i.e., RIPv2. To enable
|
||||
RIP and set active interfaces:</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/config/> edit routing control-plane-protocol ripv2 name default rip
|
||||
admin@example:/config/routing/…/rip/> set interfaces interface e0
|
||||
admin@example:/config/routing/…/rip/> set interfaces interface e1
|
||||
admin@example:/config/routing/…/rip/> leave
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<div class="admonition tip">
|
||||
<p class="admonition-title">Tip</p>
|
||||
<p>Remember to enable <a href="#ipv4-forwarding">IPv4 forwarding</a> for all the
|
||||
interfaces you want to route between.</p>
|
||||
</div>
|
||||
<h4 id="rip-interface-settings">RIP interface settings<a class="headerlink" href="#rip-interface-settings" title="Permanent link">¶</a></h4>
|
||||
<p>By default, interfaces send and receive RIPv2 packets. To control the
|
||||
RIP version per interface:</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/config/routing/…/rip/> edit interfaces interface e0
|
||||
admin@example:/config/routing/…/rip/interfaces/interface/e0/> set send-version 1
|
||||
admin@example:/config/routing/…/rip/interfaces/interface/e0/> set receive-version 1-2
|
||||
admin@example:/config/routing/…/rip/interfaces/interface/e0/> leave
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<p>Valid version values are <code>1</code>, <code>2</code>, or <code>1-2</code> (both versions).</p>
|
||||
<p>To configure a passive interface (advertise network but don't send/receive
|
||||
RIP updates):</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/config/routing/…/rip/> edit interfaces interface e0
|
||||
admin@example:/config/routing/…/rip/interfaces/interface/e0/> set passive
|
||||
admin@example:/config/routing/…/rip/interfaces/interface/e0/> leave
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<h4 id="rip-global-settings">RIP global settings<a class="headerlink" href="#rip-global-settings" title="Permanent link">¶</a></h4>
|
||||
<p>RIP supports redistribution of connected and static routes:</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/config/routing/…/rip/> set redistribute connected
|
||||
admin@example:/config/routing/…/rip/> set redistribute static
|
||||
admin@example:/config/routing/…/rip/> leave
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<h4 id="debug-ripv2">Debug RIPv2<a class="headerlink" href="#debug-ripv2" title="Permanent link">¶</a></h4>
|
||||
<p>The CLI provides various RIP status commands:</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/> show ip rip
|
||||
|
||||
Default version control: send version 2, receive version 2
|
||||
Interface Send Recv Key-chain
|
||||
e0 2 2
|
||||
e1 2 2
|
||||
|
||||
Routing for Networks:
|
||||
e0
|
||||
e1
|
||||
|
||||
Routing Information Sources:
|
||||
Gateway BadPackets BadRoutes Distance Last Update
|
||||
10.0.1.2 0 0 120 00:00:16
|
||||
Distance: (default is 120)
|
||||
|
||||
admin@example:/> show ip rip neighbor
|
||||
|
||||
ADDRESS BAD-PACKETS BAD-ROUTES
|
||||
10.0.1.2 0 0
|
||||
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<p>For more detailed troubleshooting, RIP debug logging can be enabled to
|
||||
capture specific protocol events. Debug messages are written to the
|
||||
routing log file (<code>/var/log/routing</code>).</p>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Caution</p>
|
||||
<p>Debug logging significantly increases log output and may impact
|
||||
performance. Only enable debug categories needed for troubleshooting,
|
||||
and disable them when done.</p>
|
||||
</div>
|
||||
<p>To enable specific RIP debug categories:</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/> configure
|
||||
admin@example:/config/> edit routing control-plane-protocol ripv2 name default rip debug
|
||||
admin@example:/config/routing/…/rip/debug/> set events true
|
||||
admin@example:/config/routing/…/rip/debug/> set packet true
|
||||
admin@example:/config/routing/…/rip/debug/> leave
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<p>Available debug categories include:</p>
|
||||
<ul>
|
||||
<li><code>events</code>: RIP events (sending/receiving packets, timers, interface changes)</li>
|
||||
<li><code>packet</code>: Detailed packet debugging (packet dumps with origin and port)</li>
|
||||
<li><code>kernel</code>: Kernel routing table updates (route add/delete, interface updates)</li>
|
||||
</ul>
|
||||
<p>All debug options are disabled by default. Refer to the <code>infix-routing</code>
|
||||
YANG model for the complete list of available debug options.</p>
|
||||
<p>To view current debug settings:</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/> show running-config routing control-plane-protocol
|
||||
</code></pre></div>
|
||||
<p>To disable all debug logging, simply delete the debug settings or set
|
||||
all options back to <code>false</code>:</p>
|
||||
<div class="highlight"><pre><span></span><code>admin@example:/> configure
|
||||
admin@example:/config/> delete routing control-plane-protocol ripv2 name default rip debug
|
||||
admin@example:/config/> leave
|
||||
admin@example:/>
|
||||
</code></pre></div>
|
||||
<h3 id="view-routing-table">View routing table<a class="headerlink" href="#view-routing-table" title="Permanent link">¶</a></h3>
|
||||
<p>The routing table can be inspected from the operational datastore, XPath
|
||||
<code>/routing/ribs</code>, using sysrepocfg, NETCONF/RESTCONF, or using the CLI.</p>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user