Got it

How configure IP address on C-VLAN?

Created: Sep 14, 2021 15:00:18Latest reply: Sep 15, 2021 13:54:19 526 4 0 0 0
  Rewarded HiCoins: 5 (problem resolved)

Hi,


Is it possible to configure an IP address on a C-VLANIF on Huawei S6730?


CVLAN


I'm trying to do this test (to troubleshoot communication between PE and CE)

But I didn't find how to configure the IP address 10.0.0.1/30 on the VLANIF 2000, that's encapsulated in VLANIF (SVLAN) 1000


Any ideas about this scenario?


Thanks

Featured Answers

Recommended answer

chenhui
Admin Created Sep 15, 2021 01:34:33

Hi @ptomasi

Yes, it's possible to configure that.

Actually, the obstacle of your question is how to configure the switch to interconnect the same network segment IP addresses in different VLANs.

Please refer to the configuration below:

### CE ###

#

interface GigabitEthernet0/0/1

port hybrid pvid vlan 2000

port hybrid tagged vlan 2000

#

interface Vlanif2000

ip address 10.1.1.2 255.255.255.252

#


### PE ###

#

interface GigabitEthernet0/0/1

port hybrid tagged vlan 1000

#

interface Vlanif1000

ip address 10.1.1.1 255.255.255.252

#


### Stacking Switch ###

#

interface GigabitEthernet0/0/1 //Connect to PE

port hybrid tagged vlan 1000

#

interface GigabitEthernet0/0/2 //Connect to CE

qinq vlan-translation enable

port hybrid tagged vlan 2000

port hybrid untagged vlan 1000

port vlan-stacking vlan 2000 stack-vlan 1000

#


View more
  • x
  • convention:

All Answers
Dear, we are working on it.
View more
  • x
  • convention:

Hi@ptomasi,

Can you send your configuration information?
View more
  • x
  • convention:

Hi @ptomasi

Yes, it's possible to configure that.

Actually, the obstacle of your question is how to configure the switch to interconnect the same network segment IP addresses in different VLANs.

Please refer to the configuration below:

### CE ###

#

interface GigabitEthernet0/0/1

port hybrid pvid vlan 2000

port hybrid tagged vlan 2000

#

interface Vlanif2000

ip address 10.1.1.2 255.255.255.252

#


### PE ###

#

interface GigabitEthernet0/0/1

port hybrid tagged vlan 1000

#

interface Vlanif1000

ip address 10.1.1.1 255.255.255.252

#


### Stacking Switch ###

#

interface GigabitEthernet0/0/1 //Connect to PE

port hybrid tagged vlan 1000

#

interface GigabitEthernet0/0/2 //Connect to CE

qinq vlan-translation enable

port hybrid tagged vlan 2000

port hybrid untagged vlan 1000

port vlan-stacking vlan 2000 stack-vlan 1000

#


View more
  • x
  • convention:

Hi,

Thank you for your suggestion.

The stacking switch is not a Huawei device, but it's configured to do this:

CE side: access interface + QinQ
CE ingress: accept any CVLAN from customer and stack SVLAN 1000 on it
CE egress: remove SVLAN 1000 and deliver any CVLAN to customer

PE side: trunk interface
PE ingress: accept any traffic with SVLAN 1000
PE egress: deliver any traffic with SVLAN 1000

By now, I'm only troubleshooting connection between PE x CE.

After the troubleshooting I'll add the SVLAN to a VPWS service, to allow customer a transparent tagged transport of any CVLAN.


My aim was to do the troubleshooting at the PE side, maybe a way to add an IP address on CVLAN 2000 in PE, without any changes in stacking switch.

After a lot of search I found this article:

https://support.huawei.com/enterprise/en/doc/EDOC1000178168/d21a221/example-for-configuring-qinq-stacking-on-a-vlanif-interface

Maybe the solution to this demand

Thank you

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.