如上图,要将CE-c的vlan 20 通过P网络传输到CE-a ,大大网中使用vlan为1000
只要在PE端配置相关数据即可,CE端无需操作可以是hybird 或者trunk都可以
华三5500配置
interface Ten-GigabitEthernet1/2/1
port link-mode bridge
description nbdx
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 77 88 91 to 93 100 111 to 112 122 260 tagged
port hybrid vlan 1000 untagged
qinq enable
qinq vid 1000
raw-vlan-id inbound 20 99 2403
华为9300配置
interface Eth-Trunk60
undo port hybrid vlan 1
port hybrid tagged vlan 99 244 to 246 251 271 273 986 1002 4001
port hybrid untagged vlan 1000
port vlan-stacking vlan 20 stack-vlan 1000
port vlan-stacking vlan 99 stack-vlan 1000
port vlan-stacking vlan 2403 stack-vlan 1000
转载于:https://blog.51cto.com/lihongweibj/1750609