Jump to content
Sign in to follow this  
Bystander6

EVPN configuration examples

Recommended Posts

Hi, Experts:

 

I would like to start the discussion of EVPN configuration. If you have real or lab configuration example, please share it for discussion. Any vendor version (Alcatel Lucent, Juniper, or Cisco...) is welcome. Thanks.

 

Bystander6

Share this post


Link to post
Share on other sites

Juniper example for DCI ( Data Center Interconnect)

 

Topology

DC-1----------vMX-1(PE-1)-------| MPLS |--------------vMX-2(PE-2)--------DC-2

 

*********** PE-1 **************

[email protected]# show protocols bgp group IBGP neighbor 10.0.0.2

local-address 10.0.0.1;

family inet {

unicast;

}

family inet-vpn {

unicast;

}

family l2vpn {

auto-discovery-only;

signaling;

}

family evpn {

signaling; > EVPN address family AFI 25 SAFI 70

 

 

}

 

 

 

[email protected]# show interfaces ge-0/0/3

description " CUSTOMER FACED , br1 ";

flexible-vlan-tagging;

encapsulation flexible-ethernet-services;

esi {

00:11:11:11:11:11:11:11:11:11;

single-active;

}

mac 52:54:00:dd:ac:ad;

 

unit 200 {

description EVPN-TRUNK--->DC-1;

encapsulation vlan-bridge;

family bridge {

interface-mode trunk;

vlan-id-list 200;

}

}

 

 

 

 

[edit routing-instances]

[email protected]# show EVPN-TRUNK

instance-type virtual-switch;

interface ge-0/0/3.200;

route-distinguisher 1000:1001;

vrf-target target:1000:1000;

protocols {

evpn {

extended-vlan-list 200;

}

}

bridge-domains {

BD_NETWORK-VLAN-200 {

vlan-id 200;

routing-interface irb.200;

 

 

 

*********** PE 2 ********************

 

 

[email protected]# show interfaces ge-0/0/2

description "br 2"; > DC Facing interface

flexible-vlan-tagging;

encapsulation flexible-ethernet-services;

esi { > Ethernet segment identifier ( for dual homed connection)

00:22:22:22:22:22:22:22:22:22;

single-active;

}

mac 52:54:00:8e:31:7d;

 

unit 200 {

description "EVPN Trunk ----> DC-2 ";

encapsulation vlan-bridge;

family bridge {

interface-mode trunk;

vlan-id-list [ 200 201 ];

vlan-rewrite {

translate 997 201;

}

}

 

 

[email protected]# show routing-instances EVPN-TRUNK

instance-type virtual-switch;

interface ge-0/0/2.200;

route-distinguisher 1000:1000;

vrf-target target:1000:1000;

protocols {

evpn {

extended-vlan-list [ 200 997 ];

}

}

bridge-domains {

BD_NETWORK-VLAN-200 {

vlan-id 200;

routing-interface irb.200;

 

************* BGP route table *************

 

[email protected]# run show route table EVPN-TRUNK.evpn.0

 

EVPN-TRUNK.evpn.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)

+ = Active Route, - = Last Active, * = Both

 

1:10.0.0.2:0::222222222222222222::0/304

*[bGP/170] 01:37:59, localpref 100, from 10.0.0.2

AS path: I, validation-state: unverified

> to 10.0.12.2 via ge-0/0/1.12, label-switched-path vMX-1--->vMX-2

to 10.0.51.5 via ge-0/0/1.51, label-switched-path Bypass->10.0.12.2

2:1000:1000::200::00:05:86:71:b8:f0/304

*[bGP/170] 01:37:59, localpref 100, from 10.0.0.2

AS path: I, validation-state: unverified

> to 10.0.12.2 via ge-0/0/1.12, label-switched-path vMX-1--->vMX-2

to 10.0.51.5 via ge-0/0/1.51, label-switched-path Bypass->10.0.12.2

2:1000:1000::200::52:54:00:25:03:32/304

*[bGP/170] 00:06:29, localpref 100, from 10.0.0.2

AS path: I, validation-state: unverified

> to 10.0.12.2 via ge-0/0/1.12, label-switched-path vMX-1--->vMX-2

to 10.0.51.5 via ge-0/0/1.51, label-switched-path Bypass->10.0.12.2

2:1000:1001::200::00:05:86:71:c8:f0/304

*[EVPN/170] 22:28:33

Indirect

2:1000:1001::200::52:54:00:4e:73:96/304

*[EVPN/170] 00:06:29

Indirect

2:1000:1001::201::00:05:86:71:c8:f0/304

*[EVPN/170] 22:28:33

Indirect

3:1000:1000::200::10.0.0.2/304

*[bGP/170] 01:37:59, localpref 100, from 10.0.0.2

AS path: I, validation-state: unverified

> to 10.0.12.2 via ge-0/0/1.12, label-switched-path vMX-1--->vMX-2

to 10.0.51.5 via ge-0/0/1.51, label-switched-path Bypass->10.0.12.2

3:1000:1001::200::10.0.0.1/304

*[EVPN/170] 02:13:04

Indirect

3:1000:1001::201::10.0.0.1/304

*[EVPN/170] 02:13:04

Indirect

Share this post


Link to post
Share on other sites

If someone can give a a share upload access I can upload a working OVA for a service router and the ALU Routing Specialist books and accompanying CD ...in a zip format for others.

  • Like 1

Share this post


Link to post
Share on other sites

Cisco PBB EVPN from ciscolive (

Hidden Content

    Give reaction to this post to see the hidden content.
)

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...