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;
}



cRPD


Code Block
titlecRPD routing-options
[edit]
root@crpd# show routing-options 
router-id 192.168.1.100;
autonomous-system 64513;
bmp {
    connection-mode active;
    monitor enable;
    station northstar {
        station-address 172.25.11.100;
        station-port 10001;
    }
}
static {
    route 0.0.0.0/0 next-hop 172.17.0.1;
}



[edit]
root@crpd# show protocols 
bgp {
    group ted-as-64513 {
        type internal;
        family traffic-engineering {
            unicast;
        }
        neighbor 192.168.1.2;
    }
    group ted-as-64512 {
        type external;
        multihop;
        family traffic-engineering {
            unicast;
        }
        peer-as 64512;
        neighbor 172.20.20.4;
    }
}