Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual page 1674

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos
Step-by-Step
Procedure
Results
Verification
Purpose
Action
1570
®
OS for EX Series Ethernet Switches, Release 10.4
To configure Q-in-Q tunneling:
Set the VLAN ID for the S-VLAN:
1.
[edit vlans]
user@switch# set qinqvlan vlan-id 4001
Enable Q-in-Q tuennling and specify the customer VLAN ranges:
2.
[edit vlans]
user@switch# set qinqvlan dot1q-tunneling customer-vlans 1-100
user@switch# set qinqvlan dot1q-tunneling customer-vlans 201-300
Set the port mode and VLAN information for the interfaces:
3.
[edit interfaces]
user@switch# set ge-0/0/11 unit 0 family ethernet-switching port-mode trunk
user@switch# set ge-0/0/11 unit 0 family ethernet-switching vlan members 4001
user@switch# set ge-0/0/12 unit 0 family ethernet-switching port-mode access
user@switch# set ge-0/0/12 unit 0 family ethernet-switching vlan members 4001
user@switch# set ge-0/0/13 unit 0 family ethernet-switching port-mode access
user@switch# set ge-0/0/13 unit 0 family ethernet-switching vlan members 4001
user@switch# set ge-0/0/14 unit 0 family ethernet-switching port-mode trunk
user@switch# set ge-0/0/14 unit 0 family ethernet-switching vlan members 4001
Set the Q-in-Q Ethertype value:
4.
[edit]
user@switch# set ethernet-switching-options dot1q-tunneling ether-type 0x9100
Check the results of the configuration:
user@switch> show configuration vlans qinqvlan
vlan-id 4001;
dot1q-tunneling {
customer-vlans [ 1-100 201-300 ];
}
To confirm that the configuration is working properly, perform these tasks:
Verifying That Q-in-Q Tunneling Was Enabled on page 1570
Verifying That Q-in-Q Tunneling Was Enabled
Verify that Q-in-Q tunneling was properly enabled on the switch.
Use the
command:
show vlans
user@switch> show vlans qinqvlan extensive
VLAN: qinqvlan, Created at: Thu Sep 18 07:17:53 2008
802.1Q Tag: 4001, Internal index: 18, Admin State: Enabled, Origin: Static
Dot1q Tunneling Status: Enabled
Customer VLAN ranges:
1-100
201-300
Protocol: Port Mode
Number of interfaces: Tagged 2 (Active = 0), Untagged
ge-0/0/11.0, tagged, trunk
4 (Active = 0)
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents