8-5
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
Chapter 8 Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring IEEE 802.1Q Tunneling
Note The VLAN ID (VID) range of 2 to 4095 is recommended for IEEE 802.1Q tunneling on the ML-Series
card.
Note If VID 1 is required, use the following command:
Router (config)# VLAN dot1Q tag native
Use the no mode dot1q-tunnel interface configuration command to remove the IEEE 802.1Q tunnel
from the interface.
The following sections show how to configure the example in Figure 8-1 on page 8-2. The first section
applies to Router_A, and the second section applies to Router_B.
Router A Configuration Example
bridge 30 protocol ieee
bridge 40 protocol ieee
interface FastEthernet0
no ip routing
no ip address
mode dot1q-tunnel
bridge-group 30
!
interface FastEthernet1
no ip address
mode dot1q-tunnel
bridge-group 40
!
interface POS0
no ip address
crc 32
pos flag c2 1
!
interface POS0.1
encapsulation dot1Q 30
bridge-group 30
!
interface POS0.2
encapsulation dot1Q 40
bridge-group 40
Step 4
Router(config-if)# bridge-group
number
Assigns the tunnel port to a bridge-group. 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 sub-interfaces
on a provider trunk interface.
Step 5
Router(config-if)# mode dot1q-tunnel
Sets the interface as an IEEE 802.1Q tunnel port.
Step 6
Router(config-if)# exit
Returns to global configuration mode.
Step 7
Router(config-if)# end
Returns to privileged EXEC mode.
Step 8
Router# show dot1q-tunnel
Displays the tunnel ports on the switch.
Step 9
Router# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose