Hi,
Junos documentation says that if configured, the encapsulation-type knob under 'protocols l2circuits' will specify the L2circuit encapsulation advertised in the PE's FEC128. If not configured, the PE's AC interface encapsulation configuration will be what's advertised in the PE's FEC128.
But configuring the PE's AC encapsulation is mandatory for bringing up an L2circuit, with or without the encapsulation-type knob, which means the AC interface encapsulation will always be configured. So what is the practical benefit of configuring the same encapsulation under 'protocols l2circuit' as illustrated below? Are there scenarios in which we want the encapsulation types configured on the PE's AC interface and under 'protocols l2circuit' to be different?
[edit]
regress@PE1# show interfaces ge-4/0/1
vlan-tagging;
encapsulation vlan-ccc; <<<<<<
unit 512 {
encapsulation vlan-ccc; <<<<<
vlan-id 512;
}
[edit]
regress@PE1# show protocols l2circuit
neighbor 3.3.3.3 {
interface ge-4/0/1.512 {
virtual-circuit-id 1;
encapsulation-type ethernet-vlan; <<<<<<<<<< What is this useful for? Everything works fine without it.
}
}