Versions Compared

Key

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

...

titlerouting-instance
collapsetrue

...

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 {
    VPLS1 {    apply-groups CR-MPLS;
        path-mtu {
            rsvp mtu-signaling;
        }
        traffic-engineering mpls-forwarding;
        smart-optimize-timer 180;
        description "vpls test" ipv6-tunneling;
        optimize-timer 1800;
        instance-type vplslabel-switched-path lspy {
            to y.y.y.y;
            metric 6;
        vlan-id none}
        label-switched-path lspz {
            to z.z.z.z;
        }

        interface gexe-10/0/20.0;
        interface gexe-0/1/0/3.0.0;
    }



Code Block
titlerouting-instance
collapsetrue
routing-instances {
    VPLS1 {
        description "vpls test";
        instance-type vpls;
        vlan-id none;
        interface ge-1/10/42.0;
        interface ge-1/10/73.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