拓扑图
配置
开启LLDP功能,查看是否能通过QinQ隧道透传
sysname AR1
#
lldp enable
#
interface GigabitEthernet0/0/0.10dot1q termination vid 10ip address 12.1.1.1 255.255.255.0 arp broadcast enable
#
sysname AR2
#
lldp enable
#
interface GigabitEthernet0/0/0.10dot1q termination vid 10ip address 12.1.1.2 255.255.255.0 arp broadcast enable
#
开启二层协议透传LLDP,查看AR1与AR2是否能通过QinQ隧道发现对方(模拟器无法观察到现象)
sysname SW1
#
vlan batch 100
#
interface GigabitEthernet0/0/1port link-type dot1q-tunnelport default vlan 100l2protocol-tunnel lldp enable
#
interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 2 to 4094
#
sysname SW2
#
vlan batch 100
#
interface GigabitEthernet0/0/1port link-type dot1q-tunnelport default vlan 100l2protocol-tunnel lldp enable
#
interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 2 to 4094
#
结果查看
AR1 ping AR2,可以ping通
在SW2的G0/0/2口抓包,可看到两层VLAN tag