> interfaceGigabitEthernet1/0/24
undo negotiation auto
port hybrid untagged vlan 2 /*拆除外层VLAN 标签,此端口类型为hybrid模式。
traffic-policy qinq-t inbound /* 将策略应用到端口
5、与5328互联端口配置
interfaceGigabitEthernet1/0/24
undo negotiation auto
port hybrid untagged vlan 2 /*拆除外层VLAN 标签,此端口类型为hybrid模式。
traffic-policy qinq-t inbound /* 将策略应用到端口
6、5328上联端口配置
interfaceGigabitEthernet0/0/21
port link-type trunk
port trunk allow-pass vlan 88 90
测试IP配置
interfaceVlanif88
ip address 8.8.8.8 255.255.255.0
interfaceVlanif90
ip address 9.9.9.9 255.255.255.0
测试
[Quidway]ping 8.8.8.9
PING 8.8.8.9: 56 data bytes,press CTRL_C to break
Reply from 8.8.8.9: bytes=56 Sequence=1 ttl=255 time=1 ms
Reply from 8.8.8.9: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 8.8.8.9: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 8.8.8.9: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 8.8.8.9: bytes=56 Sequence=5 ttl=255 time=1 ms
---8.8.8.9 ping statistics ---
5packet(s) transmitted
5packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms
[Quidway]ping 9.9.9.10
PING 9.9.9.10: 56 data bytes,press CTRL_C to break
Reply from 9.9.9.10: bytes=56 Sequence=1 ttl=255 time=1 ms
Reply from 9.9.9.10: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 9.9.9.10: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 9.9.9.10: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 9.9.9.10: bytes=56 Sequence=5 ttl=255 time=1 ms
---9.9.9.10 ping statistics ---
5packet(s) transmitted
5packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms