Not sure if I misunderstood the question. There’s no special config required for vpls peer in another ospf area.
Here’s my config
PE1:
[edit]
root@PE1_re# show protocols ospf
area 0.0.0.0 {
interface ge-0/0/3.0;
interface lo0.0;
}
area 0.0.0.72 {
interface ge-0/0/4.0;
}
[edit]
root@PE1_re#
root@PE1_re# show interfaces lo0
unit 0 {
family inet {
address 172.16.0.11/32;
}
family iso {
address 49.0000.0172.0016.0011.00;
}
}
[edit]
root@PE1_re#
[edit]
root@PE1_re# show routing-instances
test {
instance-type vpls;
interface ge-0/0/1.0;
protocols {
vpls {
no-tunnel-services;
vpls-id 100;
neighbor 172.16.0.1;
}
}
}
[edit]
root@PE1_re#
root@PE1_re# run show vpls connections
Layer-2 VPN connections:
Legend for connection status (St)
EI -- encapsulation invalid NC -- interface encapsulation not CCC/TCC/VPLS
EM -- encapsulation mismatch WE -- interface and instance encaps not same
VC-Dn -- Virtual circuit down NP -- interface hardware not present
CM -- control-word mismatch -> -- only outbound connection is up
CN -- circuit not provisioned <- -- only inbound connection is up
OR -- out of range Up -- operational
OL -- no outgoing label Dn -- down
LD -- local site signaled down CF -- call admission control failure
RD -- remote site signaled down SC -- local and remote site ID collision
LN -- local site not designated LM -- local site ID not minimum designated
RN -- remote site not designated RM -- remote site ID not minimum designated
XX -- unknown connection status IL -- no incoming label
MM -- MTU mismatch MI -- Mesh-Group ID not available
BK -- Backup connection ST -- Standby connection
PF -- Profile parse failure PB -- Profile busy
RS -- remote site standby SN -- Static Neighbor
LB -- Local site not best-site RB -- Remote site not best-site
VM -- VLAN ID mismatch HS -- Hot-standby Connection
Legend for interface status
Up -- operational
Dn -- down
Instance: test
VPLS-id: 100
Neighbor Type St Time last up # Up trans
172.16.0.1(vpls-id 100) rmt Up Oct 6 08:56:57 2018 1
Remote PE: 172.16.0.1, Negotiated control-word: No
Incoming label: 262145, Outgoing label: 262145
Negotiated PW status TLV: No
Local interface: lsi.1048576, Status: Up, Encapsulation: ETHERNET
Description: Intf - vpls test neighbor 172.16.0.1 vpls-id 100
Flow Label Transmit: No, Flow Label Receive: No
[edit]
root@PE1_re#
P1:
[edit]
root@P1_re# show interfaces lo0
unit 0 {
family inet {
address 172.16.0.1/32;
}
family iso {
address 49.0000.0172.0016.0001.00;
}
}
[edit]
root@P1_re#
[edit]
root@P1_re# show protocols ospf
area 0.0.0.72 {
interface lo0.0;
interface ge-0/0/1.0;
}
[edit]
root@P1_re#
[edit]
root@P1_re# show routing-instances
test {
instance-type vpls;
interface ge-0/0/2.0;
protocols {
vpls {
no-tunnel-services;
vpls-id 100;
neighbor 172.16.0.11;
}
}
}
[edit]
root@P1_re#
root@P1_re# run show vpls connections
Layer-2 VPN connections:
Legend for connection status (St)
EI -- encapsulation invalid NC -- interface encapsulation not CCC/TCC/VPLS
EM -- encapsulation mismatch WE -- interface and instance encaps not same
VC-Dn -- Virtual circuit down NP -- interface hardware not present
CM -- control-word mismatch -> -- only outbound connection is up
CN -- circuit not provisioned <- -- only inbound connection is up
OR -- out of range Up -- operational
OL -- no outgoing label Dn -- down
LD -- local site signaled down CF -- call admission control failure
RD -- remote site signaled down SC -- local and remote site ID collision
LN -- local site not designated LM -- local site ID not minimum designated
RN -- remote site not designated RM -- remote site ID not minimum designated
XX -- unknown connection status IL -- no incoming label
MM -- MTU mismatch MI -- Mesh-Group ID not available
BK -- Backup connection ST -- Standby connection
PF -- Profile parse failure PB -- Profile busy
RS -- remote site standby SN -- Static Neighbor
LB -- Local site not best-site RB -- Remote site not best-site
VM -- VLAN ID mismatch HS -- Hot-standby Connection
Legend for interface status
Up -- operational
Dn -- down
Instance: test
VPLS-id: 100
Neighbor Type St Time last up # Up trans
172.16.0.11(vpls-id 100) rmt Up Oct 6 08:56:52 2018 1
Remote PE: 172.16.0.11, Negotiated control-word: No
Incoming label: 262145, Outgoing label: 262145
Negotiated PW status TLV: No
Local interface: lsi.1048576, Status: Up, Encapsulation: ETHERNET
Description: Intf - vpls test neighbor 172.16.0.11 vpls-id 100
Flow Label Transmit: No, Flow Label Receive: No
[edit]
root@P1_re#