本征VLAN是交换中一个不是很容易理解的概念,在网上看了一些文章但也说得不是很清楚,书上也没有多讲.找到CISCO的文档,
所以引用了一下.
今天也做了下NATIVE VLAN的小实验,以便更好的理解.">Native VLAN的作用:在Trunk链路使用802.1Q封装时,用Native VLAN指定哪个VLAN的数据
不用做802.1Q标记,Native VLAN外的其它VLAN数据都会做802.1Q封装的标记.为什么要使用Native VLAN:交换的管理流量以及未指定VLAN的流量,默认使用Native VLAN(默
认为VLAN 1)来传送,这些流量不需要做802.1Q封装.网上一般都是如上来描述Native VLAN,我也如是说,但看了又不是很
明白,所以通过实验一看一下:
autostart = false
[localhost]
port = 7200
udp = 10000
workingdir = d:\lab\3640\
[[3640]]
image = d:\lab\c3640-telco-124-13.bin
idlepc = 0x6100bf2c
ram = 128
confreg = 0x2102
exec_area = 64
mmap = false
# slot1 = NM-16ESW
[[2620]]
image = d:\lab\c2600-i.120-7.bin
ram = 20
confreg = 0x2102
idlepc = 0x802d0b80
exec_area = 64
mmap = false
# [[router TermServ]]
# model=3640
# e0/0 = NIO_gen_eth:\Device\NPF_{1D0AB987-6689-4B46-8AF5-27395AD05B0B}
[[router R1]]
image = d:\lab\c7200-adventerprisek9.124-6.T3.bin #需要带有ip plus特性的IOS,才支持VLAN间路由
idlepc = 0x613503b8
ram = 256
npe = npe-400
confreg = 0x2102
exec_area = 64
mmap = false
f0/0 = SW1 f1/14
[[router SW1]]
model=3640
slot1 = NM-16ESW
f1/15 = SW2 f1/15
[[router SW2]]
model=3640
slot1 = NM-16ESW
[[router PC1]]
model=2620
f0/0 = SW2 f1/1
[[router PC2]]
model=2620
f0/0 = SW2 f1/2
[[router PC3]]
model=2620
f0/0 = SW2 f1/3
[[router PC4]]
model=2620
f0/0 = SW1 f1/4
[[router PC5]]
model=2620
f0/0 = SW1 f1/5
[[router PC6]]
model=2620
f0/0 = SW1 f1/6