国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

交換機(jī)命令全集

2019-11-05 00:16:28
字體:
供稿:網(wǎng)友
 1.在基于IOS的交換機(jī)上設(shè)置主機(jī)名/系統(tǒng)名:

switch(config)# hostname hostname

在基于CLI的交換機(jī)上設(shè)置主機(jī)名/系統(tǒng)名:

switch(enable) set system name name-string

2.在基于IOS的交換機(jī)上設(shè)置登錄口令:

switch(config)# enable passWord level 1 password

在基于CLI的交換機(jī)上設(shè)置登錄口令:

switch(enable) set password

switch(enable) set enalbepass

3.在基于IOS的交換機(jī)上設(shè)置遠(yuǎn)程訪問:

switch(config)# interface vlan 1

switch(config-if)# ip address ip-address netmask

switch(config-if)# ip default-gateway ip-address

在基于CLI的交換機(jī)上設(shè)置遠(yuǎn)程訪問:

switch(enable) set interface sc0 ip-address netmask broadcast-address

switch(enable) set interface sc0 vlan

switch(enable) set ip route default gateway

4.在基于IOS的交換機(jī)上啟用和瀏覽CDP信息:

switch(config-if)# cdp enable

switch(config-if)# no cdp enable

為了查看Cisco鄰接設(shè)備的CDP通告信息:

switch# show cdp interface [type modle/port]

switch# show cdp neighbors [type module/port] [detail]

在基于CLI的交換機(jī)上啟用和瀏覽CDP信息:

switch(enable) set cdp {enabledisable} module/port

為了查看Cisco鄰接設(shè)備的CDP通告信息:

switch(enable) show cdp neighbors[module/port] [vlanduplexcapabilitiesdetail]

5.基于IOS的交換機(jī)的端口描述:

switch(config-if)# description description-string

基于CLI的交換機(jī)的端口描述:

switch(enable)set port name module/number description-string

6.在基于IOS的交換機(jī)上設(shè)置端口速度:

switch(config-if)# speed{10100auto}

在基于CLI的交換機(jī)上設(shè)置端口速度:

switch(enable) set port speed moudle/number {10100auto}

switch(enable) set port speed moudle/number {416auto}

7.在基于IOS的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式:

switch(config-if)# duplex {autofullhalf}

在基于CLI的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式:

switch(enable) set port duplex module/number {fullhalf}

8.在基于IOS的交換機(jī)上配置靜態(tài)VLAN:

switch# vlan database

switch(vlan)# vlan vlan-num name vla

switch(vlan)# exit

switch# configure teriminal

switch(config)# interface interface module/number

switch(config-if)# switchport mode access

switch(config-if)# switchport access vlan vlan-num

switch(config-if)# end

在基于CLI的交換機(jī)上配置靜態(tài)VLAN:

switch(enable) set vlan vlan-num [name name]

switch(enable) set vlan vlan-num mod-num/port-list

9. 在基于IOS的交換機(jī)上配置VLAN中繼線:

switch(config)# interface interface mod/port

switch(config-if)# switchport mode trunk

switch(config-if)# switchport trunk encapsulation {isldotlq}

switch(config-if)# switchport trunk allowed vlan remove vlan-list

switch(config-if)# switchport trunk allowed vlan add vlan-list

在基于CLI的交換機(jī)上配置VLAN中繼線:

switch(enable) set trunk module/port [onoffdesirableautononegotiate]


發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 和静县| 阳原县| 德清县| 类乌齐县| 鄂州市| 昆山市| 曲阳县| 甘孜县| 固始县| 怀来县| 巴里| 蒙阴县| 吴堡县| 武宁县| 化州市| 崇州市| 收藏| 旬阳县| 洛宁县| 三门县| 长岭县| 油尖旺区| 弥渡县| 马鞍山市| 襄汾县| 秭归县| 昌吉市| 金平| 米易县| 甘洛县| 博湖县| 钟山县| 西林县| 桑植县| 松溪县| 兰坪| 宁陵县| 浪卡子县| 锦州市| 烟台市| 郧西县|