星期四, 十一月 23, 2006

Svlan QinQ配置

QinQ配置

一、组网图




二、配置介绍

12926V的配置如下:

enable
configure terminal
![VLAN]
interface range ethernet 0/1
switchport mode trunk
exit
vlan 2
switchport ethernet 0/1 to ethernet 0/2
![DEVICE]
interface ethernet 0/2
switchport access vlan 2
no tag vlan 4016
exit
dtag style dot1q-in-dot1q
interface ethernet 0/2
dtag mode customer
exit


2Switch的配置

只需要配置vlan 10并且能够透传vlan10就可以。

三、结果介绍

pc-B发送ping 某个地址,这样就会发送arp广播请求。

pc-B抓报,抓取的报文如下:

以上报文需要ethereal软件打开。

报文的截图如下:



从截图我们可以看到内层tag id 10和外层tag id 2

没有评论: