Doc: Fix RIP example
Thanks to Steve Leung for the bugreport.
This commit is contained in:
parent
30c734fc73
commit
9be12a7d95
1 changed files with 11 additions and 10 deletions
|
@ -3806,16 +3806,17 @@ protocol rip [<name>] {
|
||||||
|
|
||||||
<p><code>
|
<p><code>
|
||||||
protocol rip {
|
protocol rip {
|
||||||
debug all;
|
import all;
|
||||||
|
export all;
|
||||||
|
interface "eth*" {
|
||||||
|
metric 2;
|
||||||
port 1520;
|
port 1520;
|
||||||
period 12;
|
mode multicast;
|
||||||
garbage time 60;
|
update time 12;
|
||||||
interface "eth0" { metric 3; mode multicast; };
|
timeout time 60;
|
||||||
interface "eth*" { metric 2; mode broadcast; };
|
|
||||||
authentication cryptographic;
|
authentication cryptographic;
|
||||||
password "secret-shared-key" { algorithm hmac sha256; };
|
password "secret" { algorithm hmac sha256; };
|
||||||
import filter { print "importing"; accept; };
|
};
|
||||||
export filter { print "exporting"; accept; };
|
|
||||||
}
|
}
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue