Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1- Interface

2- protocols: OSPF, MPLS, LDP/RSVP/iGP

3- routing-instance

https://www.juniper.net/documentation/en_US/junos/topics/concept/vpls-security-interface-understanding.html


Code Block
titleRSVP and MPLS
collapsetrue
protocols {
    rsvp {
        apply-groups CR-RSVP;
        interface xe-0/0/0.0;
        interface xe-0/1/0.0;
    }
    mpls {
        apply-groups CR-MPLS;
        path-mtu {
            rsvp mtu-signaling;
        }
        traffic-engineering mpls-forwarding;
        smart-optimize-timer 180;
        ipv6-tunneling;
        optimize-timer 1800;
        label-switched-path lspy {
            to y.y.y.y;
            metric 6;
        }
        label-switched-path lspz {
            to z.z.z.z;
        }

        interface xe-0/0/0.0;
        interface xe-0/1/0.0;
    }

...

Code Block
titlerouting-instance
collapsetrue
routing-instances {
    VPLS1 {
        description "vpls test";
        instance-type vpls;
        vlan-id none;
        interface ge-1/0/2.0;
        interface ge-1/0/3.0;
        interface ge-1/1/4.0;
        interface ge-1/1/7.0;
        route-distinguisher 65000:11;
        vrf-target target:65000:11;
        protocols {
            vpls {
                site-range 50;
                no-tunnel-services;
                site site1 {
                    site-identifier 19;
                    interface ge-1/10/42.0;
                    interface ge-1/10/73.0;
                }
            }
        }
    }

interface ge-1/0/2.0;
                   
Set commands:

set routing-instances VPLS1 description "vpls test"
set routing-instances VPLS1 instance-type vpls
set routing-instances VPLS1 vlan-id none
set routing-instances VPLS1 interface ge-1/0/2.0
set routing-instances VPLS1 interface ge-1/0/3.0;
                }
            }
        }
    }
set routing-instances VPLS1 route-distinguisher 65000:11
set routing-instances VPLS1 vrf-target target:65000:11
set routing-instances VPLS1 protocols vpls site-range 50
set routing-instances VPLS1 protocols vpls no-tunnel-services
set routing-instances VPLS1 protocols vpls site site1 site-identifier 19
set routing-instances VPLS1 protocols vpls site site1 interface ge-1/0/2.0
set routing-instances VPLS1 protocols vpls site site1 interface ge-1/0/3.0