beautypg.com

Juniper Networks JUNOS OS 10.4 User Manual

Page 81

background image

}
interfaces ge-3/0/0 {

encapsulation flexible-ethernet-services;
flexible-vlan-tagging;
unit 1 {

encapsulation vlan-vpls;

interface-mode trunk;

vlan-id-range 1-1000; # Note the use of the VLAN id range statement.

}

}

}
interfaces ge-6/0/0 {

encapsulation flexible-ethernet-services;
flexible-vlan-tagging;
unit 11 {

encapsulation vlan-vpls;

interface-mode trunk;

vlan-id 1500;

}

}

}
routing-instances {

customer-c1-virtual-switch {

instance-type virtual-switch;
interface ge-1/0/0.1;
interface ge-2/0/0.1;
interface ge-3/0/0.1;
bridge-domains {

c1-vlan-v1-to-v1000 {

vlan-id all; # Note the use of the VLAN id all statement

}

}

} # End of customer-c1-v1-to-v1000
customer-c2-virtual-switch {

instance-type virtual-switch;
interface ge-1/0/0.11;
interface ge-6/0/0.11;
bridge-domains {

c1-vlan-v1500 {

vlan-id all; # Note the use of the VLAN id all statement

}

}

} # End of customer-c1-v1500

} # End of routing-instances

Note the use of the

vlan-id all

and

vlan-id-range

statements in the virtual-switch instance

called

customer-c1-v1-to-v1000

. The

vlan-id all

statement implicitly creates multiple

learning domains, each with its own normalized VLAN.

61

Copyright © 2013, Juniper Networks, Inc.

Chapter 4: VLANs Within Bridge Domain and VPLS Environments