21.03.2013 Views

Junos® OS Ethernet Interfaces Configuration ... - Juniper Networks

Junos® OS Ethernet Interfaces Configuration ... - Juniper Networks

Junos® OS Ethernet Interfaces Configuration ... - Juniper Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Junos ®<br />

<strong>OS</strong> 12.3 <strong>Ethernet</strong> <strong>Interfaces</strong> <strong>Configuration</strong> Guide<br />

Related<br />

Documentation<br />

The following configuration shows that the VLAN-bundled logical interface is the interface<br />

over which VPN traffic travels to the CE router and handles traffic for a CCC to which the<br />

VPN connects.<br />

•<br />

[edit routing-instances]<br />

red {<br />

instance-type l2vpn;<br />

interface ge-1/0/5.0; # VLAN-bundled logical interface<br />

route-distinguisher 10.255.69.96:100;<br />

vrf-target target:1:1;<br />

protocols {<br />

l2vpn {<br />

encapsulation-type ethernet; # For single-tag VLAN logical interface<br />

site CE_ultima {<br />

site-identifier 1;<br />

interface ge-1/0/5.0;<br />

}<br />

}<br />

}<br />

}<br />

NOTE: Because the VLAN-bundled logical interface supports single-tag<br />

frames, <strong>Ethernet</strong> is the Layer 2 protocol used to encapsulate incoming traffic.<br />

Although the connection spans multiple VLANs, the VLANs are bundled and<br />

therefore can be encapsulated as a single VLAN.<br />

However, with <strong>Ethernet</strong> encapsulation, the circuit signal processing does not<br />

check that the VLAN ID list is the same at both ends of the CCC connection.<br />

802.1Q VLANs Overview on page 53<br />

• <strong>Junos®</strong> <strong>OS</strong> <strong>Ethernet</strong> <strong>Interfaces</strong><br />

Example: Configuring a Layer 2 Circuit on a VLAN-Bundled Logical Interface<br />

74<br />

The following configuration shows that the single-tag logical interface ge-1/0/5.0 bundles<br />

a list of VLAN IDs, and the logical interface ge-1/1/1.0 supports IPv4 traffic using IP address<br />

10.30.1.1/30 and can participate in an MPLS path.<br />

[edit interfaces]<br />

ge-1/0/5 {<br />

vlan-tagging;<br />

encapsulation extended-vlan-ccc;<br />

unit 0 { # VLAN-bundled logical interface<br />

vlan-id-list [513 516 520-525];<br />

}<br />

}<br />

ge-1/1/1 {<br />

unit 0 {<br />

family inet {<br />

address 10.30.1.1/30;<br />

}<br />

Copyright © 2012, <strong>Juniper</strong> <strong>Networks</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!