Purpose
Command or Action
Example:
Router(config-if-srv)#
bridge-domain 3000
(Optional) Specify that encapsulation modification to occur on packets
at ingress.
rewrite ingress tag
{
pop
{
1
|
2
}
symmetric
|
push dot1ad vlan-id
[
dot1q vlan-id
]
symmetric
}
Step 8
Example:
Router(config-if-srv)#
rewrite ingress
•
pop 1
—
Pop (remove) the outermost tag.
•
pop 2
—
Pop (remove) the two outermost tags.
tag pop 1 symmetric
•
symmetric
—
Configure the packet to undergo the reverse of the
ingress action at egress. If a tag is popped at ingress, it is pushed
Router(config-if-srv)#
rewrite ingress
tag push dot1ad 30 symmetric
(added) at egress. This keyword is required for
rewrite
to
function properly.
•
push
—
Adds a tag to an ingress packet.
•
dot1ad vlan-id
—
Specifies the 802.1 do1ad tag. Valid Vlan ID
range is from 1 to 4094.
•
dot1q vlan-id
—
Specifies the 802.1 do1q tag. Valid Vlan ID
range is from 1 to 4094.
Return to privileged EXEC mode.
end
Example:
Router(config-if-srv)#
end
Step 9
Configuration Examples
The example shows the C-UNI port.
interface GigabitEthernet0/3/7
ethernet dot1ad uni c-port
service instance 20 ethernet
encapsulation dot1q 20
rewrite ingress tag push dot1ad 30 symmetric
bridge-domain 20
The example shows the S-UNI port.
interface GigabitEthernet0/3/7
ethernet dot1ad uni s-port
service instance 20 ethernet
encapsulation default
rewrite ingress tag push dot1ad 30 symmetric
bridge-domain 20
The example shows the NNI port.
interface GigabitEthernet0/5/2
ethernet dot1ad nni
service instance 20 ethernet
encapsulation dot1ad 30
bridge-domain 20
Carrier Ethernet Configuration Guide (Cisco ASR 920 Series)
411
Configuring IEEE 802.1ad
Configuring the IEEE 802.1ad on Service Instances