5-32 Riverstone Networks RS Switch Router User Guide Release 8.0
Tunneling VLAN packets across MANs Bridging Configuration Guide
The following is the configuration for R2:
Multiple VLANs on a Single Tunnel Entry Port
Tunnel entry and exit ports are access ports. Normally, access ports can belong to only one VLAN of a particular
protocol type. With stackable VLANs, traffic for multiple VLANs can enter a tunnel entry port to be tunneled over the
backbone VLAN. In this case, the tunnel entry port must belong to all the VLANs that are to be tunneled. Use the
stackable-vlan option of the vlan make access-port command to allow the tunnel entry port to be added to
any number of VLANs.
In Figure5-10, customers C1, C2, C3, C4, and C5 each have a VLAN that will use port et.2.1 on R1 as the tunnel entry
port. On R2, port et.6.1 will be the tunnel exit port for traffic for all five VLANs.
! Create 1 backbone VLAN and 2 customer VLANs
vlan create RED port-based
vlan create GREEN port-based
vlan create BLUE port-based
! Add port to each VLAN
vlan add ports et.6.1 to BLUE
vlan add ports et.7.1 to GREEN
vlan add ports et.5.1 to RED
! Make et.5.1 both a trunk port and a tunnel backbone port
vlan make trunk-port et.5.1 stackable-vlan
! Map tunnel exit ports to backbone VLAN
vlan enable stackable-vlan on et.6.1 backbone-vlan RED
vlan enable stackable-vlan on et.7.1 backbone-vlan RED