Minor typos in configuration example.

This commit is contained in:
Ondrej Filip 2010-02-20 21:09:40 +01:00
parent dfd48621d1
commit a68066538f

View file

@ -96,9 +96,9 @@ protocol static {
# honor neighbor; # To whom do we agree to send the routing table # honor neighbor; # To whom do we agree to send the routing table
# honor always; # honor always;
# honor never; # honor never;
# passwords { password "ahoj" from 0 to 10; # passwords {
# password "nazdar" from 10; # password "nazdar";
# } # };
# authentication none; # authentication none;
# import filter { print "importing"; accept; }; # import filter { print "importing"; accept; };
# export filter { print "exporting"; accept; }; # export filter { print "exporting"; accept; };
@ -143,6 +143,7 @@ protocol static {
# generate from "22-04-2003 11:00:07"; # generate from "22-04-2003 11:00:07";
# accept from "17-01-2003 12:01:05"; # accept from "17-01-2003 12:01:05";
# }; # };
# };
# authentication cryptographic; # authentication cryptographic;
# }; # };
# }; # };
@ -163,7 +164,7 @@ protocol static {
#protocol bgp { #protocol bgp {
# disabled; # disabled;
# description "My BGP uplink" # description "My BGP uplink";
# local as 65000; # local as 65000;
# neighbor 62.168.0.130 as 5588; # neighbor 62.168.0.130 as 5588;
# multihop 20 via 62.168.0.13; # multihop 20 via 62.168.0.13;
@ -181,17 +182,17 @@ protocol static {
# default bgp_med 0; # MED value we use for comparison when none is defined # default bgp_med 0; # MED value we use for comparison when none is defined
# default bgp_local_pref 0; # The same for local preference # default bgp_local_pref 0; # The same for local preference
# source address 62.168.0.14; # What local address we use for the TCP connection # source address 62.168.0.14; # What local address we use for the TCP connection
# password "secret" # Password used for MD5 authentication # password "secret"; # Password used for MD5 authentication
# rr client; # I am a route reflector and the neighor is my client # rr client; # I am a route reflector and the neighor is my client
# rr cluster id 1.0.0.1 # Use this value for cluster id instead of my router id # rr cluster id 1.0.0.1; # Use this value for cluster id instead of my router id
# export where source=RTS_STATIC; # export where source=RTS_STATIC;
# export filter { # export filter {
# if source = RTS_STATIC then { # if source = RTS_STATIC then {
## bgp_community = -empty-; bgp_community = add(bgp_community,(65000,5678)); # bgp_community = -empty-; bgp_community = add(bgp_community,(65000,5678));
## bgp_origin = 0; # bgp_origin = 0;
# bgp_community = -empty-; bgp_community.add((65000,5678)); # bgp_community = -empty-; bgp_community.add((65000,5678));
## if (65000,5678) ~ bgp_community then # if (65000,5678) ~ bgp_community then
## bgp_community.add((0, 1)); # bgp_community.add((0, 1));
# if bgp_path ~ [= 65000 =] then # if bgp_path ~ [= 65000 =] then
# bgp_path.prepend(65000); # bgp_path.prepend(65000);
# accept; # accept;