Hello Alex,
I think much progress is being made but I am not sure where the remaining details to be ironed out are.
- The speed and duplex are ok.
- Pings are successful from both ends:
- From Juniper:
admin@stp-j2320-2> ping 10.10.10.10 source 20.20.20.20
PING 10.10.10.10 (10.10.10.10): 56 data bytes
64 bytes from 10.10.10.10: icmp_seq=0 ttl=255 time=2.929 ms
64 bytes from 10.10.10.10: icmp_seq=1 ttl=255 time=4.071 ms
^C
--- 10.10.10.10 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 2.929/3.500/4.071/0.571 ms
admin@stp-j2320-2>
- From Cisco:
lab-vrf-rtr1#ping 20.20.20.20 so lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.20.20.20, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.10
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
lab-vrf-rtr1#
- The Juniper cust-a (lo0.1) route is showing in Cisco:
lab-vrf-rtr1#show ip route vrf cust-a | beg Gateway
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.10.100.0/24 is directly connected, Loopback11
L 10.10.100.1/32 is directly connected, Loopback11
B 10.10.200.0/24 [200/0] via 20.20.20.20, 02:16:48
lab-vrf-rtr1#
- No BGP Peering from Cisco:
lab-vrf-rtr1#show ip bgp sum
BGP router identifier 10.10.10.10, local AS number 200
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
20.20.20.20 4 200 0 0 1 0 0 never Idle
lab-vrf-rtr1#
- Juniper BGP:
admin@stp-j2320-2> show bgp neighbor
Peer: 10.10.10.10+27443 AS 200 Local: 20.20.20.20+179 AS 200
Type: Internal State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: Hold Timer Expired Error
Options: <Preference LocalAddress AddressFamily PeerAS Rib-group Refresh>
Address families configured: inet-vpn-unicast
Local Address: 20.20.20.20 Holdtime: 90 Preference: 170
Number of flaps: 1
Last flap event: HoldTime
Error: 'Hold Timer Expired Error' Sent: 1 Recv: 0
Peer ID: 10.10.10.10 Local ID: 20.20.20.20 Active Holdtime: 90
Keepalive Interval: 30 Peer index: 0
BFD: disabled, down
NLRI for restart configured on peer: inet-vpn-unicast
NLRI advertised by peer: inet-unicast inet-vpn-unicast
NLRI for this session: inet-vpn-unicast
Peer supports Refresh capability (2)
Restart time configured on the peer: 120
Stale routes from peer are kept for: 300
Peer does not support Restart capability
Peer supports 4 byte AS extension (peer-as 200)
Peer does not support Addpath
Table bgp.l3vpn.0
RIB State: BGP restart is complete
RIB State: VPN restart is complete
Send state: not advertising
Active prefixes: 1
Received prefixes: 1
Accepted prefixes: 1
Suppressed due to damping: 0
Table cust-a.inet.0 Bit: 20000
RIB State: BGP restart is complete
RIB State: VPN restart is complete
Send state: in sync
Active prefixes: 1
Received prefixes: 1
Accepted prefixes: 1
Suppressed due to damping: 0
Advertised prefixes: 1
Last traffic (seconds): Received 26 Sent 5 Checked 19
Input messages: Total 326 Updates 3 Refreshes 0 Octets 6388
Output messages: Total 331 Updates 1 Refreshes 0 Octets 6394
Output Queue[0]: 0
Output Queue[1]: 0
- No Cisco cust-a route in Juniper with bgp.l3vpn.0 having a hidden route:
admin@stp-j2320-2> show route
inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Static/5] 03:38:50
> to 10.199.6.1 via ge-0/0/0.0
10.10.10.10/32 *[OSPF/10] 02:18:52, metric 2
> to 192.168.199.1 via ge-0/0/1.0
10.199.6.0/24 *[Direct/0] 03:38:50
> via ge-0/0/0.0
10.199.6.3/32 *[Local/0] 03:38:54
Local via ge-0/0/0.0
20.20.20.20/32 *[Direct/0] 03:39:17
> via lo0.0
192.168.1.0/30 *[Direct/0] 02:29:50
> via ge-0/0/1.0
192.168.1.2/32 *[Local/0] 02:38:07
Local via ge-0/0/1.0
192.168.199.0/30 *[Direct/0] 02:19:33
> via ge-0/0/1.0
192.168.199.2/32 *[Local/0] 02:19:33
Local via ge-0/0/1.0
224.0.0.5/32 *[OSPF/10] 03:39:18, metric 1
MultiRecv
cust-a.inet.0: 3 destinations, 3 routes (2 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.200.0/24 *[Direct/0] 03:39:14
> via lo0.1
10.10.200.2/32 *[Local/0] 03:39:14
Local via lo0.1
mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 03:39:17, metric 1
Receive
1 *[MPLS/0] 03:39:17, metric 1
Receive
2 *[MPLS/0] 03:39:17, metric 1
Receive
16 *[VPN/0] 03:39:17
to table cust-a.inet.0, Pop
bgp.l3vpn.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
admin@stp-j2320-2>
- The Juniper debug option shows some traffic:
22:08:58.857802 Out IP 192.168.199.2 > 224.0.0.2: igmp v2 report 224.0.0.2
22:08:58.862585 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:58.869313 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:08:58.870685 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:58.897313 Out IP 192.168.199.2 > 224.0.0.5: OSPFv2, LS-Update, length 76
22:08:59.033797 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:59.208632 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:59.387846 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:59.573668 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:59.725682 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:59.771018 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:08:59.871091 Out IP 20.20.20.20.61624 > 10.10.10.10.646: S 1333133235:1333133235(0) win 16384 <mss 1460,nop,wscale 0,nop,nop,timestamp 13381566 0,sackOK,eol>
22:08:59.874622 In IP 10.10.10.10.646 > 20.20.20.20.61624: S 3683638879:3683638879(0) ack 1333133236 win 4128 <mss 536>
22:08:59.874711 Out IP 20.20.20.20.61624 > 10.10.10.10.646: . ack 1 win 16384
22:08:59.875114 Out IP 20.20.20.20.61624 > 10.10.10.10.646: P 1:53(52) ack 1 win 16384: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 48
22:08:59.877974 In IP 10.10.10.10.646 > 20.20.20.20.61624: . ack 53 win 4076
22:08:59.889771 In IP 10.10.10.10.646 > 20.20.20.20.61624: . 1:63(62) ack 53 win 4076: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 58
22:08:59.891852 Out IP 20.20.20.20.61624 > 10.10.10.10.646: P 53:71(18) ack 63 win 16384: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 14
22:08:59.904766 In IP 10.10.10.10.646 > 20.20.20.20.61624: . 63:238(175) ack 71 win 4058: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 171
22:08:59.904915 Out IP 20.20.20.20.61624 > 10.10.10.10.646: P 71:137(66) ack 238 win 16209: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 24
22:09:00.112696 In IP 10.10.10.10.646 > 20.20.20.20.61624: . ack 137 win 3992
22:09:00.112773 Out IP 20.20.20.20.61624 > 10.10.10.10.646: P 137:175(38) ack 238 win 16384: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 34
22:09:00.312763 In IP 10.10.10.10.646 > 20.20.20.20.61624: . ack 175 win 3954
22:09:01.397557 In IP 192.168.199.1 > 224.0.0.5: OSPFv2, LS-Ack, length 44
22:09:01.601303 In IP 192.168.199.1 > 224.0.0.5: OSPFv2, Hello, length 60
22:09:03.764978 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:04.389970 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:06.442847 Out IP 192.168.199.2 > 224.0.0.5: OSPFv2, Hello, length 48
22:09:06.892729 Out IP 192.168.199.2 > 224.0.0.2: igmp v2 report 224.0.0.2
22:09:08.233572 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:08.476660 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:08.777549 In IP 10.10.10.10.646 > 20.20.20.20.61624: . 238:256(18) ack 175 win 3954: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 14
22:09:08.877620 Out IP 20.20.20.20.61624 > 10.10.10.10.646: . ack 256 win 16384
22:09:09.911569 Out IP 20.20.20.20.61624 > 10.10.10.10.646: P 175:193(18) ack 256 win 16384: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 14
22:09:10.121690 In IP 10.10.10.10.646 > 20.20.20.20.61624: . ack 193 win 3936
22:09:10.813514 In IP 192.168.199.1 > 224.0.0.5: OSPFv2, Hello, length 60
22:09:12.149483 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:12.417308 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:15.128142 Out IP 192.168.199.2 > 224.0.0.5: OSPFv2, Hello, length 48
22:09:16.381825 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:16.832767 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:17.909641 In IP 10.10.10.10.646 > 20.20.20.20.61624: . 256:274(18) ack 193 win 3936: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 14
22:09:18.009632 Out IP 20.20.20.20.61624 > 10.10.10.10.646: . ack 274 win 16384
22:09:18.565635 In IP 10.10.10.10.27443 > 20.20.20.20.179: P 6161:6180(19) ack 6148 win 16023: BGP, length: 19
22:09:18.665535 Out IP 20.20.20.20.179 > 10.10.10.10.27443: . ack 6180 win 16384
22:09:19.912540 Out IP 20.20.20.20.61624 > 10.10.10.10.646: P 193:211(18) ack 274 win 16384: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 14
22:09:20.113319 In IP 10.10.10.10.646 > 20.20.20.20.61624: . ack 211 win 3918
22:09:20.285291 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:20.701348 In IP 192.168.199.1 > 224.0.0.5: OSPFv2, Hello, length 60
22:09:21.741166 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:23.001046 Out IP 20.20.20.20.179 > 10.10.10.10.27443: P 6148:6167(19) ack 6180 win 16384: BGP, length: 19
22:09:23.201853 In IP 10.10.10.10.27443 > 20.20.20.20.179: . ack 6167 win 16004
22:09:24.262862 Out IP 192.168.199.2 > 224.0.0.5: OSPFv2, Hello, length 48
22:09:25.229579 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:26.490624 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:26.689516 In IP 10.10.10.10.646 > 20.20.20.20.61624: . 274:292(18) ack 211 win 3918: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 14
22:09:26.789466 Out IP 20.20.20.20.61624 > 10.10.10.10.646: . ack 292 win 16384
22:09:29.914040 Out IP 20.20.20.20.61624 > 10.10.10.10.646: P 211:229(18) ack 292 win 16384: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 14
22:09:29.992916 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:30.112942 In IP 10.10.10.10.646 > 20.20.20.20.61624: . ack 229 win 3900
22:09:30.437872 In IP 192.168.199.1 > 224.0.0.5: OSPFv2, Hello, length 60
22:09:30.573877 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:32.995515 Out IP 192.168.199.2 > 224.0.0.5: OSPFv2, Hello, length 48
22:09:34.383427 Out IP 192.168.199.2.646 > 224.0.0.2.646: LDP, Label-Space-ID: 20.20.20.20:0, pdu-length: 38
22:09:34.489336 In IP 192.168.199.1.646 > 224.0.0.2.646: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 30
22:09:35.941134 In IP 10.10.10.10.646 > 20.20.20.20.61624: . 292:310(18) ack 229 win 3900: LDP, Label-Space-ID: 10.10.10.10:0, pdu-length: 14
22:09:36.041042 Out IP 20.20.20.20.61624 > 10.10.10.10.646: . ack 310 win 16384
^C
- Junos Config:
admin@stp-j2320-2# show
## Last changed: 2014-10-22 22:08:59 UTC
version 10.4R12.4;
system {
host-name stp-j2320-2;
login {
user admin {
full-name admin;
uid 2007;
class super-user;
}
}
services {
ssh;
telnet;
web-management {
http;
}
}
ntp {
server 10.199.1.150;
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
sampling {
input;
output;
}
address 10.199.6.3/24;
}
}
}
ge-0/0/1 {
description "VRF environment";
unit 0 {
family inet {
address 192.168.199.2/30;
}
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 20.20.20.20/32;
}
}
unit 1 {
family inet {
address 10.10.200.2/24;
}
}
}
}
snmp {
description "jFlow Device";
location "Pet";
contact "Ops";
community public {
authorization read-only;
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop 10.199.6.1;
}
router-id 20.20.20.20;
autonomous-system 200;
}
protocols {
mpls {
interface ge-0/0/1.0;
}
bgp {
group internal-peers {
type internal;
local-address 20.20.20.20;
family inet-vpn {
unicast;
}
neighbor 10.10.10.10 {
peer-as 200;
}
}
}
ospf {
area 0.0.0.0 {
interface ge-0/0/1.0;
interface lo0.0;
}
}
ldp {
transport-address router-id;
interface ge-0/0/1.0;
}
}
policy-options {
policy-statement cust-a-export {
term 1 {
from protocol [ static direct ];
then {
community add cust-a;
accept;
}
}
term 2 {
then reject;
}
}
policy-statement cust-a-import {
term 1 {
from {
protocol bgp;
community cust-a;
}
then accept;
}
term 2 {
then reject;
}
}
community cust-a members target:200:200;
}
security {
forwarding-options {
family {
mpls {
mode packet-based;
}
}
}
}
routing-instances {
cust-a {
instance-type vrf;
interface lo0.1;
route-distinguisher 200:200;
vrf-import cust-a-import;
vrf-export cust-a-export;
vrf-target target:200:200;
vrf-table-label;
}
}
[edit]
admin@stp-j2320-2#
- Cisco Config:
lab-vrf-rtr1#show run
!
hostname lab-vrf-rtr1
!
no aaa new-model
!
ip cef
!
ip vrf cust-a
rd 200:200
route-target export 200:200
route-target import 200:200
!
no ipv6 cef
!
multilink bundle-name authenticated
!
mpls label protocol ldp
!
redundancy
!
interface Loopback0
ip address 10.10.10.10 255.255.255.255
!
interface Loopback11
ip vrf forwarding cust-a
ip address 10.10.100.1 255.255.255.0
!
interface GigabitEthernet0/0
ip address 10.199.2.7 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
description Uplink To Juniper J2320 ge-0/0/1
ip address 192.168.199.1 255.255.255.252
ip ospf network broadcast
duplex auto
speed auto
mpls ip
!
router ospf 1
network 10.10.10.10 0.0.0.0 area 0
network 192.168.199.0 0.0.0.3 area 0
!
router bgp 200
no bgp log-neighbor-changes
network 10.10.10.0 mask 255.255.255.0
neighbor 20.20.20.20 remote-as 200
neighbor 20.20.20.20 update-source Loopback0
!
address-family vpnv4
neighbor 20.20.20.20 activate
neighbor 20.20.20.20 send-community both
exit-address-family
!
address-family ipv4 vrf cust-a
redistribute connected
exit-address-family
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
mpls ldp router-id Loopback0 force
!
control-plane
!
mgcp profile default
!
lab-vrf-rtr1#
Thanks.