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

Optional<br />

inner-tag-protocol-id<br />

Statement<br />

Input VLAN Map with<br />

inner-tag-protocol-id<br />

and inner-vlan-id<br />

Statements<br />

Related<br />

Documentation<br />

Stacking a VLAN Tag<br />

138<br />

•<br />

}<br />

output-vlan-map {<br />

pop-swap;<br />

inner-tag-protocol-id tpid;<br />

}<br />

[edit interfaces interface-name unit logical-unit-number]<br />

input-vlan-map {<br />

pop-swap;<br />

inner-vlan-id number;<br />

inner-tag-protocol-id tpid;<br />

}<br />

inner-tag-protocol-id on page 488<br />

• input-vlan-map on page 492<br />

• output-vlan-map<br />

• pop-swap on page 530<br />

• unit on page 568<br />

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

To stack a VLAN tag on all tagged frames entering or exiting the interface, include the<br />

push, vlan-id, and tag-protocol-id statements in the input VLAN map or the output VLAN<br />

map:<br />

input-vlan-map {<br />

push;<br />

vlan-id number;<br />

tag-protocol-id tpid;<br />

}<br />

output-vlan-map {<br />

push;<br />

tag-protocol-id tpid;<br />

}<br />

You can include these statements at the following hierarchy levels:<br />

• [edit interfaces interface-name unit logical-unit-number]<br />

• [edit interfaces interface-name unit logical-unit-number]<br />

• [edit logical-systems logical-system-name interfaces interface-name unit<br />

logical-unit-number]<br />

• [edit logical-systems logical-system-name interfaces interface-name unit<br />

logical-unit-number]<br />

If you include the push statement in an interface’s input VLAN map, see Table 9 on<br />

page 132 for information about permissible rewrite operations,<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!