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 />

Tags on Ingress and on<br />

Egress<br />

Pop the Outer VLAN<br />

Tag and Swap the<br />

Inner VLAN Tag on<br />

Ingress; Swap the<br />

Outer VLAN Tag and<br />

Push a New VLAN Tag<br />

on Egress<br />

Pop a TPID and VLAN<br />

ID Pair on Ingress; Push<br />

152<br />

a VLAN ID and TPID<br />

Pair on Egress<br />

unit 0 {<br />

vlan-tags {<br />

inner 0x9100.425;<br />

outer 0x9200.525;<br />

}<br />

input-vlan-map {<br />

swap-swap;<br />

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

vlan-id 400;<br />

inner-tag-protocol-id 0x9100;<br />

inner-vlan-id 500;<br />

}<br />

output-vlan-map {<br />

swap-swap;<br />

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

inner-tag-protocol-id 0x9100;<br />

}<br />

}<br />

}<br />

[edit interfaces]<br />

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

unit 0 {<br />

vlan-tags {<br />

inner 0x9100.425;<br />

outer 0x9200.525;<br />

}<br />

input-vlan-map {<br />

pop-swap;<br />

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

vlan-id 400;<br />

}<br />

output-vlan-map{<br />

swap-push;<br />

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

inner-tag-protocol-id 0x9100;<br />

}<br />

}<br />

}<br />

[edit interfaces]<br />

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

unit 0 {<br />

vlan-tags {<br />

inner 0x9100.425;<br />

outer 0x9200.525;<br />

}<br />

input-vlan-map{<br />

pop-pop;<br />

}<br />

output-vlan-map {<br />

push-push;<br />

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

inner-tag-protocol-id 0x9100;<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!