[j-nsp] If thousands of L2 vpn - ethernet vlan between asamepairof PE & same pair of ethernet port ?

sthaug at nethelp.no sthaug at nethelp.no
Fri Apr 8 03:47:13 EDT 2005


> If you just need to make thousands of L2 circuits with a minimal amount
> of configuration, I would recommend the use of configuration groups (to
> inherit "encapsulation vlan-ccc"), and Martini tunnels (l2circuit in J
> speak). Then you only need to configure the vlan-id for each unit (and
> presumably some description of the circuit).

I was a bit brief here - this is an example of how we do it with many
L2 circuits between the same two Juniper routers.

Steinar Haug, Nethelp consulting, sthaug at nethelp.no
----------------------------------------------------------------------

groups {
    vlanccc {
        interfaces {
            ge-1/3/0 {
                unit <*> {
                    encapsulation vlan-ccc;
                }
            }
        }
    }
}

interface ge-1/3/0 {
        apply-groups vlanccc;
        vlan-tagging;
        mtu ...;
        encapsulation vlan-ccc;

        unit 580 {
            vlan-id 580;
        }
        unit 581 {
            vlan-id 581;
        }
        unit 582 {
            vlan-id 582;
        }
}

protocols {
    l2circuit {
        neighbor a.b.c.d {
...
            interface fe-1/3/0.580 {
                virtual-circuit-id 21160580;
            }
            interface fe-1/3/0.581 {
                virtual-circuit-id 21160581;
            }
            interface fe-1/3/0.582 {
                virtual-circuit-id 21160582;
            }
        }

    }
}


More information about the juniper-nsp mailing list