Specifications

Configuring Routing Between VLANs
How to Configure Routing Between VLANS
47
Verifying the IEEE 802.1Q-in-Q VLAN Tag Termination
Perform this optional task to verify the configuration of the IEEE 802.1Q-in-Q VLAN Tag Termination
feature.
SUMMARY STEPS
1. enable
2. show running-config
Step 5
pppoe enable [group group-name]
Example:
Router(config-subif)# pppoe enable group vpn1
Enables PPPoE sessions on a subinterface.
The example specifies that the PPPoE profile, vpn1,
will be used by PPPoE sessions on the subinterface.
Step 6
exit
Example:
Router(config-subif)# exit
Exits subinterface configuration mode and returns to
interface configuration mode.
Repeat this step one more time to exit interface
configuration mode.
Step 7
Repeat Step3 to configure another subinterface.
Example:
Router(config-if)# interface gigabitethernet
1/0/0.2
(Optional) Configures a subinterface and enters
subinterface configuration mode.
Step 8
Repeat Step 4 and Step 5 to specify the VLAN tags to
be terminated on the subinterface.
Example:
Router(config-subif)# encapsulation dot1q 100
second-dot1q 100-199,201-600
Example:
Router(config-subif)# pppoe enable group vpn1
Step 4 enables the 802.1Q encapsulation of traffic on a
specified subinterface in a VLAN.
Use the second-dot1q keyword and the vlan-id
argument to specify the VLAN tags to be terminated on
the subinterface.
In the example, an ambiguous Q-in-Q subinterface is
configured because a range of inner VLAN IDs is
specified.
Q-in-Q frames with an outer VLAN ID of 100 and an
inner VLAN ID in the range of 100 to 199 or 201 to 600
will be terminated.
Step 5 enables PPPoE sessions on the subinterface. The
example specifies that the PPPoE profile, vpn1, will be used
by PPPoE sessions on the subinterface.
Note Step 5 is required for the Cisco 10000 series
Internet router because it only supports
PPPoEoQinQ traffic.
Step 9
end
Example:
Router(config-subif)# end
Exits subinterface configuration mode and returns to
privileged EXEC mode.
Command or Action Purpose