Lang:
protocol ospf v2 o_mpls_v4 {
router id MPLS_LOOPBACKv4;
ipv4 {
export where (source = RTS_DEVICE) || (source = RTS_OSPF);
import filter {
if is_mpls_v4() then accept;
reject;
};
};
area 0 {
networks {
198.18.0.0/15;
10.0.254.0/23;
};
interface "dummy.mpls" {
stub;
};
interface "tun-mpls-r*" {
type ptp;
};
};
}
protocol ospf v3 o_mpls_v6 {
router id MPLS_LOOPBACKv4;
ipv6 {
export where (source = RTS_DEVICE) || (source = RTS_OSPF);
import filter {
if is_mpls_v6() then accept;
reject;
};
};
area 0 {
networks {
fd45:3282:58e7::/64;
fd45:3282:58e7:1::/64;
fd45:3282:58e7:ff00::/56;
};
interface "dummy.mpls" {
stub;
};
interface "tun-mpls-r*" {
type ptp;
};
};
}