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

1.2       wiki        1: # Quickstart with LDP daemon
                      2: 
1.6     ! wiki        3: Step 1: Boot an MPLS enabled kernel - see [[MPLS]] <BR>
1.3       wiki        4: Step 2: Run /usr/sbin/ldpd<BR>
                      5: 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>
                      6: 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        7: 
                      8: <BR>
                      9: 
                     10: # /etc/ldpd.conf example<BR><BR>
                     11: 
                     12: <pre>
                     13: # a default ldpd.conf
                     14:    
                     15: #       hello-time 8;
                     16:         max-label 400;
                     17:         min-label 200;
                     18:         command-port 2424;
                     19: #       ldp-id 1.2.3.4;
                     20: 
                     21: 
                     22: # USE TCP SIGNATURE FOR THIS NEIGHBOUR - don't forget to add entries in ipsec.conf && echo ipsec=yes >> /etc/rc.conf
                     23: # add -4 1.2.3.4 1.2.3.50 tcp 0x1000 -A tcp-md5 "mypassword" ;
                     24: # add -4 1.2.3.50 1.2.3.4 tcp 0x1000 -A tcp-md5 "mypassword" ;
                     25: 
1.5       wiki       26:         neighbour 1.2.3.50 {
1.4       wiki       27:                 authenticate yes;
                     28:         }
                     29: </pre>

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