xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
551
Layer 2 Protocol Tunneling (L2PT) Commands
The Layer 2 Protocol Tunneling (L2PT) commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
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]
show l2protocol_tunnel
{[uni | nni]}
enable l2protocol_tunnel
disable l2protocol_tunnel
Each command is listed, in detail, in the following sections.
config l2protocol_tunnel
Purpose
This command is used to configure Layer 2 protocol tunneling on ports.
Syntax
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]
Description
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.
Parameters
ports
-Specify the ports on which the Layer 2 protocol tunneling will be configured.
<
portlist
> - Enter a list of ports to be configured here.
all
- Specify to use this configuration on all the ports.
type
- Specify the type of the ports.
uni
- Specify the port is UNI port
tunneled_protocol
- Specify tunneled protocols on this UNI port. If specified all, all tunnel-able
Layer 2 protocols will be tunneled on this port.
stp
- (Optional) Specify to use the STP protocol.
gvrp
- (Optional) Specify to use the GVRP protocol.
protocol_mac
- (Optional) Specify which protocol MAC address to use.
01-00-0C-CC-CC-CC
- Specify to use this protocol MAC address.
01-00-0C-CC-CC-CD
- Specify to use this protocol MAC address.
all
- Specify to use all the MAC addresses.
threshold
- (Optional) Specify the drop threshold for packets-per-second accepted on this UNI
port. The port drops the PDU if the protocol’s threshold is exceeded. The range of the
threshold value is 0 to 65535 (packet/second). The value 0 means on limit. By default, the
value is 0.
<
value 0-65535
> - Enter the threshold packets-per-seconds value here. This value must be
between 0 and 65535.
nni
- Specify the port is NNI port
none
- Disables tunnel on it. By default, a port is none port.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the STP tunneling on ports 1-4: