本帖最后由 Jeff. 于 2012-7-10 14:14 编辑
解决方案:
问题1.走2层的 叫端到端 走3层的叫本地vlan 问题:本地vlan是指什么?不是同一个vlan-id的叫本地吗?
//Local VLAN,指的是在本配线间或者小范围有意义,这个从设计的角度来说,和你说的Native VLAN不是一个概念。
问题2:从trunk口不打标签的方法:sw mo trunk native vlan-id 这样做可以节省cpu 内存消耗 问题:既然如此,为什么只能打一个标签,不能大多几个吗?打标签一般用于什么场合?
//点对点的trunk上打一个VLAN TAG。可以打双重标签的,这个在城域网上用来透传用户的VLAN,这个技术叫QinQ技术。
问题3:关于802.1q 的 tunneling 问题:双重标签用于什么场合?
//问题2已经解释了。
问题4:vtp发送的二层多播地址是什么,其工作原理是什么?
//VTP是思科私有的协议,发送VTP通告的组播地址是:0100.0ccc.cccc,工作原理在视频有讲解。
问题5:关于mac地址 每一台交换机每一个端口都有一个mac地址 但是sh spanning-tree 时 Bridge ID(本地交换机)只有一个mac地址 交换机的mac地址是哪里来的 不是只是端口有吗?
//show version可以看到背板MAC地址,这个地址就用来做STP的选举用的:
FuZhou-Rack113>exit
(You have open connections) [confirm]
Closing: sw1 !
--------------------------------------------------------------------------
. .
| |
||| |||
.|| ||. .|| ||.
.:||| | |||:..:||| | |||:.
S P O T O C C I E L A B
--------------------------------------------------------------------------
User Access Verification
Username: fanjh
Password:
FuZhou-Rack113>sw1
Trying sw1 (2.2.2.2, 2009)... Open
--------------------------------------------------------------------------
. .
| |
||| |||
.|| ||. .|| ||.
.:||| | |||:..:||| | |||:.
S P O T O C C I E L A B
--------------------------------------------------------------------------
Switch>en
Switch#sh ver
Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(52)SE, RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 25-Sep-09 08:13 by sasyamal
Image text-base: 0x01000000, data-base: 0x02E00000
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)
Switch uptime is 14 minutes
System returned to ROM by power-on
System image file is "flash:/c3560-ipservicesk9-mz.122-52.SE.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C3560-24TS (PowerPC405) processor (revision D0) with 131072K bytes of memory.
Processor board ID CAT1042ZKA9
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:19:E7:A0:DF:00
Motherboard assembly number : 73-9897-06
Power supply part number : 341-0097-02
Motherboard serial number : CAT104252N8
Power supply serial number : DCA103980PG
Model revision number : D0
Motherboard revision number : A0
Model number : WS-C3560-24TS-S
System serial number : CAT1042ZKA9
Top Assembly Part Number : 800-26160-02
Top Assembly Revision Number : C0
Version ID : V02
CLEI Code Number : COMMG00ARB
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C3560-24TS 12.2(52)SE C3560-IPSERVICESK9-M
|