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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example: Configuring a Layer 2 VPN Routing Instance on a VLAN-Bundled Logical<br />

Interface<br />

Copyright © 2012, <strong>Juniper</strong> <strong>Networks</strong>, Inc.<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.130 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 />

family mpls;<br />

}<br />

}<br />

The following configuration shows the type of traffic supported on the Layer 2 VPN<br />

routing instance:<br />

[edit protocols]<br />

rsvp {<br />

interface all;<br />

interface lo0.0;<br />

}<br />

mpls {<br />

label-switched-path lsp {<br />

to 10.255.69.128;<br />

}<br />

interface all;<br />

}<br />

bgp {<br />

group g1 {<br />

type internal;<br />

local-address 10.255.69.96;<br />

family l2vpn {<br />

signaling;<br />

}<br />

neighbor 10.255.69.128;<br />

}<br />

}<br />

ospf {<br />

traffic-engineering;<br />

area 0.0.0.0 {<br />

interface lo0.0;<br />

interface ge-1/1/1.0;<br />

}<br />

}<br />

Chapter 3: Configuring 802.1Q VLANs<br />

73

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

Saved successfully!

Ooh no, something went wrong!