日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

配置cisco2950交換機(jī)的端口

配置一組端口命令
目的
Step;1;
configure terminal
進(jìn)入配置狀態(tài)
Step;2;
interface range {port-range}
進(jìn)入組配置狀態(tài)
Step;3;
可以使用平時(shí)的端口配置命令進(jìn)行配置
Step;4;
end
退回
Step;5;
show interfaces [interface-id]
驗(yàn)證配置
Step;6;
copy running-config startup-config
保存
當(dāng)使用interface range命令時(shí)有如下的規(guī)則:
有效的組范圍:vlan從1 到4094 fastethernet 槽位/{first port} - {last port}, 槽位為0gigabitethernet槽位/{first port} - {last port},槽位為0port-channel port-channel-number - port-channel-number, port-channel號(hào)從1到64端口號(hào)之間需要加入空格 , 如:interface range fastethernet 0/1;–;5 是有效的 , 而interface range fastethernet 0/1-5 是無(wú)效的.interface range 命令只能配置已經(jīng)存在的interface vlan所有在同一組的端口必須是相同類別的 。見(jiàn)以下例子:
Switch# configure terminalSwitch(config)# interface range fastethernet0/1 - 5 Switch(config-if-range)# no shutdown Switch(config-if-range)#以下的例子顯示使用句號(hào)來(lái)配置不同類型端口的組:Switch# configure terminalSwitch(config)# interface range fastethernet0/1 - 3, gigabitethernet0/1 - 2 Switch(config-if-range)# no shutdown Switch(config-if-range)#配置二層端口2950的所有端口缺省的端口都是二層口 , 假如此端口已經(jīng)配置成三層端口的話 , 則需要用switchport來(lái)使其成為二層端口 。
配置端口速率及雙工模式可以配置快速以太口的速率為10/100Mbps及千兆以太口的速率為10/100/1000-Mbps; 但對(duì)于GBIC端口則不能配置速率及雙工模式 , 有時(shí)可以配置nonegotiate,當(dāng)需要聯(lián)接不支持自適應(yīng)的其它千兆端口時(shí)
命令
目的
Step;1;
configure terminal
進(jìn)入配置狀態(tài).
Step;2;
【配置cisco2950交換機(jī)的端口】interface interface-id
進(jìn)入端口配置狀態(tài).
Step;3;
speed {101001000autononegotiate}
設(shè)置端口速率
注1000 只工作在千兆口. GBIC模塊只工作在1000 Mbps下. nonegotiate 只能在這些GBIC上用 1000BASE-SX, -LX, and -ZX GBIC.
Step;4;
duplex {autofullhalf}
設(shè)置全雙工或半雙工.
Step;5;
end
退出
Step;6;
show interfaces interface-id
顯示有關(guān)配置情況
Step;7;
copy running-config startup-config
保存
Switch# configure terminalSwitch(config)# interface fastethernet0/3Switch(config-if)# speed 10Switch(config-if)# duplex half端口描述 命令
目的
Step;1;
configure terminal
進(jìn)入配置模式
Step;2;
interface interface-id
進(jìn)入要加入描述的端口
Step;3;
description string
加入描述 (最多240個(gè)字符).
Step;4;
end
退回.
Step;5;
show interfaces interface-id description
or
show running-config
驗(yàn)證.
Step;6;
copy running-config startup-config
保存
Use the no description interface configuration command to delete the description.
This example shows how to add a description on Fast Ethernet interface 0/4 and to verify the description:
Switch# config terminalEnter configuration commands, one per line.; End with CNTL/Z.Switch(config)# interface fastethernet0/4Switch(config-if)# description Connects to MarketingSwitch(config-if)# endSwitch# show interfaces fastethernet0/4 descriptionInterface Status Protocol DescriptionFa0/4;;up;;down;;Connects to Marketing監(jiān)控及維護(hù)端口監(jiān)控端口和控制器的狀態(tài)
主要命令見(jiàn)下表:
Show Commands for Interfaces Command
目的
show interfaces [interface-id]
顯示所有端口或某一端口的狀態(tài)和配置.
show interfaces interface-id status [err-disabled]
顯示一系列端口的狀態(tài)或錯(cuò)誤-關(guān)閉的狀態(tài)

推薦閱讀