S2300 firm. ver. V100R003C00SPC301. Hybrid port question.

Latest reply: Jun 18, 2016 06:03:28 14173 7 0 0
Hello

Can someone explain me what port hybrid untagged vlan <vlans> setting does? How can i apply this in real network (example) ?

p.s. firmware version V100R003C00SPC301.

Bye
  • x
  • convention:

user_1869547
Created Aug 9, 2012 00:47:15 Helpful(0) Helpful(0)

 example:

[Quidway]Vlan 10                                

[Quidway]interface GigabitEthernet 1/0/1             

[Quidway-GigabitEthernet1/0/1]port link-type hybrid   

[Quidway-GigabitEthernet1/0/1]port hybrid tagged/untagged vlan 10       Add GE1/0/1 to VLAN 10 in untagged mode

 

  • x
  • convention:

Torian
Created Aug 9, 2012 05:05:15 Helpful(0) Helpful(0)

Hi

I know how to configure this. But I dont understand meaning of command - port hybrid UNTAGGED vlan <vlans>. I need example of real usage, not syntax. By the way, there is no command port hybrid TAGGED vlan <vlans> in firmware V100R003C00SPC301.

Bye

  • x
  • convention:

user_1869547
Created Aug 9, 2012 08:44:21 Helpful(0) Helpful(0)

Reply 3 #

the hybrid port is used to connect to either hosts or switches. That is, the hybrid port can connect to either the access link or the trunk link. A hybrid port allows frames from multiple VLANs to pass through. It can remove VLAN tags from some outgoing VLAN frames.

Port Type

Method of Processing Untagged Frames

Method of Processing Tagged Frames

Frame Sending

Access port

Accepts an untagged frame and adds a tag with the default VLAN ID to the frame.

  • Accepts a tagged frame if the VLAN ID carried in the frame is the same as the default VLAN ID.

  • Discards a tagged frame if the VLAN ID carried in the frame is different from the default VLAN ID.

After the PVID tag is stripped, the frame can be sent out.

Trunk port

  • Adds a tag with the default VLAN ID to an untagged frame and accepts the frame if the port permits the default VLAN ID.

  • Adds a tag with the default VLAN ID to an untagged frame and discards the frame if the port denies the default VLAN ID.
  • Accepts a tagged frame if the VLAN ID carried in the frame is permitted by the port.
  • Discards a tagged frame if the VLAN ID carried in the frame is denied by the port.
  • Removes the tag and then sends a received frame if the VLAN ID carried in the frame is the same as the default VLAN ID and the VLAN ID is permitted by the port.
  • Directly sends a received frame if the VLAN ID carried in the frame is different from the default VLAN ID but the VLAN ID is permitted by the port.

Hybrid port

Sends a received frame if the VLAN ID carried in the frame is permitted by the port. The port can be configured with a specified command to determine whether or not it sends frames with tags.

 

  • x
  • convention:

Torian
Created Aug 9, 2012 10:48:08 Helpful(0) Helpful(0)

You have copy-pasted information from guide. But there is no good explanation what port hybrid untagged vlan <vlans> setting does.  Can you show work scheme with port hybrid untagged vlan ?
  • x
  • convention:

Jay
Created Sep 11, 2012 10:46:39 Helpful(0) Helpful(0)

In QinQ, you need to configure the mode of the port as hybrid. A scheme like that :

Networking Requirements
As shown in Figure, A users and B users connect to the carrier network through Switch LSW0 and Switch LSW1 and communicate with each other through the carrier network.

It is required that packets of A user and B user terminals are tagged VLAN 2 and VLAN 3 when the packets are transmitted through the carrier network.

the configuration are below:

 

LSW2 & LSW3:
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 20
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 20 30
#
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 30
#

LSW0 & LSW1:
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 3
#
interface GigabitEthernet0/0/2
 port link-type hybrid
 qinq vlan-translation enable
 port hybrid untagged vlan 2 to 3
 port vlan-stacking vlan 20 stack-vlan 2
 port vlan-stacking vlan 30 stack-vlan 3
#

 

So in this scheme, port G0/0/2 in LSW0 and LSW1 have to config as hybrid mode to untagged more than one vlan when the packets output from the port.

 

 

  • x
  • convention:

Jay
Created Sep 11, 2012 10:49:43 Helpful(0) Helpful(0)

Reply 5 #

hi, you can have a look at the below scheme.
  • x
  • convention:

user_2296671
Created Jun 18, 2016 06:03:28 Helpful(0) Helpful(0)

赞赞赞!谢谢
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login