Annotation of wikisrc/users/kefren/ldp.mdwn, revision 1.5

1.2       wiki        1: # Quickstart with LDP daemon
                      2: 
1.3       wiki        3: Step 0: Update to HEAD<BR>
1.1       wiki        4: Step 1: Boot an MPLS enabled kernel<BR>
1.3       wiki        5: Step 2: Run /usr/sbin/ldpd<BR>
                      6: Step 3: Add some routes to neighbors bindings and see routes being automatically tagged or just use zebra/quagga in order to do avoid manual routes<BR>
                      7: Step 4: You can look over some reports on control interface: telnet localhost 2626 - use root password - and use question mark for help<BR>
1.4       wiki        8: 
                      9: <BR>
                     10: 
                     11: # /etc/ldpd.conf example<BR><BR>
                     12: 
                     13: <pre>
                     14: # a default ldpd.conf
                     15:    
                     16: #       hello-time 8;
                     17:         max-label 400;
                     18:         min-label 200;
                     19:         command-port 2424;
                     20: #       ldp-id 1.2.3.4;
                     21: 
                     22: 
                     23: # USE TCP SIGNATURE FOR THIS NEIGHBOUR - don't forget to add entries in ipsec.conf && echo ipsec=yes >> /etc/rc.conf
                     24: # add -4 1.2.3.4 1.2.3.50 tcp 0x1000 -A tcp-md5 "mypassword" ;
                     25: # add -4 1.2.3.50 1.2.3.4 tcp 0x1000 -A tcp-md5 "mypassword" ;
                     26: 
1.5     ! wiki       27:         neighbour 1.2.3.50 {
1.4       wiki       28:                 authenticate yes;
                     29:         }
                     30: </pre>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb