[j-nsp] Problem to test VPLS between two Site

2013-07-17 Thread Md. Jahangir Hossain
Hi ,

Wishes all are fine.

I am getting problem  about testing of VPLS service  (BGP and LDP based ) 
between two router and my VPLS tunnel is up but i can not reach local LAN. 

i am little bit confused about testing between PC. May i need to connect direct 
PC on  ge-1/1/9 for test or need to connect switch or router on both router's 
ge-1/1/9 interface  for test ? 

it would be nice please check my bellow configuration for further assistance 
and how test my VPLS in both end ?


Here my Configuration:

## AGG-Router-1 

 ge-1/1/0 {
    description with_MX-_ge-1/1/0;
    unit 0 {
    family inet {
    address 103.x.x.33/30;    /// p2p  between two router
    }
    family mpls;
}

 ge-1/1/9 {
    encapsulation ethernet-vpls; // At present Local PC for test
    unit 0 {
    family vpls;    
    }

protocols {
    mpls {
    interface all;
    }

routing-options {
    rib inet.3 {
    static {
    route 103.x.x.34/32 next-table inet.0;
    }
    }
   autonomous-system 58xxx;
}

 group vpls-ge {
    type internal;
    local-address 103.x.x.33;
    family l2vpn {
    signaling;
    }
    neighbor 103.x.x.34;
}

ldp {
    interface ge-1/1/0.0;
    interface lo0.0;
    }

   community grn-com members target:1:1;

routing-instances {
    green {
    instance-type vpls;
    interface ge-1/1/9.0;
    route-distinguisher 103.x.x.33:33;
    vrf-target target:1:1;
    protocols {
    vpls {
    site-range 10;
    no-tunnel-services;
    site greenPE1 {
    site-identifier 1;
    }
    }
    }
    }
}


## AGG-Router-2 ##

  ge-1/1/0 {
    description with_MX_ge-1/1/0;
    unit 0 {
    family inet {
    address 103.x.x.34/30;  /// p2p  between two router
    }
    family mpls;
    }

 ge-1/1/9 {
    encapsulation ethernet-vpls;   // At present Local PC for test
    unit 0 {
    family vpls;
    }

routing-options {
    rib inet.3 {
    static {
    route 103.x.x.33/32 next-table inet.0;
    }
    }
    autonomous-system 58xxx;
}

protocols {
    mpls {
    interface all;
    }

   group vpls-ge {
    type internal;
    local-address 103.x.x.34;
    family l2vpn {
    signaling;
    }
    neighbor 103.x.x.33;
    }

   ldp {
    interface ge-1/1/0.0;
    interface lo0.0;
    }
}
  community grn-com members target:1:1;
}

routing-instances {
    green {
    instance-type vpls;
    interface ge-1/1/9.0;
    route-distinguisher 103.x.x.34:34;
    vrf-target target:1:1;
    protocols {
    vpls {
    site-range 10;
    no-tunnel-services;
    site greenPE2 {
    site-identifier 2;
    }
    }
    }
    }
}


Agg-Router-1 # show vpls connections

Instance: green
  Local site: greenPE1 (1)
    connection-site   Type  St Time last up  # Up trans
    2 rmt   Up Jul 16 09:11:31 2013   1
  Remote PE: 103.x.x.34, Negotiated control-word: No
  Incoming label: 89, Outgoing label: 800016
  Local interface: vt-1/0/10.1049858, Status: Up, Encapsulation: VPLS
    Description: Intf - vpls green local site 1 remote site 2


AGG-01# run show interfaces vt* terse

Interface   Admin Link Proto    Local Remote
vt-1/0/10   up    up
vt-1/1/10   up    up
vt-1/1/10.1048832  up    up   vpls


AGG-01 # run show vpls statistics

VPLS statistics:

Instance: green
   Local interface: ge-1/1/9.0, Index: 333
 Broadcast packets:  1101
 Broadcast bytes  : 83916
 Multicast packets:  1278
 Multicast bytes  :    111627
 Flooded packets  : 0
 Flooded bytes    : 0
 Unicast packets  : 0
 Unicast bytes    : 0
 Current MAC count: 1 (Limit 1024)
   Local interface: vt-1/1/10.1049090, Index: 334
   Remote PE: 103.x.x.34
 Broadcast packets: 0
 Broadcast bytes  : 0
 Multicast packets: 0
 Multicast bytes  : 0
 Flooded packets  : 0
 Flooded bytes    : 0
 Unicast packets  : 0
 Unicast bytes    : 0
 Current MAC count:  0


it would be nice please suggest based on this config how to test  this layer 2 
vpn using PC?



Regards
Jahangir Hossain

Re: [j-nsp] Problem to test VPLS between two Site

2013-07-17 Thread Christopher E. Brown


IIRC unless you disable local switching you need to add the interface to
the site config as well as to the instance.


On 7/17/13 1:30 AM, Md. Jahangir Hossain wrote:
 Hi ,
 
 Wishes all are fine.
 
 I am getting problem  about testing of VPLS service  (BGP and LDP based ) 
 between two router and my VPLS tunnel is up but i can not reach local LAN. 
 
 i am little bit confused about testing between PC. May i need to connect 
 direct PC on  ge-1/1/9 for test or need to connect switch or router on both 
 router's ge-1/1/9 interface  for test ? 
 
 it would be nice please check my bellow configuration for further assistance 
 and how test my VPLS in both end ?
 
 
 Here my Configuration:
 
 ## AGG-Router-1 
 
  ge-1/1/0 {
 description with_MX-_ge-1/1/0;
 unit 0 {
 family inet {
 address 103.x.x.33/30;/// p2p  between two router
 }
 family mpls;
 }
 
  ge-1/1/9 {
 encapsulation ethernet-vpls; // At present Local PC for test
 unit 0 {
 family vpls;
 }
 
 protocols {
 mpls {
 interface all;
 }
 
 routing-options {
 rib inet.3 {
 static {
 route 103.x.x.34/32 next-table inet.0;
 }
 }
autonomous-system 58xxx;
 }
 
  group vpls-ge {
 type internal;
 local-address 103.x.x.33;
 family l2vpn {
 signaling;
 }
 neighbor 103.x.x.34;
 }
 
 ldp {
 interface ge-1/1/0.0;
 interface lo0.0;
 }
 
community grn-com members target:1:1;
 
 routing-instances {
 green {
 instance-type vpls;
 interface ge-1/1/9.0;
 route-distinguisher 103.x.x.33:33;
 vrf-target target:1:1;
 protocols {
 vpls {
 site-range 10;
 no-tunnel-services;
 site greenPE1 {
 site-identifier 1;
 }
 }
 }
 }
 }
 
 
 ## AGG-Router-2 ##
 
   ge-1/1/0 {
 description with_MX_ge-1/1/0;
 unit 0 {
 family inet {
 address 103.x.x.34/30;  /// p2p  between two router
 }
 family mpls;
 }
 
  ge-1/1/9 {
 encapsulation ethernet-vpls;   // At present Local PC for test
 unit 0 {
 family vpls;
 }
 
 routing-options {
 rib inet.3 {
 static {
 route 103.x.x.33/32 next-table inet.0;
 }
 }
 autonomous-system 58xxx;
 }
 
 protocols {
 mpls {
 interface all;
 }
 
group vpls-ge {
 type internal;
 local-address 103.x.x.34;
 family l2vpn {
 signaling;
 }
 neighbor 103.x.x.33;
 }
 
ldp {
 interface ge-1/1/0.0;
 interface lo0.0;
 }
 }
   community grn-com members target:1:1;
 }
 
 routing-instances {
 green {
 instance-type vpls;
 interface ge-1/1/9.0;
 route-distinguisher 103.x.x.34:34;
 vrf-target target:1:1;
 protocols {
 vpls {
 site-range 10;
 no-tunnel-services;
 site greenPE2 {
 site-identifier 2;
 }
 }
 }
 }
 }
 
 
 Agg-Router-1 # show vpls connections
 
 Instance: green
   Local site: greenPE1 (1)
 connection-site   Type  St Time last up  # Up trans
 2 rmt   Up Jul 16 09:11:31 2013   1
   Remote PE: 103.x.x.34, Negotiated control-word: No
   Incoming label: 89, Outgoing label: 800016
   Local interface: vt-1/0/10.1049858, Status: Up, Encapsulation: VPLS
 Description: Intf - vpls green local site 1 remote site 2
 
 
 AGG-01# run show interfaces vt* terse
 
 Interface   Admin Link ProtoLocal Remote
 vt-1/0/10   upup
 vt-1/1/10   upup
 vt-1/1/10.1048832  upup   vpls
 
 
 AGG-01 # run show vpls statistics
 
 VPLS statistics:
 
 Instance: green
Local interface: ge-1/1/9.0, Index: 333
  Broadcast packets:  1101
  Broadcast bytes  : 83916
  Multicast packets:  1278
  Multicast bytes  :111627
  Flooded packets  : 0
  Flooded bytes: 0
  Unicast packets  : 0
  Unicast bytes: 0
  Current MAC count: 1 (Limit 1024)
Local interface: vt-1/1/10.1049090, Index: 334
Remote PE: 103.x.x.34
  Broadcast packets: 0
  Broadcast bytes  : 0
  Multicast packets: 0
  Multicast bytes  : 0
  Flooded packets  :