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.

Junos ®<br />

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

Push a TPID and VLAN<br />

ID Pair on Ingress<br />

Stack Inner and Outer<br />

148<br />

VLAN Tags<br />

[edit interfaces]<br />

ge-4/0/0 {<br />

vlan-tagging;<br />

encapsulation vlan-ccc;<br />

gigether-options {<br />

ethernet-switch-profile {<br />

tag-protocol-id 0x9909;<br />

}<br />

}<br />

unit 0 {<br />

encapsulation vlan-ccc;<br />

vlan-id 512;<br />

input-vlan-map {<br />

push;<br />

tag-protocol-id 0x9909;<br />

vlan-id 520;<br />

}<br />

output-vlan-map pop;<br />

}<br />

}<br />

ge-4/2/0 {<br />

vlan-tagging;<br />

encapsulation vlan-ccc;<br />

unit 0 {<br />

encapsulation vlan-ccc;<br />

vlan-id 515;<br />

input-vlan-map {<br />

swap-push;<br />

vlan-id 520;<br />

inner-vlan-id 512;<br />

}<br />

output-vlan-map {<br />

pop-swap;<br />

}<br />

}<br />

[edit protocols]<br />

mpls {<br />

interface ge-4/0/0.0;<br />

interface ge-4/2/0.0;<br />

}<br />

connections {<br />

interface-switch vlan-tag-push {<br />

interface ge-4/0/0.0;<br />

interface ge-4/2/0.0;<br />

}<br />

}<br />

}<br />

[edit interfaces]<br />

ge-0/2/0 {<br />

stacked-vlan-tagging;<br />

mac 00.01.02.03.04.05;<br />

gigether-options {<br />

loopback;<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!