L2vpn virtual-switch e differenti bridge-domain per-vlan config example on MX960 juniper devices

Home » Blog » Switching » L2 config » L2vpn virtual-switch e differenti bridge-domain per-vlan config example on MX960 juniper devices

L2vpn virtual-switch e differenti bridge-domain per-vlan config example on MX960 juniper devices

16.12 2019 | by massimiliano

Il presente documento mette in evidenza una configurazione di bridge domain per un servizio Data Center con MX960 Juniper: Le […]


https://www.ingegnerianetworking.com/wp-content/uploads/2019/12/bridge-domain-mx960-example-53c.png

Il presente documento mette in evidenza una configurazione di bridge domain per un servizio Data Center con MX960 Juniper:

Le principali caratteristiche di configurazione sono:

  • Virtual Switch per servizio o cliente
  • Bridge Domain per vlan

 

ARCHITETTURA DI RIFERIMENTO

 

bridge domain mx960 example

 

 

Configurazione interfacce fisiche MX960 in lacp-8 bundle verso external-core-switch ed in singolo IN ed OUT verso il FW:

 

 

set chassis aggregated-devices ethernet device-count 10

!

set interfaces ae8 description “bundle to core-switch”

set interfaces ae8 flexible-vlan-tagging

set interfaces ae8 encapsulation flexible-ethernet-services

set interfaces ae8 aggregated-ether-options link-speed 10g

set interfaces ae8 aggregated-ether-options lacp active

!

set interfaces xe-2/2/0 description “to core-switch if-a”

set interfaces xe-2/2/0 gigether-options 802.3ad ae8

set interfaces xe-3/3/0 description “to core-switch if-b”

set interfaces xe-3/3/0 gigether-options 802.3ad ae8
!

set interfaces xe-0/2/0 description “to FW-IN-eth_2.01”

set interfaces xe-0/2/0 flexible-vlan-tagging

set interfaces xe-0/2/0 encapsulation flexible-ethernet-services

!

set interfaces xe-2/0/0 description “to FW-OUT-eth_2.03”

set interfaces xe-2/0/0 flexible-vlan-tagging

set interfaces xe-2/0/0 encapsulation flexible-ethernet-services 

!

 

 

Configurazione interfacce in modalità family bridge:

 

set interfaces ae8 unit 10 encapsulation vlan-bridge

set interfaces ae8 unit 10 vlan-id 10

set interfaces ae8 unit 10 family bridge

set interfaces ae8 unit 10 description “serv_10”

!

set interfaces ae8 unit 20 encapsulation vlan-bridge

set interfaces ae8 unit 20 vlan-id 20

set interfaces ae8 unit 20 family bridge

set interfaces ae8 unit 20 description “serv_20”

!

set interfaces ae8 unit 30 encapsulation vlan-bridge

set interfaces ae8 unit 30 vlan-id 30

set interfaces ae8 unit 30 family bridge

set interfaces ae8 unit 30 description “serv_30”

!

set interfaces ae8 unit 100 encapsulation vlan-bridge

set interfaces ae8 unit 100 vlan-id 100

set interfaces ae8 unit 100 family bridge

set interfaces ae8 unit 100 description “serv_100”

!

set interfaces ae8 unit 200 encapsulation vlan-bridge

set interfaces ae8 unit 200 vlan-id 200

set interfaces ae8 unit 200 family bridge

set interfaces ae8 unit 200 description “serv_200”

!

set interfaces ae8 unit 300 encapsulation vlan-bridge

set interfaces ae8 unit 300 vlan-id 300

set interfaces ae8 unit 300 family bridge

set interfaces ae8 unit 300 description “serv_300”

!

set interfaces xe-0/2/0 unit 10 encapsulation vlan-bridge

set interfaces xe-0/2/0 unit 10 vlan-id 10

set interfaces xe-0/2/0 unit 10 family bridge

set interfaces xe-0/2/0 unit 10 description “serv_10”

!

set interfaces xe-0/2/0 unit 20 encapsulation vlan-bridge

set interfaces xe-0/2/0 unit 20 vlan-id 20

set interfaces xe-0/2/0 unit 20 family bridge

set interfaces xe-0/2/0 unit 20 description “serv_20′”

!

set interfaces xe-0/2/0 unit 30 encapsulation vlan-bridge

set interfaces xe-0/2/0 unit 30 vlan-id 30

set interfaces xe-0/2/0 unit 30 family bridge

set interfaces xe-0/2/0 unit 30 description “serv_30”

!

set interfaces xe-0/2/0 unit 100 encapsulation vlan-bridge

set interfaces xe-0/2/0 unit 100 vlan-id 100

set interfaces xe-0/2/0 unit 100 family bridge

set interfaces xe-0/2/0 unit 100 description “serv_100”

!

set interfaces xe-2/0/0 unit 200 encapsulation vlan-bridge

set interfaces xe-2/0/0 unit 200 vlan-id 200

set interfaces xe-2/0/0 unit 200 family bridge

set interfaces xe-2/0/0 unit 200 description “serv_200”

!

set interfaces xe-2/0/0 unit 300 encapsulation vlan-bridge

set interfaces xe-2/0/0 unit 300 vlan-id 300

set interfaces xe-2/0/0 unit 300 family bridge

set interfaces xe-2/0/0 unit 300 description “serv_300”

!

 

 

Configurazione virtual switch per servizio e bridge domain per vlan

 

 

set routing-instances VSWITCH_PIPPO instance-type virtual-switch

set routing-instances VSWITCH_PIPPO bridge-domains VL-10-serv_10 interface ae8.10

set routing-instances VSWITCH_PIPPO bridge-domains VL-10-serv_10 interface xe-0/2/0.10

set routing-instances VSWITCH_PIPPO bridge-domains VL-20-serv_20 interface ae8.20

set routing-instances VSWITCH_PIPPO bridge-domains VL-20-serv_20 interface xe-0/2/0.20

set routing-instances VSWITCH_PIPPO bridge-domains VL-30-serv_30 interface ae8.30

set routing-instances VSWITCH_PIPPO bridge-domains VL-30-serv_30 interface xe-0/2/0.30

set routing-instances VSWITCH_PIPPO bridge-domains VL-100-serv_100 interface ae8.100

set routing-instances VSWITCH_PIPPO bridge-domains VL-100-serv_100 interface xe-0/2/0.100

set routing-instances VSWITCH_PIPPO bridge-domains VL-200-serv_200 interface ae8.200

set routing-instances VSWITCH_PIPPO bridge-domains VL-200-serv_200 xe-2/0/0.200

set routing-instances VSWITCH_PIPPO bridge-domains VL-300-serv_300 interface ae8.300

set routing-instances VSWITCH_PIPPO bridge-domains VL-300-serv_300 xe-2/0/0.300

 

 

 

 

 

 

 

Torna in alto