- 论坛徽章:
- 0
|
配置VLAN中继:
目的:在一条链路上支持多个VLAN复用
Switch#conf t
Switch(config)#interface fa 0/1
Switch(config-if)#switch mode truck
Switch(config-if)#switch truck encapsulation dot1q
Switch(config-if)#end
配置VLAN中继协议(VTP):
目的:保持整个网络中维持VLAN的信息不变,是一种消息协议,负责管理VLAN的添加、删除和重命名,通过VTP server完成
Switch#conf t
Switch(config)#vtp version 2
Switch(config)#vtp mode server
Switch(config)#vtp domain cisco
Switch(config)#vtp password mypassword
或者
Switch#vlan database
Switch(vlan)#vtp v2-mode
Switch(vlan)#vtp server
Switch(vlan)#vtp domain cisco
Switch(vlan)#vtp password mypassword
查看vtp信息
Switch#show vtp status
生成树协议(STP):
目的:用算法发现网络中的物理环路并产生一个逻辑上的无环拓扑
IEEE 802.1d定义了STP所使用的生成树算法
算法依赖于:BID(网桥ID,取决于交换机MAC地址)、路径开销、端口ID参数
802.1w快速STP状态
STP配置过程....
配置以太网通道:
配置中继的时候,必须是channel-group和port本身都为中继
最多可以8条路径聚合
有两种配置entherchannel的方式:PAgP(cisco);LACP(802.3ad)
Channel-group配置过程
Switch(config)#interface fastethernet ..
Switch(config-if)#channel-group 1 mode desirable
Switch#show channel-group 1 summary
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17661/showart_338695.html |
|