8-5
Cisco ONS 15310-CL and Cisco ONS 15310-MA Ethernet Card Software Feature and Configuration Guide R8.5
78-18133-01
Chapter 8 Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling on the ML-Series Card
Configuring IEEE 802.1Q Tunneling
Note The VLAN ID (VID) range of 2 to 4095 is recommended fo r IEEE 802.1Q tunneling on the ML-Series
card.
Note If VID 1 is required to be used as a metro tag, use the VLAN dot1Q tag native global configuration
command.
Use the no mode dot1q-tunnel interface configuration command to remove the IEEE 802.1Q tunnel
from the interface.
IEEE 802.1Q Example
The following examples show how to configure the example in Figure 8-1 on page 8-2. Example 8-1
applies to ML_Series A, and Example 8-2 applies to ML_Series B.
Example 8-1 ML_Series A Configuration
no ip routing
bridge 30 protocol ieee
bridge 40 protocol ieee
!
!
interface FastEthernet0
no ip routing
mode dot1q-tunnel
bridge-group 30
!
interface FastEthernet1
mode dot1q-tunnel
bridge-group 40
!
interface POS0
!
interface POS0.1
encapsulation dot1Q 30
bridge-group 30
!
interface POS0.2
encapsulation dot1Q 40
Step 4 ML_Series(config-if)# bridge-group
vlan-number
Assigns the tunnel port to a VLAN. All traffic from the port (tagged
and untagged) will be switched based on this bridge-group. Other
members of the bridge-group should be VLAN subinterfaces on a
provider trunk interface.
Step 5 ML_Series(config-if)# mode
dot1q-tunnel
Sets the interface as an IEEE 802.1Q tunnel port to enable QinQ.
Step 6 ML_Series(config)# end Returns to privileged EXEC mode.
Step 7 ML_Series# show dot1q-tunnel Displays the tunnel ports on the switch.
Step 8 ML_Series# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose