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