cha
gedstatetoupOct6082928LINK3UPDOWNI
terfaceGigabitEther
et02cha
gedstatetoupOct6082929LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceGigabitEther
et01cha
gedstatetoupOct6082929LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et02cha
gedstatetoupOct6082929LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et03cha
gedstatetoup
32配置二层端口
2950的所有端口缺省的端口都是二层口,如果此端口已经配置成三层端口的话,则需要用switchport来使其成为二层端口。
f321配置端口速率及双工模式
3211可以配置快速以太口的速率为10100Mbps及千兆以太口的速率为101001000Mbps但对于GBIC端口则不能配置速率及双工模式,有时可以配置
o
egotiate当需要联接不支持自适应的其它千兆端口时
Step1Step2Step3
Step4Step5Step6Step7
命令
目的
co
figuretermi
al进入配置状态
i
terfacei
terfaceid
进入端口配置状态
speed101001000auto
o
egotiate
设置端口速率
注
1000只工作在千兆口GBIC
模块只工作在1000Mbps下
o
egotiate只能在这些GBIC上用
1000BASESXLXa
dZXGBIC
duplexautofull设置全双工或半双工half
e
d
退出
showi
terfacesi
terfaceid
显示有关配置情况
copyru
i
gco
figstartupco
fig
保存
Switchco
figuretermi
alSwitchco
figi
terfacefastether
et03Switchco
figifspeed10Switchco
figifduplexhalf
f322端口描述
Step1Step2Step3Step4Step5
Step6
命令
目的
co
figuretermi
al
进入配置模式
i
terfacei
terfaceid
进入要加入描述的端口
descriptio
stri
g
加入描述最多240个字符
e
d
退回
showi
terfacesi
terfaceiddescriptio
or
showru
i
gco
fig
验证
copyru
i
gco
figstartupco
fig保存
Usethe
odescriptio
i
terfaceco
figuratio
comma
dtodeletethedescriptio
Thisexampleshowshowtoaddadescriptio
o
FastEther
eti
terface04a
dtoverifythedescriptio
Switchco
figtermi
al
E
terco
figuratio
comma
dso
eperli
eE
dwithCNTLZSwitchco
figi
terfacefastether
et04
Switchco
figifdescriptio
Co
ectstoMarketi
g
Switchco
figife
d
Switchshowi
terfacesfastether
et04descriptio
fI
terfaceStatusFa04up
ProtocolDescriptio
dow
Co
ectstoMarketi
g
33监控及维护端口
331监控端口和控制器的状态
主要命令见下表:
ShowComma
dsforI
terfacesComma
d
目的
showi
terfacesi
terfaceid
显示所有端口或某一端口的状态和配置
showi
terfacesi
terfaceidstatus显示一系列端口的状态或错误-关闭
errdisabled
的状态
showi
terfacesi
terfaceidswitchport
显示二层端口的状态,可以用来决定此口是否为二层或三层口。
showi
terfacesi
terfaceiddescriptio
显示端口描述
showru
r