Versions Compared

Key

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

...




show path-computation-client status

show bgp summary


P Routers

show configuration protocols

>> BGP

>> MPLS

>> OSPF



Code Block
titleOSPF config
ospf {
    traffic-engineering;
    area 0.0.0.0 {
        interface ge-0/0/1.0 {
            interface-type p2p;
        }
        interface ge-0/0/3.0 {
            interface-type p2p;
        }
        interface ge-0/0/5.0 {
            interface-type p2p;
            passive {
                traffic-engineering {
                    remote-node-id 172.22.105.1;
                    remote-node-router-id 172.20.20.3;
                }
            }
        }
        interface lo0.0;
    }                                   
}



BGP config:

Code Block
titleBGP config

lab@vmx-5> show configuration policy-options 
policy-statement ospf-to-bgp {
    term 10 {
        from protocol [ ospf direct ];
        then accept;
    }
}


lab@vmx-5> show configuration policy-options 
policy-statement ospf-to-bgp {
    term 10 {
        from protocol [ ospf direct ];
        then accept;
    }
}

lab@vmx-5> show configuration protocols bgp     
group ebgp {
    type external;
    export ospf-to-bgp;
    peer-as 64512;
    neighbor 172.22.105.1;
}
group ibgp {
    type internal;
    local-address 172.20.20.5;
    neighbor 172.20.20.6;
    neighbor 172.20.20.2;
}