Configuration for Bi-directional LSP between Juniper and Cisco

From Internetworkpro

Jump to: navigation, search
This page or section provides device configuration instructions
Please note that the information on this page has not been checked for accuracy and is not intended as a replacement to documentation. Please ensure you understand your desired objectives before attempting to apply any examples listed.
See more examples at Category:Configuration

[edit] Cisco


ip cef
!
!
!
!
mpls traffic-eng tunnels

!
interface Tunnel0
 ip unnumbered Loopback0
 tunnel destination 3.3.3.3
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng autoroute announce
 no routing dynamic
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
 ip ospf 100 area 0
!
interface FastEthernet0/0
 ip address 10.128.97.240 255.255.255.0
 ip ospf 100 area 0
 duplex auto
 speed auto
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 7500 7500
 ip rsvp resource-provider none
!
interface FastEthernet0/1
 ip address 10.1.6.69 255.255.255.0
 duplex auto
 speed auto
!

router ospf 100
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0
 log-adjacency-changes
!

[edit] Juniper

interfaces {
    fxp2 {
        description "to Cisco 2800";
        unit 0 {
            family inet {
                address 10.128.97.241/24;
            }
            family mpls;
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 3.3.3.3/32;
            }
        }
    }
}
routing-options {
    static {
        route 0.0.0.0/0 next-hop 10.128.97.240;
    }
}
protocols {
    rsvp {
        traceoptions {
            file blah;
            flag all detail;
        }
        interface all;
    }
    mpls {
        label-switched-path cisco {
            traceoptions {
                file cisco.mpls;
                flag all;
            }
            to 1.1.1.1;
            no-cspf;
        }
        interface all;
    }
    ospf {
        traffic-engineering;
        area 0.0.0.0 {
            interface fxp2.0;
            interface lo0.0;
        }
    }
Personal tools