国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 祁连县| 都安| 和硕县| 浑源县| 鲜城| 徐闻县| 华池县| 四子王旗| 岑溪市| 龙里县| 宜州市| 祥云县| 河曲县| 筠连县| 库尔勒市| 宣化县| 田林县| 横山县| 阿城市| 博客| 巍山| 义乌市| 方城县| 永泰县| 七台河市| 辽宁省| 尉氏县| 囊谦县| 乐清市| 保康县| 工布江达县| 开平市| 正宁县| 南安市| 夏津县| 岱山县| 铜川市| 江永县| 綦江县| 汉寿县| 江阴市|