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.

Table 10: Rewrite Operations and Statement Usage for Input VLAN<br />

Maps (continued)<br />

pop-pop<br />

Input VLAN Map Statements<br />

No<br />

No<br />

Table 11 on page 137 indicates valid statement combinations for rewrite operations for<br />

the output VLAN map. “No” means the statement must not be included in the output<br />

No<br />

VLAN map for the rewrite operation. “Optional” means the statement may be optionally<br />

specified for the rewrite operation in the output VLAN map.<br />

Table 11: Rewrite Operations and Statement Usage for Output VLAN Maps<br />

Rewrite Operation<br />

push<br />

pop<br />

swap<br />

push-push<br />

swap-push<br />

swap-swap<br />

pop-swap<br />

pop-pop<br />

Input VLAN Map with<br />

inner-vlan-id<br />

Statement, Output<br />

VLAN Map with<br />

Optional<br />

inner-tag-protocol-id<br />

Statement<br />

Input VLAN Map with<br />

inner-tag-protocol-id<br />

Statement, Output<br />

VLAN Map with<br />

Output VLAN Map Statements<br />

vlan-id<br />

No<br />

No<br />

No<br />

No<br />

No<br />

No<br />

No<br />

No<br />

tag-protocol-id<br />

Optional<br />

No<br />

Optional<br />

Optional<br />

Optional<br />

Optional<br />

No<br />

No<br />

inner-vlan-id<br />

No<br />

No<br />

No<br />

No<br />

No<br />

No<br />

No<br />

No<br />

No<br />

inner-tag-protocol-id<br />

No<br />

No<br />

No<br />

Optional<br />

Optional<br />

Optional<br />

Optional<br />

The following examples use Table 10 on page 136 and Table 11 on page 137 and show how<br />

the pop-swap operation can be configured in an input VLAN map and an output VLAN<br />

map:<br />

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

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

input-vlan-map {<br />

pop-swap;<br />

inner-vlan-id number;<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-tag-protocol-id tpid;<br />

Chapter 5: Stacking and Rewriting Gigabit <strong>Ethernet</strong> VLAN Tags<br />

No<br />

137

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

Saved successfully!

Ooh no, something went wrong!