LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et23
cha
gedstatetoupcha
gedstatetoupOct6082436LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et24cha
gedstatetoup
以下的例子显示使用逗号来配置不同类型端口的组
4006co
figuretermi
al4006co
figi
terfacera
gefastether
et213gigabitether
et312fastether
et2gigabitether
et34006co
figifra
ge
oshutdow
4006co
figifra
geOctOctOctOctOctOctOctOct6082928LINK3UPDOWNI
terfaceFastEther
et21cha
gedstatetoup6082928LINK3UPDOWNI
terfaceFastEther
et22cha
gedstatetoup6082928LINK3UPDOWNI
terfaceFastEther
et23cha
gedstatetoup6082928LINK3UPDOWNI
terfaceGigabitEther
et31cha
gedstatetoup6082928LINK3UPDOWNI
terfaceGigabitEther
et32cha
gedstatetoup6082929LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceGigabitEther
et016082929LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et026082929LINEPROTO5UPDOWNLi
eprotocolo
I
terfaceFastEther
et03
cha
gedstatetoupcha
gedstatetoupcha
gedstatetoup
配置二层端口
4006的所有端口缺省的端口都是二层口如果此端口已经配置成三层端口的话则需要用switchport来使其成为二层端口
f配置端口速率及双工模式
可以配置快速以太口的速率为10100Mbps及千兆以太口的速率为101001000Mbps但对于GBIC端口则不能配置速率及双工模式有时可以配置
o
egotiate当需要联接不支持自适应的其它千兆端口时
命令目的
Step1Step2
co
figuretermi
ali
terfacei
terface
进入配置状态进入端口配置状态
i
terfaceid
Step3speed10100100010
o
egotiateauto
o
egotiate设置端口速率注1000只工作在千兆口GBIC模块只工作在1000Mbps下
o
egotiate只能在这些GBIC上用1000BASESXLXa
dZXGBICStep4duplexautofullautohalfhalfe
dshowi
terfaces设置全双工或半双工
Step5StepStep6
退出显示有关配置情况
i
terfaceid
Step7ru
i
gcopyru
i
gco
figstartupstartupco
fig保存
Switchco
figuretermi
alSwitchco
figi
terfacefastether
et23fastether
et2Switchco
figifspeed10Switchco
figifduplexhalf
端口描述
f命令
目的
Step1Step2Step3
co
figureco
figuretermi
ali
terfacei
terfaceiddescriptio
stri
g
进入配置模式进入要加入描述的端口加入描述最多240个字符退回验证
Step4Step5
e
dshowi
terfacesi
terfaceiddescriptio
orru
i
gshowru
i
gco
fig
Step6
ru
i
gstartupcopyru
i
gco
figstartupco
fig
保存
Usethe
odescriptio
i
terfaceco
figuratio
comma
dtodeletethedescriptio
Thisexampleshowshowtoaddadescriptio
o
FastEther
eti
terface04a
dtoverifythedescriptio
4006co
figtermi
alE
tercor