查看24口配置信息
4
fNegotiatio
ofTru
ki
g:O
AccessModeVLAN:l(default)Tru
ki
gNativeModeVLAN:l(default)Admi
istrativeprivatevla
hostassociatio
:
o
eAdmi
istrativeprivatevla
mappi
g:
o
eOperatio
alprivatevla
:
o
eTru
ki
gVLANsE
abled:ALLPru
i
gVLANsProtected:falseVoiceVLAN:
o
e(I
active)Applia
cetrust:
o
eE
abled:21001
5将C2950B上的端口划归到相应VLAN中
C2950BCo
figi
tfa01C2950B(co
figif)#switchportmodeaccessC2950B(co
figif)#switchportaccessvla
10C2950B(co
figif)exit设置第1口存取模式,设为VLAN10(静态)
C2950B(co
fig)i
tfa02C2950B(co
figif)#swltchportC2950B(Co
fiif)#exitaccessvla
ll设置第2口存取模式,设为VLAN11(静态)
6在C2950B上查看VTP和VLAN信息
C2950B#shvtpstatus…………查看C2950BVLAN信息,已从C2950A可自动获得查看C2950BVTP信息
C2950Bshvla
…………
7测试连通性
(三)链路聚合(FastEtherCha
el的配置)设备需求(1)2台交换机;(2)4台PC;(3)网线若干。网络拓扑图
Fa024交叉双绞线VLANTru
kC2950AC2950BFa024
Fa023
Fa023
图1配置FastEtherCha
el1手动配置EtherCha
el(1)创建EtherCha
el
5
fC2950A(co
fig)#i
tportcha
el3
(2)将物理端口指定到通道中
C2950A(co
fig)#i
tf023C2950A(co
figif)#cha
elgroup3modeo
C2950A(co
figif)#exitC2950A(co
fig)#i
tf024C2950A(co
figif)#cha
elgroup3modeo
C2950A(co
figif)#exit
(3)在通道上启用Tru
ki
g
C2950A(co
fig)#i
tportcha
el3C2950A(co
figif)#switchportmodetru
kC2950A(co
figif)#Z
(4)监测EtherCha
el状态在C2950B上进行相应的配置。然后监测EtherCha
el状态。
C2950A#showethercha
el3summaryC2950A#showethercha
el3brief
2自动配置EtherCha
el
C2950A(co
fig)#i
tf023C2950A(co
figif)#cha
elgroup2modedesirableC2950A(co
figif)#switchportmodetru
kC2950A(co
figif)#
oshutdow
C2950A(co
figif)#exitC2950A(co
fig)#i
tf024C2950A(co
figif)#cha
elgroup2modedesirableC2950A(co
figif)#
oshutdow
3.取消EtherCha
el(1)分别将端口从EtherCha
el中退出
C2950A(co
fig)#i
tf023C2950A(co
figif)#
ocha
elgroup3modeo
C2950A(co
figif)#exitC2950A(co
fig)#i
tf024C2950A(co
figif)#
ocha
elgroup3modeo
(2)直接取消EtherCha
el
C2950A(co
fig)#
oi
tportcha
el3
以下是锐捷交换机实现链路聚合的配置步骤:1对一台交换机设置aggregate端口
S1co
figuretermi
alco
figureS1co
figi
terfacera
gefastether
et0121i
terfaceS1co
figifra
geportgroup5portportS1co
figifra
geZZS1co
figtco
figS1co
figi
taggregar