Command History
ModificationRelease
This command was introduced.Release 3.7.2
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
The symmetric keyword is accepted only when a single VLAN is configured in encapsulation. If a list of
VLANs or a range VLAN is configured in encapsulation, the symmetric keyword is accepted only for push
rewrite operations; all other rewrite operations are rejected.
The pop command assumes the elements being popped are defined by the encapsulation type. The exception
case should be drop the packet.
The rewrite ingress tag translatecommand assume the tags being translated from are defined by the
encapsulation type. In the 2-to-1 option, the “2” means “2 tags of a type defined by the encapsulation command.
The translation operation requires at least “from” tag in the original packet. If the original packet contains
more tags than the ones defined in the “from”, then the operation should be done beginning on the outer tag.
Exception cases should be dropped.
Examples
The following example shows how to specify the encapsulation adjustment that is to be performed on the
frame ingress to the service instance:
RP/0/RSP0/CPU0:router(config-if)# rewrite ingress push dot1q 200
Related Commands
DescriptionCommand
Configure the default service instance on a port.encapsulation default, on page 4
Defines the matching criteria to be used in order to map
single-tagged 802.1ad frames ingress on an interface to the
appropriate service instance.
encapsulation dot1ad dot1q, on page 6
Defines the matching criteria to map 802.1Q frames ingress on an
interface to the appropriate service instance.
encapsulation dot1q, on page 8
Defines the matching criteria to map Q-in-Q ingress frames on an
interface to the appropriate service instance.
encapsulation dot1q second-dot1q, on
page 10
Defines the matching criteria to map untagged ingress Ethernet
frames on an interface to the appropriate service instance.
encapsulation untagged, on page 12
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
29
Ethernet Interfaces Commands
rewrite ingress tag