or
RP/0/RSP0/CPU0:router(config-subif)#
encapsulation untagged
or
RP/0/RSP0/CPU0:router(config-subif)#
encapsulation dot1ad 10 dot1q 10
or
RP/0/RSP0/CPU0:router(config-subif)#
encapsulation dot1q 10 second-dot1q 20
Assigns the matching VLAN ID and Ethertype to the interface.
Step 4 rewrite ingress tag translate translate 1-to-1 dot1q vlan-id symmetric
Example:
RP/0/RSP0/CPU0:router
(config-subif)# rewrite ingress tag translate 1-to-1 dot1q 100 symmetric
Specifies the encapsulation adjustment that is to be performed on the frame ingress to the service instance.
Step 5 ethernet egress-filter disable
Example:
RP/0/RSP0/CPU0:router(config-subif)# ethernet egress-filter strict
Disables egress filtering on all subinterfaces.
Step 6 ethernet source bypass egress-filter
Example:
RP/0/RSP0/CPU0:router(config-subif)# ethernet source bypass egress-filter
Enables source bypass egress filtering on the subinterfaces.
Step 7 Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Configuration Examples
Configuring Policy Based Forwarding: Example
This example shows how to configure policy based forwarding:
config
interface GigabitEthernet0/0/0/2.3 l2transport
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
49
Ethernet Features
Configuration Examples