Task ID
OperationsTask ID
read, writeinterface
Examples
The following example indicates that the locally sourced frames (not sent in response to another ingress frame)
sent out of GigabitEthernet subinterface 0/3/0/1.1 should be tagged with 802.1Q VLAN 50. When the
local-traffic is not configured, chooses the lowest value in the range and sends the frames out tagged with
802.1Q VLAN 10.
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/3/0/1.1 l2transport
RP/0/RSP0/CPU0:router(config-subif)# encapsulation dot1q 10-100
RP/0/RSP0/CPU0:router(config-subif)# local-traffic default encapsulation dot1q 50
The followoing example indicates that the locally sourced frames are sent out with an outer VLAN tag of
802.1Q 1000, and an inner VLAN tag of 802.1Q 500. Without configuring the local-traffic, the frames are
sent out with an outer VLAN tag of 1000 and an inner VLAN tag of 1:
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/0/0/0.2 l2transport
RP/0/RSP0/CPU0:router(config-subif)# encapsulation dot1q 1000 second-dot1q 1-500
RP/0/RSP0/CPU0:routerr(config-subif)# local-traffic default encapsulation dot1q 1000
second-dot1q 500
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
27
Ethernet Interfaces Commands
local-traffic default encapsulation