Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BIRD Internet Routing Daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
a7c9f7c0
Commit
a7c9f7c0
authored
Jun 06, 2000
by
Pavel Machek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Batch of mj's corrections (config + filters)
parent
a63a9ce6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
127 additions
and
161 deletions
+127
-161
bird.conf
bird.conf
+10
-38
doc/bird.sgml
doc/bird.sgml
+117
-123
No files found.
bird.conf
View file @
a7c9f7c0
...
...
@@ -9,7 +9,7 @@ router id 62.168.0.1;
define
xyzzy
= (
120
+
10
);
protocol
device
{
#
disabled;
disabled
;
# interface "eth*", "ppp*";
}
...
...
@@ -25,44 +25,13 @@ protocol kernel {
protocol
static
{
# disabled;
import
filter
{
print
"ahoj"
;
print
source
;
if
source
=
RTS_STATIC
then
{
print
"It is from static"
;
}
print
from
;
from
=
1
.
2
.
3
.
4
;
print
from
;
print
scope
;
scope
=
SCOPE_HOST
;
print
scope
;
preference
=
15
;
print
preference
;
preference
=
29
;
print
preference
;
rip_metric
=
1
;
print
rip_metric
;
rip_metric
=
rip_metric
+
5
;
print
rip_metric
;
# bgp_community = - empty - ;
# print "nazdar";
# bgp_community = add(bgp_community, (1,2));
# print "cau";
# bgp_community = add(bgp_community, (2,3));
# bgp_community.add((4,5));
# print "community = ", bgp_community;
# bgp_community.delete((2,3));
# print "community = ", bgp_community;
# bgp_community.empty;
# print "community = ", bgp_community;
print
"done"
;
accept
;
};
route
fec0
:
2
::/
64
reject
;
route
fec0
:
3
::/
64
reject
;
route
fec0
:
4
::/
64
reject
;
route
0
.
0
.
0
.
0
/
0
via
195
.
113
.
31
.
113
;
route
62
.
168
.
0
.
0
/
25
reject
;
route
1
.
2
.
3
.
4
/
32
via
195
.
113
.
31
.
124
;
#
route 0.0.0.0/0 via 195.113.31.113;
#
route 62.168.0.0/25 reject;
#
route 1.2.3.4/32 via 195.113.31.124;
# route 10.0.0.0/8 reject;
# route 10.1.1.0:255.255.255.0 via 62.168.0.3;
# route 10.1.2.0:255.255.255.0 via 62.168.0.3;
...
...
@@ -70,3 +39,6 @@ protocol static {
# route 10.2.0.0/24 via "arc0";
export
all
;
}
protocol
rip
{
}
doc/bird.sgml
View file @
a7c9f7c0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment