The l2protocol-tunnel user-defined-protocol command defines the characteristics of a Layer 2 protocol whose packets are transparently transmitted, including the protocol name, Ethernet encapsulation type, destination MAC address of packets, multicast MAC address replacing the destination multicast MAC address of packets, and priority of packets.
By default, there is no user-defined characteristics of a Layer 2 protocol whose packets are transparently transmitted.
l2protocol-tunnel user-defined-protocol protocol-name protocol-mac protocol-mac encape-type { ethernetii protocol-type protocol-type | llc dsap dsap-value ssap ssap-value | snap protocol-type protocol-type } group-mac { group-mac | default-group-mac } [ priority priority-id ]
Parameter | Description | Value |
---|---|---|
protocol-name | Specifies the name of a user-defined Layer 2 protocol whose packets are transparently transmitted. | The name is a string of 1 to 31 case-insensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string. |
protocol-mac protocol-mac | Specifies the destination multicast MAC address of the Layer 2 protocol packets that are transparently transmitted. This MAC address must be an ordinary MAC address that has not been used on the devices. | The address is in the format of H-H-H, H indicating a 4-bit hexadecimal number. |
encape-type | Defines the encapsulation format for Layer 2 protocol
packets that are transparently transmitted.
|
- |
protocol-type protocol-type | Specifies the value of Ethernet encapsulation type. | The value is a hexadecimal number ranging from 0600 to FFFF. |
dsap dsap-value | Specifies the destination service access point. | The value ranges from 0x00 to 0xff, in hexadecimal format. |
ssap ssap-value | Specifies the source service access point. | The value ranges from 0x00 to 0xff, in hexadecimal format. |
group-mac group-mac | Specifies the multicast MAC address that replaces the destination multicast MAC address of the Layer 2 protocol packets that are transparently transmitted. The address must be an ordinary MAC address, which cannot be the MAC address of bridge protocol data units (BPDUs), the MAC address of Smart Link protocol packets, or a special MAC address. | The address is in the format of H-H-H, H indicating a 4-bit hexadecimal number. |
default-group-mac | Specifies the default MAC address of a multicast group, which is 0100-0ccd-cdd0. This parameter can simplify the configuration and reduce the configuration error. For example: Most Layer 2 protocols can be classified by types. Default MAC addresses of Layer 2 protocols in the same type are the same. In this case, you can attach the parameter default-group-mac to the l2protocol-tunnel user-defined-protocol command to reduce the configuration workload and the probability of configuration error. |
- |
priority priority-id | Specifies the priority of the Layer 2 protocol packets that are transparently transmitted. | The value is an integer that ranges from 1 to 7. The default value is 0. |