xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
399
Parameters
None.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To disable the Layer 2 protocol tunneling function:
DGS-3120-24TC:admin#disable l2protocol_tunnel
Command: disable l2protocol_tunnel
Success.
DGS-3120-24TC:admin#
39-3
config l2protocol_tunnel ports
Description
This command is used to configure Layer 2 protocol tunneling on ports. Layer 2 protocol tunneling
is used to tunnel Layer 2 protocol packet. If a Layer 2 protocol is tunnel-enabled on an UNI, once
received the PDU on this port, the multicast destination address of the PDU will be replaced by
Layer 2 protocol tunneling multicast address. The Layer 2 protocol tunneling multicast address for
STP is 01-05-5D-00-00-00, for GVRP is 01-05-5D-00-00-21, for Layer 2 protocols MAC 01-00-0C-
CC-CC-CC is 01-05-5D-00-00-10 and for protocol MAC 01-00-0C-CC-CC-CD is 01-05-5D-00-00-
11.
When QinQ is enabled, an S-TAG will be added to the Layer 2 PDU too. The S-TAG is assigned
according QinQ VLAN configuration.
Format
config l2protocol_tunnel ports [<portlist> | all] type [uni tunneled_protocol [{stp | gvrp |
protocol_mac [01-00-0C-CC-CC-CC | 01-00-0C-CC-CC-CD]}(1) | all] {threshold <value 0-
65535>} | nni | none]
Parameters
<portlist>
- Specify a list of ports on which the Layer 2 protocol tunneling to be configured.
all
– Specify to have all ports to be configured
type
- Specify the type of the ports.
uni
- Specify the ports as UNI ports.
tunneled_protocol
- Specify tunneled protocols on the UNI ports.
stp
- Specify to use the STP protocol.
gvrp
- Specify to use the GVRP protocol.
protocol_mac
- Specify the destination MAC address of the L2 protocol packets that
will tunneled on these UNI ports.
01-00-0C-CC-CC-CC
- Specify the MAC address as 01-00-0C-CC-CC-CC.