beautypg.com

Profiles – Juniper Networks JUNOS OS 10.4 User Manual

Page 93

background image

their own VLANs, at two different sites. The organization uses a BGP-based VPLS with
a virtual switch to accomplish this.

Configuration of Routing Instance and Interfaces Without Dynamic Profiles on page 73

Configuration of Routing Instance and Interfaces Using Dynamic Profiles on page 74

Configuration of Tag Translation Using Dynamic Profiles on page 76

Configuration of Routing Instance and Interfaces Without Dynamic Profiles

The basic configuration of routing instance and interfaces without dynamic profiles
follows:

[edit routing-instance blue]
instance-type virtual-switch;
route-distinguisher 10.1.1.10:1;
vrf-target target:1000:1;
interface ge-3/0/0; # The trunk interface
bridge-domains {

sales {

vlan-id 10;
interface ge-0/0/0.1;
... # Other interfaces and statements for Sales

}
engineering {

vlan-id 20;
interface ge-1/0/2.0;
... # Other interfaces and statements for Engineering

}
accounting {

vlan-id 30;
interface ge-2/0/3.0;
... # Other interfaces and statements for Accounting

}
others {

vlan-id—list [ 40 50 ]; # Other departments

}

}

protocols vpls {

site-range 10;
site sample-site-1 {

site-identifier 1;

}

}

... # Other statements for instance Blue

[edit interfaces]
ge-0/0/1 {

unit 0 {

vlan-id 100;

}

}
ge-3/0/0 {

unit 0 {

family bridge {

73

Copyright © 2013, Juniper Networks, Inc.

Chapter 6: Dynamic Profiles for VLAN Interfaces and Protocols